Console Output
Branch indexing
Looking up repository moparisthebest/kiss-xmpp
Querying the current revision of branch task/xmpp-rs-tcp...
Current revision of branch task/xmpp-rs-tcp is c73517e261d1e66b03fb7b676698a626c4c15324
Obtained .ci/Jenkinsfile from c73517e261d1e66b03fb7b676698a626c4c15324
[Pipeline] Start of Pipeline
[Pipeline] properties
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘Jenkins’
Running on Jenkins in /var/lib/jenkins/workspace/ebest_kiss-xmpp_task_xmpp-rs-tcp
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] echo
My branch is: task/xmpp-rs-tcp
[Pipeline] checkout
The recommended git tool is: NONE
using credential c6ea0d71-5fe1-48ba-ad49-f6dd0c20363a
Cloning the remote Git repository
Cloning repository https://code.moparisthebest.com/moparisthebest/kiss-xmpp.git
> git init /var/lib/jenkins/workspace/ebest_kiss-xmpp_task_xmpp-rs-tcp # timeout=10
Fetching upstream changes from https://code.moparisthebest.com/moparisthebest/kiss-xmpp.git
> git --version # timeout=10
> git --version # 'git version 2.42.0'
using GIT_ASKPASS to set credentials jenkins @ code.moparisthebest.com
> git fetch --tags --force --progress -- https://code.moparisthebest.com/moparisthebest/kiss-xmpp.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://code.moparisthebest.com/moparisthebest/kiss-xmpp.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/task/xmpp-rs-tcp^{commit} # timeout=10
Checking out Revision c73517e261d1e66b03fb7b676698a626c4c15324 (refs/remotes/origin/task/xmpp-rs-tcp)
> git config core.sparsecheckout # timeout=10
> git checkout -f c73517e261d1e66b03fb7b676698a626c4c15324 # timeout=10
Commit message: "POC that connects to TCP localhost through changed tokio-xmpp"
First time build. Skipping changelog.
[Gitea] Notifying branch build status: PENDING Build started...
[Gitea] Notified
[Pipeline] sh
+ set -euxo pipefail
+ git checkout task/xmpp-rs-tcp --
Switched to a new branch 'task/xmpp-rs-tcp'
branch 'task/xmpp-rs-tcp' set up to track 'origin/task/xmpp-rs-tcp'.
+ git reset --hard origin/task/xmpp-rs-tcp
HEAD is now at c73517e POC that connects to TCP localhost through changed tokio-xmpp
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build + Deploy)
[Pipeline] sh
+ mkdir -p release
+ cp kiss-xmpp.toml release
+ curl --compressed -sL https://code.moparisthebest.com/moparisthebest/self-ci/raw/branch/master/build-ci.sh
+ bash
build-ci.sh: BUILD_LANG=rust RELEASE_SCRIPT=.ci/release.sh BUILD_SCRIPT=.ci/build.sh remaining args:
+ mkdir -p bin
+ cd bin
+ curl --compressed -sL -O https://code.moparisthebest.com/moparisthebest/self-ci/raw/branch/master/ci-release-helper.sh -O https://code.moparisthebest.com/moparisthebest/self-ci/raw/branch/master/rust/build.sh
+ chmod +x ci-release-helper.sh build.sh
+ cd ..
++ pwd
+ export PATH=/var/lib/jenkins/workspace/ebest_kiss-xmpp_task_xmpp-rs-tcp/bin:/var/lib/jenkins/.cargo/bin:/var/lib/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ PATH=/var/lib/jenkins/workspace/ebest_kiss-xmpp_task_xmpp-rs-tcp/bin:/var/lib/jenkins/.cargo/bin:/var/lib/jenkins/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
+ export BRANCH_NAME=task/xmpp-rs-tcp
+ BRANCH_NAME=task/xmpp-rs-tcp
+ export BUILD_UID=971
+ BUILD_UID=971
++ id -g
+ export BUILD_GID=971
+ BUILD_GID=971
+ build.sh .ci/build.sh
+ echo 'starting build for TARGET x86_64-unknown-linux-musl'
starting build for TARGET x86_64-unknown-linux-musl
+ export CRATE_NAME=kiss-xmpp
+ CRATE_NAME=kiss-xmpp
+ SUFFIX=
+ echo x86_64-unknown-linux-musl
+ grep -E '^x86_64-pc-windows-gnu$'
+ cross build --target x86_64-unknown-linux-musl --release
Trying to pull ghcr.io/cross-rs/x86_64-unknown-linux-musl:main...
Getting image source signatures
Copying blob sha256:cb2a084d95757a5b24d327374644359e6c9e486d8147e7165f0c4cde92c2894e
Copying blob sha256:527f5363b98e562da03d2e0bbf86fd7c34f487bffd9b27a3cf0a9afea2f0ee1f
Copying blob sha256:a225ff7d629b4e7fee8838125662dc8eea1f9c47592857198c45de820cb73983
Copying blob sha256:a82a448efff55078a94265827fcd4e9d42853be4a25243d1ea1791272869ffb8
Copying blob sha256:784d6fc9388317e09779cf6c1838d44090d9993651326ed584a2cbc3edc3e011
Copying blob sha256:a94243dbb9a69b98b9fb72a05221010454f930f4990875925e53213fac511136
Copying blob sha256:4e9299ac0941fd7fb46aee57e1e615182fc8136d7212092402b0542b4a8c2ec9
Copying blob sha256:b5df451e2c0ffd18fa7783ee731b2ed3eacd4a2736d5e8f6872c5d9e83493a9f
Copying blob sha256:d7d37e88543fde4bafde7382397d5e31874cba0b9ebbe678e25c9e11032d18fa
Copying blob sha256:0c8fe2506c87824516b77524a9a56e8e611aca96c8f08ff43fc462e0a1c15fed
Copying blob sha256:72e460b8fbfe47b9ea0fb76d8d8c5f6bd1bb4473b008191d44706d46ba9c9193
Copying blob sha256:fe24ffec0b85c1c13d861c0b952675c644898b52230dd2c06ef8f678773e3b32
Copying blob sha256:7d10d6836f176e7f5b3341da66a7800081e4a61acc9771633d629f1b79182bad
Copying blob sha256:522798039fc4848652d5d3107ea110c36ddc762b6ef9e4f26f6d3fd295a8048d
Copying blob sha256:08daebe0bec76e25db463ccc1776cd4702bf2d6f87b651dd3e1d5d87dac1f741
Copying config sha256:c37159cf7ae107c59c7ab1044ccb2683ba6d0f5b4ee363f7af47f6342230e969
Writing manifest to image destination
Compiling proc-macro2 v1.0.71
Compiling unicode-ident v1.0.12
Compiling libc v0.2.151
Compiling autocfg v1.1.0
Compiling version_check v0.9.4
Compiling cfg-if v1.0.0
Compiling typenum v1.17.0
Compiling generic-array v0.14.7
Compiling pin-project-lite v0.2.13
Compiling memchr v2.7.1
Compiling quote v1.0.33
Compiling syn v2.0.43
Compiling getrandom v0.2.11
Compiling socket2 v0.5.5
Compiling block-buffer v0.10.4
Compiling crypto-common v0.1.6
Compiling mio v0.8.10
Compiling num_cpus v1.16.0
Compiling bytes v1.5.0
Compiling tinyvec_macros v0.1.1
Compiling subtle v2.5.0
Compiling digest v0.10.7
Compiling tinyvec v1.6.0
Compiling futures-core v0.3.30
Compiling unicode-bidi v0.3.14
Compiling cc v1.0.83
Compiling unicode-normalization v0.1.22
Compiling slab v0.4.9
Compiling futures-sink v0.3.30
Compiling smartstring v1.0.1
Compiling ring v0.17.7
Compiling futures-channel v0.3.30
Compiling untrusted v0.9.0
Compiling once_cell v1.19.0
Compiling static_assertions v1.1.0
Compiling spin v0.9.8
Compiling cpufeatures v0.2.11
Compiling futures-task v0.3.30
Compiling serde v1.0.193
Compiling tokio-macros v2.2.0
Compiling futures-macro v0.3.30
Compiling pin-utils v0.1.0
Compiling futures-io v0.3.30
Compiling tracing-attributes v0.1.27
Compiling tokio v1.35.1
Compiling futures-util v0.3.30
Compiling serde_derive v1.0.193
Compiling tracing-core v0.1.32
Compiling rand_core v0.6.4
Compiling num-traits v0.2.17
Compiling lock_api v0.4.11
Compiling thiserror v1.0.52
Compiling ppv-lite86 v0.2.17
Compiling rxml_validation v0.9.1
Compiling parking_lot_core v0.9.9
Compiling async-trait v0.1.75
Compiling percent-encoding v2.3.1
Compiling form_urlencoded v1.2.1
Compiling rand_chacha v0.3.1
Compiling rxml v0.9.1
Compiling tracing v0.1.40
Compiling thiserror-impl v1.0.52
Compiling idna v0.5.0
Compiling match_cfg v0.1.0
Compiling rustix v0.38.28
Compiling rustls v0.21.10
Compiling scopeguard v1.2.0
Compiling log v0.4.20
Compiling smallvec v1.11.2
Compiling finl_unicode v1.2.0
Compiling heck v0.4.1
Compiling enum-as-inner v0.6.0
Compiling stringprep v0.1.4
Compiling url v2.5.0
Compiling hostname v0.3.1
Compiling rustls-webpki v0.101.7
Compiling sct v0.7.1
Compiling minidom v0.15.2 (https://gitlab.com/moparisthebest/xmpp-rs?branch=task/async-client-any-stream#bb3dd191)
Compiling rand v0.8.5
Compiling sha2 v0.10.8
Compiling idna v0.4.0
Compiling aho-corasick v1.1.2
Compiling regex-syntax v0.8.2
Compiling equivalent v1.0.1
Compiling bitflags v2.4.1
Compiling hashbrown v0.14.3
Compiling linux-raw-sys v0.4.12
Compiling ipnet v2.9.0
Compiling quick-error v1.2.3
Compiling linked-hash-map v0.5.6
Compiling data-encoding v2.5.0
Compiling keccak v0.1.4
Compiling base64 v0.21.5
Compiling sha3 v0.10.8
Compiling hickory-proto v0.24.0
Compiling lru-cache v0.1.2
Compiling resolv-conf v0.7.0
Compiling indexmap v2.1.0
Compiling regex-automata v0.4.3
Compiling jid v0.10.0 (https://gitlab.com/moparisthebest/xmpp-rs?branch=task/async-client-any-stream#bb3dd191)
Compiling chrono v0.4.31
Compiling parking_lot v0.12.1
Compiling serde_spanned v0.6.5
Compiling toml_datetime v0.6.5
Compiling futures-executor v0.3.30
Compiling sha-1 v0.10.1
Compiling sha1 v0.10.6
Compiling pbkdf2 v0.12.2
Compiling blake2 v0.10.6
Compiling hmac v0.12.1
Compiling winnow v0.5.31
Compiling option-ext v0.2.0
Compiling anyhow v1.0.77
Compiling dirs-sys v0.4.1
Compiling sasl v0.5.1 (https://gitlab.com/moparisthebest/xmpp-rs?branch=task/async-client-any-stream#bb3dd191)
Compiling toml_edit v0.21.0
Compiling xmpp-parsers v0.20.0 (https://gitlab.com/moparisthebest/xmpp-rs?branch=task/async-client-any-stream#bb3dd191)
Compiling futures v0.3.30
Compiling hickory-resolver v0.24.0
Compiling tokio-rustls v0.24.1
Compiling regex v1.10.2
Compiling is-terminal v0.4.10
Compiling tokio-util v0.7.10
Compiling tokio-stream v0.1.14
Compiling humantime v2.1.0
Compiling webpki-roots v0.25.3
Compiling termcolor v1.4.0
Compiling env_logger v0.10.1
Compiling tokio-xmpp v3.5.0 (https://gitlab.com/moparisthebest/xmpp-rs?branch=task/async-client-any-stream#bb3dd191)
error[E0562]: `impl Trait` only allowed in function and inherent method return types, not in trait method return types
--> /var/lib/jenkins/.cargo/git/checkouts/xmpp-rs-fe74499f5b3ec281/bb3dd19/tokio-xmpp/src/client/async_client.rs:48:10
|
48 | ) -> impl std::future::Future<Output = Result<XMPPStream, Error>> + Send;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
error[E0706]: functions in traits cannot be declared `async`
--> /var/lib/jenkins/.cargo/git/checkouts/xmpp-rs-fe74499f5b3ec281/bb3dd19/tokio-xmpp/src/client/async_client.rs:67:5
|
67 | async fn connect(&self, jid: &Jid) -> Result<XMPPStream, Error> {
| -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| `async` because of this
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
Compiling toml v0.8.8
Some errors have detailed explanations: E0562, E0706.
For more information about an error, try `rustc --explain E0562`.
error: could not compile `tokio-xmpp` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Email)
[Pipeline] step
Sending e-mails to: admin.jenkins@moparisthebest.com
[Pipeline] }
[Pipeline] // stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
[Gitea] Notifying branch build status: FAILURE There was a failure building this commit
[Gitea] Notified
Finished: FAILURE