[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] checking HiranmayaGundu/raft against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiranmayaGundu%2Fraft" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HiranmayaGundu/raft on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 592e4e8794aae43917586b74b4fb2efd537871ef0f1ba07225240b0a98572bf3 [INFO] running `Command { std: "docker" "start" "-a" "592e4e8794aae43917586b74b4fb2efd537871ef0f1ba07225240b0a98572bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "592e4e8794aae43917586b74b4fb2efd537871ef0f1ba07225240b0a98572bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592e4e8794aae43917586b74b4fb2efd537871ef0f1ba07225240b0a98572bf3", kill_on_drop: false }` [INFO] [stdout] 592e4e8794aae43917586b74b4fb2efd537871ef0f1ba07225240b0a98572bf3 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dee11336de99762d316666fa765ac8087f4e08ac6826d4d772b279e4be1a70d4 [INFO] running `Command { std: "docker" "start" "-a" "dee11336de99762d316666fa765ac8087f4e08ac6826d4d772b279e4be1a70d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling which v4.4.2 [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] Checking async-stream v0.3.5 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.3 [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] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking 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] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 313 | | let inner = inner.0; [INFO] [stdout] 314 | | let method = RequestVoteSvc(inner); [INFO] [stdout] 315 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 326 | | Ok(res) [INFO] [stdout] 327 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:356:42 [INFO] [stdout] | [INFO] [stdout] 356 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 357 | | let inner = inner.0; [INFO] [stdout] 358 | | let method = AppendEntriesSvc(inner); [INFO] [stdout] 359 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 370 | | Ok(res) [INFO] [stdout] 371 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:375:41 [INFO] [stdout] | [INFO] [stdout] 375 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 376 | | Ok( [INFO] [stdout] 377 | | http::Response::builder() [INFO] [stdout] 378 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 384 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | / Ok( [INFO] [stdout] 377 | | http::Response::builder() [INFO] [stdout] 378 | | .status(200) [INFO] [stdout] 379 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 382 | | .unwrap(), [INFO] [stdout] 383 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft` (bin "raft-server" test) due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 313 | | let inner = inner.0; [INFO] [stdout] 314 | | let method = RequestVoteSvc(inner); [INFO] [stdout] 315 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 326 | | Ok(res) [INFO] [stdout] 327 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:356:42 [INFO] [stdout] | [INFO] [stdout] 356 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 357 | | let inner = inner.0; [INFO] [stdout] 358 | | let method = AppendEntriesSvc(inner); [INFO] [stdout] 359 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 370 | | Ok(res) [INFO] [stdout] 371 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:375:41 [INFO] [stdout] | [INFO] [stdout] 375 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 376 | | Ok( [INFO] [stdout] 377 | | http::Response::builder() [INFO] [stdout] 378 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 384 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/raft-2547de48d3e77876/out/raft.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | / Ok( [INFO] [stdout] 377 | | http::Response::builder() [INFO] [stdout] 378 | | .status(200) [INFO] [stdout] 379 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 382 | | .unwrap(), [INFO] [stdout] 383 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raft` (bin "raft-server") due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dee11336de99762d316666fa765ac8087f4e08ac6826d4d772b279e4be1a70d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee11336de99762d316666fa765ac8087f4e08ac6826d4d772b279e4be1a70d4", kill_on_drop: false }` [INFO] [stdout] dee11336de99762d316666fa765ac8087f4e08ac6826d4d772b279e4be1a70d4