[INFO] cloning repository https://github.com/ronistone/leader_election_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronistone/leader_election_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronistone%2Fleader_election_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronistone%2Fleader_election_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd2613df117866c0a06357c611ec8c5553894d64 [INFO] testing ronistone/leader_election_rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronistone%2Fleader_election_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ronistone/leader_election_rust [INFO] finished tweaking git repo https://github.com/ronistone/leader_election_rust [INFO] tweaked toml for git repo https://github.com/ronistone/leader_election_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ronistone/leader_election_rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ronistone/leader_election_rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console-api v0.7.0 [INFO] [stderr] Downloaded console-subscriber v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67b9742763c710619fc5d6393f325f6f0d7a08bb3986de29804790b53ce9d406 [INFO] running `Command { std: "docker" "start" "-a" "67b9742763c710619fc5d6393f325f6f0d7a08bb3986de29804790b53ce9d406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67b9742763c710619fc5d6393f325f6f0d7a08bb3986de29804790b53ce9d406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b9742763c710619fc5d6393f325f6f0d7a08bb3986de29804790b53ce9d406", kill_on_drop: false }` [INFO] [stdout] 67b9742763c710619fc5d6393f325f6f0d7a08bb3986de29804790b53ce9d406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 022bdb7c54ba2d2fd85fb7d1e6f0777a6887c34bac6d4bcd1931e49865009d50 [INFO] running `Command { std: "docker" "start" "-a" "022bdb7c54ba2d2fd85fb7d1e6f0777a6887c34bac6d4bcd1931e49865009d50", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling console-api v0.7.0 [INFO] [stderr] Compiling console-subscriber v0.3.0 [INFO] [stderr] Compiling leader_election_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/communication/communication.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Peer [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub id: Arc>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/communication/net.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "022bdb7c54ba2d2fd85fb7d1e6f0777a6887c34bac6d4bcd1931e49865009d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022bdb7c54ba2d2fd85fb7d1e6f0777a6887c34bac6d4bcd1931e49865009d50", kill_on_drop: false }` [INFO] [stdout] 022bdb7c54ba2d2fd85fb7d1e6f0777a6887c34bac6d4bcd1931e49865009d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15f17af2017c232df62254fc25845004d9ade277e07ffc5218ff648b80041e31 [INFO] running `Command { std: "docker" "start" "-a" "15f17af2017c232df62254fc25845004d9ade277e07ffc5218ff648b80041e31", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling leader_election_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/communication/communication.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Peer [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub id: Arc>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/communication/net.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.30s [INFO] running `Command { std: "docker" "inspect" "15f17af2017c232df62254fc25845004d9ade277e07ffc5218ff648b80041e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f17af2017c232df62254fc25845004d9ade277e07ffc5218ff648b80041e31", kill_on_drop: false }` [INFO] [stdout] 15f17af2017c232df62254fc25845004d9ade277e07ffc5218ff648b80041e31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 180c839b470d0d328d299d2a93a4da50c9aadba1c252cbc1bd095de048ac3fec [INFO] running `Command { std: "docker" "start" "-a" "180c839b470d0d328d299d2a93a4da50c9aadba1c252cbc1bd095de048ac3fec", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/communication/communication.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Peer [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | pub id: Arc>, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Connection` is never constructed [INFO] [stderr] --> src/communication/net.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct Connection { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `leader_election_rust` (bin "leader_election_rust" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leader_election_rust-3534679a5de9222a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "180c839b470d0d328d299d2a93a4da50c9aadba1c252cbc1bd095de048ac3fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180c839b470d0d328d299d2a93a4da50c9aadba1c252cbc1bd095de048ac3fec", kill_on_drop: false }` [INFO] [stdout] 180c839b470d0d328d299d2a93a4da50c9aadba1c252cbc1bd095de048ac3fec