[INFO] cloning repository https://github.com/morgenm/xrumpp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/morgenm/xrumpp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorgenm%2Fxrumpp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorgenm%2Fxrumpp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c0a46f516bc3fcec992901130a237eb1a08f7fb [INFO] checking morgenm/xrumpp against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorgenm%2Fxrumpp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/morgenm/xrumpp on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/morgenm/xrumpp [INFO] finished tweaking git repo https://github.com/morgenm/xrumpp [INFO] tweaked toml for git repo https://github.com/morgenm/xrumpp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/morgenm/xrumpp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_tools_util v0.2.0 [INFO] [stderr] Downloaded notify-rust v4.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ada7bb6f0deb3f026ce06acf70d011dec17776a874842ef1bc0d649dcd243fc [INFO] running `Command { std: "docker" "start" "-a" "5ada7bb6f0deb3f026ce06acf70d011dec17776a874842ef1bc0d649dcd243fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ada7bb6f0deb3f026ce06acf70d011dec17776a874842ef1bc0d649dcd243fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ada7bb6f0deb3f026ce06acf70d011dec17776a874842ef1bc0d649dcd243fc", kill_on_drop: false }` [INFO] [stdout] 5ada7bb6f0deb3f026ce06acf70d011dec17776a874842ef1bc0d649dcd243fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ecdf907c6af3f23d466dbdda047294a90124d50058f650d6f1968b3ab75f739 [INFO] running `Command { std: "docker" "start" "-a" "5ecdf907c6af3f23d466dbdda047294a90124d50058f650d6f1968b3ab75f739", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking libtiny_common v0.1.0 (/opt/rustwide/workdir/crates/libtiny_common) [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking libtiny_wire v0.1.0 (/opt/rustwide/workdir/crates/libtiny_wire) [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling libstrophe-sys v0.1.0 (/opt/rustwide/workdir/crates/libstrophe-sys) [INFO] [stderr] Compiling rustc_tools_util v0.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking termbox_simple v0.2.3 (/opt/rustwide/workdir/crates/termbox) [INFO] [stderr] Checking rustls-native-certs v0.6.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/termbox/src/lib.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let mut front_cell = &mut self.front_buffer.cells [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/termbox/src/lib.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut cell = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tiny v0.10.0 (/opt/rustwide/workdir/crates/tiny) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking libtiny_logger v0.1.0 (/opt/rustwide/workdir/crates/libtiny_logger) [INFO] [stderr] Checking clap v3.1.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | &(*(::std::ptr::null::())).__clang_max_align_nonce1 as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | &(*(::std::ptr::null::())).__clang_max_align_nonce2 as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | unsafe { &(*(::std::ptr::null::<_xmpp_mem_t>())).alloc as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | unsafe { &(*(::std::ptr::null::<_xmpp_mem_t>())).free as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { &(*(::std::ptr::null::<_xmpp_mem_t>())).realloc as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | unsafe { &(*(::std::ptr::null::<_xmpp_mem_t>())).userdata as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | unsafe { &(*(::std::ptr::null::<_xmpp_log_t>())).handler as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | unsafe { &(*(::std::ptr::null::<_xmpp_log_t>())).userdata as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | unsafe { &(*(::std::ptr::null::())).type_ as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:343:19 [INFO] [stdout] | [INFO] [stdout] 343 | unsafe { &(*(::std::ptr::null::())).text as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> crates/libstrophe-sys/src/./bindings.rs:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | unsafe { &(*(::std::ptr::null::())).stanza as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking term_input_macros v0.2.0 (/opt/rustwide/workdir/crates/term_input_macros) [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking term_input v0.2.0 (/opt/rustwide/workdir/crates/term_input) [INFO] [stderr] Checking libtiny_client v0.1.0 (/opt/rustwide/workdir/crates/libtiny_client) [INFO] [stderr] Checking libxrumpp_client v0.1.0 (/opt/rustwide/workdir/crates/libxrumpp_client) [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | debug!("Connection xmpp"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | debug!("Connection xmpp"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | debug!("Disconnected"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | debug!("Disconnected"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> crates/libtiny_client/src/stream.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `status` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | if status == XMPP_CONN_CONNECT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XMPP_CONN_CONNECT` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | if status == XMPP_CONN_CONNECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::{pin, select}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `status` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | if status == XMPP_CONN_CONNECT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XMPP_CONN_CONNECT` in this scope [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | if status == XMPP_CONN_CONNECT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pin` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::{pin, select}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> crates/libtiny_client/src/stream.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 121 | / loop { [INFO] [stdout] 122 | | select! { [INFO] [stdout] 123 | | // Receive event from xmpp client [INFO] [stdout] 124 | | /*Some(events) = client.wait_for_events().await => { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 136 | [INFO] [stdout] 137 | tokio::join!(xmpp_run_task); // Wait for xmpp_run_task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_send_events` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mut channel_send_events : mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_send_events` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_connected` is assigned to, but never used [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut is_connected: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_connected` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xmpp_run_task` is assigned to, but never used [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let xmpp_run_task; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_xmpp_run_task` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_connected` is never read [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | is_connected = match xmpp_connect_client(client_conn, host.as_ptr(), server_info.port, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `xmpp_run_task` is never read [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | xmpp_run_task = tokio::task::spawn_local(task); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | cmd = channel_receive_cmds.next() => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 121 | / loop { [INFO] [stdout] 122 | | select! { [INFO] [stdout] 123 | | // Receive event from xmpp client [INFO] [stdout] 124 | | /*Some(events) = client.wait_for_events().await => { [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 136 | [INFO] [stdout] 137 | tokio::join!(xmpp_run_task); // Wait for xmpp_run_task [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel_send_events` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mut channel_send_events : mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_send_events` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `is_connected` is assigned to, but never used [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let mut is_connected: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_is_connected` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xmpp_run_task` is assigned to, but never used [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let xmpp_run_task; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_xmpp_run_task` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_connected` is never read [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | is_connected = match xmpp_connect_client(client_conn, host.as_ptr(), server_info.port, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `xmpp_run_task` is never read [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | xmpp_run_task = tokio::task::spawn_local(task); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | cmd = channel_receive_cmds.next() => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | mut channel_send_events : mpsc::Sender, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut client_conn: *mut xmpp_conn_t; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_info` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(server_info: XMPPServerInfo) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | mut channel_send_events : mpsc::Sender, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut client_conn: *mut xmpp_conn_t; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_info` [INFO] [stdout] --> crates/libxrumpp_client/src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(server_info: XMPPServerInfo) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libxrumpp_client` (lib test) due to 5 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libxrumpp_client` (lib) due to 5 previous errors; 11 warnings emitted [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ecdf907c6af3f23d466dbdda047294a90124d50058f650d6f1968b3ab75f739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ecdf907c6af3f23d466dbdda047294a90124d50058f650d6f1968b3ab75f739", kill_on_drop: false }` [INFO] [stdout] 5ecdf907c6af3f23d466dbdda047294a90124d50058f650d6f1968b3ab75f739