[INFO] cloning repository https://github.com/sid2001/Raft-KVS
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sid2001/Raft-KVS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsid2001%2FRaft-KVS", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsid2001%2FRaft-KVS'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f9d38b82c1fbc22abbfcce7fb3513cfdd54a4fa
[INFO] checking sid2001/Raft-KVS 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%2Fsid2001%2FRaft-KVS" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sid2001/Raft-KVS
[INFO] finished tweaking git repo https://github.com/sid2001/Raft-KVS
[INFO] tweaked toml for git repo https://github.com/sid2001/Raft-KVS written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sid2001/Raft-KVS 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/sid2001/Raft-KVS 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] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a93db4fef883070af150bb29010cdf53815400e6983e902ad024118c861ae0cc
[INFO] running `Command { std: "docker" "start" "-a" "a93db4fef883070af150bb29010cdf53815400e6983e902ad024118c861ae0cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a93db4fef883070af150bb29010cdf53815400e6983e902ad024118c861ae0cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a93db4fef883070af150bb29010cdf53815400e6983e902ad024118c861ae0cc", kill_on_drop: false }`
[INFO] [stdout] a93db4fef883070af150bb29010cdf53815400e6983e902ad024118c861ae0cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8976a1327e93cbe2bb8a10ca2a48d20861db714efcae08210c78727608745381
[INFO] running `Command { std: "docker" "start" "-a" "8976a1327e93cbe2bb8a10ca2a48d20861db714efcae08210c78727608745381", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling fixedbitset v0.5.7
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling term v1.1.0
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling petgraph v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling ascii-canvas v4.0.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]     Checking lalrpop-util v0.21.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling lalrpop-util v0.22.2
[INFO] [stderr]    Compiling prettyplease v0.2.33
[INFO] [stderr]    Compiling lalrpop v0.22.2
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.29
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking axum-core v0.3.4
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling prost v0.12.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling prost-types v0.12.6
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]    Compiling prost-build v0.12.6
[INFO] [stderr]    Compiling tonic-build v0.11.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling raft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking axum v0.6.20
[INFO] [stderr]     Checking tonic v0.11.0
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:619:44
[INFO] [stdout]     |
[INFO] [stdout] 619 | ...                   let (mut term, mut logger, mut state) = {
[INFO] [stdout]     |                                      ----^^^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:619:44
[INFO] [stdout]     |
[INFO] [stdout] 619 | ...                   let (mut term, mut logger, mut state) = {
[INFO] [stdout]     |                                      ----^^^^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |     state: Arc<Mutex<State>>,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa_no`
[INFO] [stdout]    --> src/main.rs:424:14
[INFO] [stdout]     |
[INFO] [stdout] 424 |         for (sa_no, (_, ep)) in &mut self.servers.iter_mut().enumerate() {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_sa_no`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn acquire_tls(&self) -> Option<(MutexGuard<Term>, MutexGuard<Logger>, MutexGuard<State>)> {
[INFO] [stdout]     |                    ^^^^^             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |                 |                 |
[INFO] [stdout]     |                    |                 |                 the same lifetime is hidden here
[INFO] [stdout]     |                    |                 the same lifetime is hidden here
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn acquire_tls(&self) -> Option<(MutexGuard<'_, Term>, MutexGuard<'_, Logger>, MutexGuard<'_, State>)> {
[INFO] [stdout]     |                                                 +++                   +++                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         tx_ws.send(State::Follower);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 416 |         let _ = tx_ws.send(State::Follower);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:543:41
[INFO] [stdout]     |
[INFO] [stdout] 543 | ...                   tx_ws.send(State::Follower);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 543 |                                         let _ = tx_ws.send(State::Follower);
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:557:41
[INFO] [stdout]     |
[INFO] [stdout] 557 | ...                   tx_ws.send(State::Leader);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 557 |                                         let _ = tx_ws.send(State::Leader);
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:589:37
[INFO] [stdout]     |
[INFO] [stdout] 589 | ...                   tx_ws.send(State::Follower);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 589 |                                     let _ = tx_ws.send(State::Follower);
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:595:45
[INFO] [stdout]     |
[INFO] [stdout] 595 | ...                   logger.commit(e.commit_index);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 595 |                                             let _ = logger.commit(e.commit_index);
[INFO] [stdout]     |                                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:659:29
[INFO] [stdout]     |
[INFO] [stdout] 659 | ...                   tx_ws.send((*state).clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 659 |                             let _ = tx_ws.send((*state).clone());
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:331:42
[INFO] [stdout]     |
[INFO] [stdout] 331 |                       let fut = async move {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 332 | |                         let inner = inner.0;
[INFO] [stdout] 333 | |                         let method = RequestVoteRPCSvc(inner);
[INFO] [stdout] 334 | |                         let codec = tonic::codec::ProstCodec::default();
[INFO] [stdout] ...   |
[INFO] [stdout] 345 | |                         Ok(res)
[INFO] [stdout] 346 | |                     };
[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<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:345:25
[INFO] [stdout]     |
[INFO] [stdout] 345 |                         Ok(res)
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:375:42
[INFO] [stdout]     |
[INFO] [stdout] 375 |                       let fut = async move {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 376 | |                         let inner = inner.0;
[INFO] [stdout] 377 | |                         let method = AppendEntriesRPCSvc(inner);
[INFO] [stdout] 378 | |                         let codec = tonic::codec::ProstCodec::default();
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | |                         Ok(res)
[INFO] [stdout] 390 | |                     };
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:389:25
[INFO] [stdout]     |
[INFO] [stdout] 389 |                         Ok(res)
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:394:41
[INFO] [stdout]     |
[INFO] [stdout] 394 |                       Box::pin(async move {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 395 | |                         Ok(
[INFO] [stdout] 396 | |                             http::Response::builder()
[INFO] [stdout] 397 | |                                 .status(200)
[INFO] [stdout] ...   |
[INFO] [stdout] 403 | |                     })
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:395:25
[INFO] [stdout]     |
[INFO] [stdout] 395 | /                         Ok(
[INFO] [stdout] 396 | |                             http::Response::builder()
[INFO] [stdout] 397 | |                                 .status(200)
[INFO] [stdout] 398 | |                                 .header("grpc-status", "12")
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |                                 .unwrap(),
[INFO] [stdout] 402 | |                         )
[INFO] [stdout]     | |_________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft` (bin "raft" test) due to 6 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:196:5
[INFO] [stdout]     |
[INFO] [stdout] 196 |     state: Arc<Mutex<State>>,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa_no`
[INFO] [stdout]    --> src/main.rs:424:14
[INFO] [stdout]     |
[INFO] [stdout] 424 |         for (sa_no, (_, ep)) in &mut self.servers.iter_mut().enumerate() {
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_sa_no`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:348:20
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn acquire_tls(&self) -> Option<(MutexGuard<Term>, MutexGuard<Logger>, MutexGuard<State>)> {
[INFO] [stdout]     |                    ^^^^^             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |                 |                 |
[INFO] [stdout]     |                    |                 |                 the same lifetime is hidden here
[INFO] [stdout]     |                    |                 the same lifetime is hidden here
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn acquire_tls(&self) -> Option<(MutexGuard<'_, Term>, MutexGuard<'_, Logger>, MutexGuard<'_, State>)> {
[INFO] [stdout]     |                                                 +++                   +++                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         tx_ws.send(State::Follower);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 416 |         let _ = tx_ws.send(State::Follower);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:543:41
[INFO] [stdout]     |
[INFO] [stdout] 543 | ...                   tx_ws.send(State::Follower);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 543 |                                         let _ = tx_ws.send(State::Follower);
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:557:41
[INFO] [stdout]     |
[INFO] [stdout] 557 | ...                   tx_ws.send(State::Leader);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 557 |                                         let _ = tx_ws.send(State::Leader);
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:589:37
[INFO] [stdout]     |
[INFO] [stdout] 589 | ...                   tx_ws.send(State::Follower);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 589 |                                     let _ = tx_ws.send(State::Follower);
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:595:45
[INFO] [stdout]     |
[INFO] [stdout] 595 | ...                   logger.commit(e.commit_index);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 595 |                                             let _ = logger.commit(e.commit_index);
[INFO] [stdout]     |                                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:659:29
[INFO] [stdout]     |
[INFO] [stdout] 659 | ...                   tx_ws.send((*state).clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 659 |                             let _ = tx_ws.send((*state).clone());
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:331:42
[INFO] [stdout]     |
[INFO] [stdout] 331 |                       let fut = async move {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 332 | |                         let inner = inner.0;
[INFO] [stdout] 333 | |                         let method = RequestVoteRPCSvc(inner);
[INFO] [stdout] 334 | |                         let codec = tonic::codec::ProstCodec::default();
[INFO] [stdout] ...   |
[INFO] [stdout] 345 | |                         Ok(res)
[INFO] [stdout] 346 | |                     };
[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<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:345:25
[INFO] [stdout]     |
[INFO] [stdout] 345 |                         Ok(res)
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:375:42
[INFO] [stdout]     |
[INFO] [stdout] 375 |                       let fut = async move {
[INFO] [stdout]     |  __________________________________________^
[INFO] [stdout] 376 | |                         let inner = inner.0;
[INFO] [stdout] 377 | |                         let method = AppendEntriesRPCSvc(inner);
[INFO] [stdout] 378 | |                         let codec = tonic::codec::ProstCodec::default();
[INFO] [stdout] ...   |
[INFO] [stdout] 389 | |                         Ok(res)
[INFO] [stdout] 390 | |                     };
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:389:25
[INFO] [stdout]     |
[INFO] [stdout] 389 |                         Ok(res)
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:394:41
[INFO] [stdout]     |
[INFO] [stdout] 394 |                       Box::pin(async move {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 395 | |                         Ok(
[INFO] [stdout] 396 | |                             http::Response::builder()
[INFO] [stdout] 397 | |                                 .status(200)
[INFO] [stdout] ...   |
[INFO] [stdout] 403 | |                     })
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<response::Response<http_body::combinators::box_body::UnsyncBoxBody<prost::bytes::Bytes, Status>>, Infallible>
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/raft-a30c92b967ac7e0f/out/raft.rs:395:25
[INFO] [stdout]     |
[INFO] [stdout] 395 | /                         Ok(
[INFO] [stdout] 396 | |                             http::Response::builder()
[INFO] [stdout] 397 | |                                 .status(200)
[INFO] [stdout] 398 | |                                 .header("grpc-status", "12")
[INFO] [stdout] ...   |
[INFO] [stdout] 401 | |                                 .unwrap(),
[INFO] [stdout] 402 | |                         )
[INFO] [stdout]     | |_________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raft` (bin "raft") due to 6 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8976a1327e93cbe2bb8a10ca2a48d20861db714efcae08210c78727608745381", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8976a1327e93cbe2bb8a10ca2a48d20861db714efcae08210c78727608745381", kill_on_drop: false }`
[INFO] [stdout] 8976a1327e93cbe2bb8a10ca2a48d20861db714efcae08210c78727608745381
