[INFO] cloning repository https://github.com/Mixaffected/networking_lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mixaffected/networking_lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMixaffected%2Fnetworking_lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMixaffected%2Fnetworking_lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02bd32e49a4f07b38d8c6baf824ff1f0a7e78774 [INFO] checking Mixaffected/networking_lib/02bd32e49a4f07b38d8c6baf824ff1f0a7e78774 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMixaffected%2Fnetworking_lib" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mixaffected/networking_lib on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mixaffected/networking_lib [INFO] finished tweaking git repo https://github.com/Mixaffected/networking_lib [INFO] tweaked toml for git repo https://github.com/Mixaffected/networking_lib written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Mixaffected/networking_lib 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b696f9346b202ede94f9f0dcf8ca4d3f4426d716a34b1dc98b7706e0fb55b1d [INFO] running `Command { std: "docker" "start" "-a" "5b696f9346b202ede94f9f0dcf8ca4d3f4426d716a34b1dc98b7706e0fb55b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b696f9346b202ede94f9f0dcf8ca4d3f4426d716a34b1dc98b7706e0fb55b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b696f9346b202ede94f9f0dcf8ca4d3f4426d716a34b1dc98b7706e0fb55b1d", kill_on_drop: false }` [INFO] [stdout] 5b696f9346b202ede94f9f0dcf8ca4d3f4426d716a34b1dc98b7706e0fb55b1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19822f6ea8b6e50c8919bff3045ec4d78a11c3c8291d2e2f6ccd59d0c055cb0c [INFO] running `Command { std: "docker" "start" "-a" "19822f6ea8b6e50c8919bff3045ec4d78a11c3c8291d2e2f6ccd59d0c055cb0c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking cryptlib v0.1.0 (https://github.com/Marvin-Dziedzina/cryptlib#811e9d49) [INFO] [stderr] Checking networking-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/lib.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/lib.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | for (addr, stream) in streams_lock.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/lib.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | for (addr, stream) in streams_lock.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `listener`, `listener_task`, `connections`, and `streams` are never read [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct NetLib Deserialize<'a> + PacketTrait + std::marker::Send + 'static> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | binding_address: String, [INFO] [stdout] 31 | listener: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | listener_task: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 33 | [INFO] [stdout] 34 | connections: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | streams: Arc>>>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetLib` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lib.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl Deserialize<'a> + PacketTrait + std::marker::Send + 'static> NetLib { [INFO] [stdout] | -------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 40 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn connect(&self, addr: T) -> Result<(), NetError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | async fn handle_incoming( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | async fn add_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn send Deserialize<'a>>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn recv(&self, addresses: Option>) -> HashMap>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn get_connections_snapshot(&self) -> Vec
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub async fn get_connections(&self) -> &Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send`, `recv`, `get_connections_snapshot`, and `get_connections` are never used [INFO] [stdout] --> src/lib.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl Deserialize<'a> + PacketTrait + std::marker::Send + 'static> NetLib { [INFO] [stdout] | -------------------------------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub async fn send Deserialize<'a>>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub async fn recv(&self, addresses: Option>) -> HashMap>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn get_connections_snapshot(&self) -> Vec
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub async fn get_connections(&self) -> &Arc>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.53s [INFO] running `Command { std: "docker" "inspect" "19822f6ea8b6e50c8919bff3045ec4d78a11c3c8291d2e2f6ccd59d0c055cb0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19822f6ea8b6e50c8919bff3045ec4d78a11c3c8291d2e2f6ccd59d0c055cb0c", kill_on_drop: false }` [INFO] [stdout] 19822f6ea8b6e50c8919bff3045ec4d78a11c3c8291d2e2f6ccd59d0c055cb0c