[INFO] cloning repository https://github.com/HiranmayaGundu/raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HiranmayaGundu/raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiranmayaGundu%2Fraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiranmayaGundu%2Fraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8986b035ffe8340ef84701a20a08f6469a920f28 [INFO] building HiranmayaGundu/raft against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiranmayaGundu%2Fraft" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HiranmayaGundu/raft [INFO] finished tweaking git repo https://github.com/HiranmayaGundu/raft [INFO] tweaked toml for git repo https://github.com/HiranmayaGundu/raft written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HiranmayaGundu/raft on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HiranmayaGundu/raft 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.71 [INFO] [stderr] Downloaded prost-types v0.12.3 [INFO] [stderr] Downloaded prost-derive v0.12.3 [INFO] [stderr] Downloaded async-trait v0.1.75 [INFO] [stderr] Downloaded prettyplease v0.2.15 [INFO] [stderr] Downloaded prost-build v0.12.3 [INFO] [stderr] Downloaded h2 v0.3.22 [INFO] [stderr] Downloaded syn v2.0.42 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded tokio v1.35.1 [INFO] [stderr] Downloaded smallvec v1.11.2 [INFO] [stderr] Downloaded anyhow v1.0.76 [INFO] [stderr] Downloaded prost v0.12.3 [INFO] [stderr] Downloaded tonic-build v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17724d4accd06ffa2dd64b196e5f454a7500ad1e8e0730b9ef7795d1b766df44 [INFO] running `Command { std: "docker" "start" "-a" "17724d4accd06ffa2dd64b196e5f454a7500ad1e8e0730b9ef7795d1b766df44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17724d4accd06ffa2dd64b196e5f454a7500ad1e8e0730b9ef7795d1b766df44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17724d4accd06ffa2dd64b196e5f454a7500ad1e8e0730b9ef7795d1b766df44", kill_on_drop: false }` [INFO] [stdout] 17724d4accd06ffa2dd64b196e5f454a7500ad1e8e0730b9ef7795d1b766df44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b4257cc08131f12a093b4d3abeca082483ef14edee0c64c5340c1e461c34cd5 [INFO] running `Command { std: "docker" "start" "-a" "2b4257cc08131f12a093b4d3abeca082483ef14edee0c64c5340c1e461c34cd5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stdout] warning: fields `term` and `command` are never read [INFO] [stdout] --> src/raft.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | // The term of the entry. [INFO] [stdout] 29 | term: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | // The command of the entry. [INFO] [stdout] 31 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log` is never read [INFO] [stdout] --> src/raft.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct ConsensusModuleData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | log: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/raft.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl ConsensusModule { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.56s [INFO] running `Command { std: "docker" "inspect" "2b4257cc08131f12a093b4d3abeca082483ef14edee0c64c5340c1e461c34cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4257cc08131f12a093b4d3abeca082483ef14edee0c64c5340c1e461c34cd5", kill_on_drop: false }` [INFO] [stdout] 2b4257cc08131f12a093b4d3abeca082483ef14edee0c64c5340c1e461c34cd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1892807dd815803c38a97a87eedf0fe876a5dce793905fb285288de79a3bb89 [INFO] running `Command { std: "docker" "start" "-a" "f1892807dd815803c38a97a87eedf0fe876a5dce793905fb285288de79a3bb89", kill_on_drop: false }` [INFO] [stderr] Compiling raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `term` and `command` are never read [INFO] [stdout] --> src/raft.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct LogEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | // The term of the entry. [INFO] [stdout] 29 | term: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | // The command of the entry. [INFO] [stdout] 31 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log` is never read [INFO] [stdout] --> src/raft.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct ConsensusModuleData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | log: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/raft.rs:148:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl ConsensusModule { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub async fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "f1892807dd815803c38a97a87eedf0fe876a5dce793905fb285288de79a3bb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1892807dd815803c38a97a87eedf0fe876a5dce793905fb285288de79a3bb89", kill_on_drop: false }` [INFO] [stdout] f1892807dd815803c38a97a87eedf0fe876a5dce793905fb285288de79a3bb89