[INFO] cloning repository https://github.com/motorailgun/itf-raft
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/motorailgun/itf-raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotorailgun%2Fitf-raft", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotorailgun%2Fitf-raft'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b0ec6f3e41a3c97d165a660072a8d9eaa21f561
[INFO] checking motorailgun/itf-raft against try#d1d7143153307f561233bd4d93e2a3b24157b081 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmotorailgun%2Fitf-raft" "/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/motorailgun/itf-raft
[INFO] finished tweaking git repo https://github.com/motorailgun/itf-raft
[INFO] tweaked toml for git repo https://github.com/motorailgun/itf-raft written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/motorailgun/itf-raft on toolchain d1d7143153307f561233bd4d93e2a3b24157b081
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/motorailgun/itf-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" "+d1d7143153307f561233bd4d93e2a3b24157b081" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e
[INFO] running `Command { std: "docker" "start" "1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e" "/opt/rustwide/cargo-home/bin/cargo" "+d1d7143153307f561233bd4d93e2a3b24157b081" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling prettyplease v0.2.16
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking termcolor v1.4.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking aho-corasick v1.1.2
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking is-terminal v0.4.10
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking env_logger v0.10.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling prost-derive v0.12.3
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking axum-core v0.3.4
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]    Compiling prost v0.12.3
[INFO] [stderr]     Checking h2 v0.3.22
[INFO] [stderr]     Checking tower v0.4.13
[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]     Checking hyper v0.14.28
[INFO] [stderr]    Compiling itf-raft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking axum v0.6.20
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.10.2
[INFO] [stdout] warning: unused import: `tokio::task::LocalEnterGuard`
[INFO] [stdout]  --> src/state/inner_state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::task::LocalEnterGuard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::LocalEnterGuard`
[INFO] [stdout]  --> src/state/inner_state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::task::LocalEnterGuard;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]   --> src/state/candidate.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn append_entries(self, inner: InnerState, term: u64, leader_id: u64) -> NodeType {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/state/candidate.rs:19:52
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn append_entries(self, inner: InnerState, term: u64, leader_id: u64) -> NodeType {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]   --> src/state/candidate.rs:19:63
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn append_entries(self, inner: InnerState, term: u64, leader_id: u64) -> NodeType {
[INFO] [stdout]    |                                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]   --> src/state/mod.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         leader_id: u64,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_index`
[INFO] [stdout]   --> src/state/mod.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         prev_log_index: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_term`
[INFO] [stdout]   --> src/state/mod.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         prev_log_term: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_commit`
[INFO] [stdout]   --> src/state/mod.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         leader_commit: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_commit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/state/mod.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         term: u64,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `candidate_id`
[INFO] [stdout]   --> src/state/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         candidate_id: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_index`
[INFO] [stdout]   --> src/state/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         last_log_index: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_term`
[INFO] [stdout]   --> src/state/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         last_log_term: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `let_me_borrow_your_inner` is never used
[INFO] [stdout]   --> src/rpc.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<T: Responder + Sync + Send + 'static> RaftRpcServer<T> {
[INFO] [stdout]    | ----------------------------------------------------------- method in this implementation
[INFO] [stdout] 45 |     fn let_me_borrow_your_inner(&self) -> Arc<Mutex<T>> {
[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 `inner` is never read
[INFO] [stdout]  --> src/state/candidate.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct CandidateState {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     pub votes: BTreeMap<u64, ()>,
[INFO] [stdout] 8 |     inner: InnerState,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CandidateState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `timeout` should have an upper case name
[INFO] [stdout]  --> src/state/follower.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const timeout: Duration = Duration::from_millis(300);
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 5 - const timeout: Duration = Duration::from_millis(300);
[INFO] [stdout] 5 + const TIMEOUT: Duration = Duration::from_millis(300);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Vec::<T, A>::split_off` that must be used
[INFO] [stdout]   --> src/state/inner_state.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 self.log.split_off((entry.prev_index + 1) as usize);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `.truncate()` if you don't need the other half
[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] 74 |                 let _ = self.log.split_off((entry.prev_index + 1) as usize);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]   --> src/state/candidate.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn append_entries(self, inner: InnerState, term: u64, leader_id: u64) -> NodeType {
[INFO] [stdout]    |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/state/candidate.rs:19:52
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn append_entries(self, inner: InnerState, term: u64, leader_id: u64) -> NodeType {
[INFO] [stdout]    |                                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]   --> src/state/candidate.rs:19:63
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn append_entries(self, inner: InnerState, term: u64, leader_id: u64) -> NodeType {
[INFO] [stdout]    |                                                               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_id`
[INFO] [stdout]   --> src/state/mod.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         leader_id: u64,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_index`
[INFO] [stdout]   --> src/state/mod.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         prev_log_index: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prev_log_term`
[INFO] [stdout]   --> src/state/mod.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         prev_log_term: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_commit`
[INFO] [stdout]   --> src/state/mod.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         leader_commit: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_commit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/state/mod.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         term: u64,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `candidate_id`
[INFO] [stdout]   --> src/state/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         candidate_id: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_index`
[INFO] [stdout]   --> src/state/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         last_log_index: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `last_log_term`
[INFO] [stdout]   --> src/state/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         last_log_term: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_log_term`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `let_me_borrow_your_inner` is never used
[INFO] [stdout]   --> src/rpc.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl<T: Responder + Sync + Send + 'static> RaftRpcServer<T> {
[INFO] [stdout]    | ----------------------------------------------------------- method in this implementation
[INFO] [stdout] 45 |     fn let_me_borrow_your_inner(&self) -> Arc<Mutex<T>> {
[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 `inner` is never read
[INFO] [stdout]  --> src/state/candidate.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct CandidateState {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     pub votes: BTreeMap<u64, ()>,
[INFO] [stdout] 8 |     inner: InnerState,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CandidateState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `timeout` should have an upper case name
[INFO] [stdout]  --> src/state/follower.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const timeout: Duration = Duration::from_millis(300);
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 5 - const timeout: Duration = Duration::from_millis(300);
[INFO] [stdout] 5 + const TIMEOUT: Duration = Duration::from_millis(300);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Vec::<T, A>::split_off` that must be used
[INFO] [stdout]   --> src/state/inner_state.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 self.log.split_off((entry.prev_index + 1) as usize);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: use `.truncate()` if you don't need the other half
[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] 74 |                 let _ = self.log.split_off((entry.prev_index + 1) as usize);
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.42s
[INFO] running `Command { std: "docker" "inspect" "1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e", kill_on_drop: false }`
[INFO] [stdout] 1fdcdf193a2c7f9a81f664d61f04f18f3f732f3403c70299cf7e3126a45a6a4e
