[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 try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmorgenm%2Fxrumpp" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/morgenm/xrumpp on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2255c0812aa3d42dadcf1f4612844040471884d07686653de0ca4d75947628c8 [INFO] running `Command { std: "docker" "start" "-a" "2255c0812aa3d42dadcf1f4612844040471884d07686653de0ca4d75947628c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2255c0812aa3d42dadcf1f4612844040471884d07686653de0ca4d75947628c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2255c0812aa3d42dadcf1f4612844040471884d07686653de0ca4d75947628c8", kill_on_drop: false }` [INFO] [stdout] 2255c0812aa3d42dadcf1f4612844040471884d07686653de0ca4d75947628c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d762dbae42e52d28e805948ac6da4274bd4f60a70b38cbca583b729bbc0377f [INFO] running `Command { std: "docker" "start" "-a" "2d762dbae42e52d28e805948ac6da4274bd4f60a70b38cbca583b729bbc0377f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking libtiny_common v0.1.0 (/opt/rustwide/workdir/crates/libtiny_common) [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libtiny_common/src/lib.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn to_target(&self) -> MsgTarget { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn to_target(&self) -> MsgTarget<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking libtiny_wire v0.1.0 (/opt/rustwide/workdir/crates/libtiny_wire) [INFO] [stderr] Checking rustls-native-certs v0.6.1 [INFO] [stderr] Compiling libstrophe-sys v0.1.0 (/opt/rustwide/workdir/crates/libstrophe-sys) [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling rustc_tools_util v0.2.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking proc-macro2 v1.0.36 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libtiny_wire/src/formatting.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn parse_irc_formatting<'a>(s: &'a str) -> impl Iterator + 'a { [INFO] [stdout] | ^^ -------------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 375 | pub fn parse_irc_formatting<'a>(s: &'a str) -> impl Iterator> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libtiny_common/src/lib.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn to_target(&self) -> MsgTarget { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 189 | pub fn to_target(&self) -> MsgTarget<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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] [stderr] Compiling tiny v0.10.0 (/opt/rustwide/workdir/crates/tiny) [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] [stderr] Checking quote v1.0.15 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libtiny_wire/src/formatting.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn parse_irc_formatting<'a>(s: &'a str) -> impl Iterator + 'a { [INFO] [stdout] | ^^ -------------- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 375 | pub fn parse_irc_formatting<'a>(s: &'a str) -> impl Iterator> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ring v0.16.20 [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] Checking time v0.1.43 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking clap v3.1.3 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking libtiny_logger v0.1.0 (/opt/rustwide/workdir/crates/libtiny_logger) [INFO] [stderr] Checking termbox_simple v0.2.3 (/opt/rustwide/workdir/crates/termbox) [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] Checking term_input_macros v0.2.0 (/opt/rustwide/workdir/crates/term_input_macros) [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | debug!("Disconnected"); [INFO] [stdout] | ^^^^^ [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: 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] 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] 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] 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: 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] 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: 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: 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] 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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libxrumpp_client` (lib) due to 4 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 test) due to 4 previous errors; 11 warnings emitted [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libtiny_client/src/utils.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn split_iterator(s: &str, max: usize) -> SplitIterator { [INFO] [stdout] | ^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn split_iterator(s: &str, max: usize) -> SplitIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> crates/libtiny_client/src/utils.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn split_iterator(s: &str, max: usize) -> SplitIterator { [INFO] [stdout] | ^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn split_iterator(s: &str, max: usize) -> SplitIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d762dbae42e52d28e805948ac6da4274bd4f60a70b38cbca583b729bbc0377f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d762dbae42e52d28e805948ac6da4274bd4f60a70b38cbca583b729bbc0377f", kill_on_drop: false }` [INFO] [stdout] 2d762dbae42e52d28e805948ac6da4274bd4f60a70b38cbca583b729bbc0377f