[INFO] cloning repository https://github.com/danielwaterworth/raft-logic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielwaterworth/raft-logic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielwaterworth%2Fraft-logic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielwaterworth%2Fraft-logic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 335b4fadd367577c11b1012a7327a10d00e706f2 [INFO] checking danielwaterworth/raft-logic against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielwaterworth%2Fraft-logic" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danielwaterworth/raft-logic [INFO] finished tweaking git repo https://github.com/danielwaterworth/raft-logic [INFO] tweaked toml for git repo https://github.com/danielwaterworth/raft-logic written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielwaterworth/raft-logic on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielwaterworth/raft-logic 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a90e95681605192e91ccea9c25e6caaa1f7622242fa1f123da500e64572fae6 [INFO] running `Command { std: "docker" "start" "-a" "9a90e95681605192e91ccea9c25e6caaa1f7622242fa1f123da500e64572fae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a90e95681605192e91ccea9c25e6caaa1f7622242fa1f123da500e64572fae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a90e95681605192e91ccea9c25e6caaa1f7622242fa1f123da500e64572fae6", kill_on_drop: false }` [INFO] [stdout] 9a90e95681605192e91ccea9c25e6caaa1f7622242fa1f123da500e64572fae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c933031abc95db89e74760e1ed65c37ff68e4211a076f0395681a56c8bd1c65a [INFO] running `Command { std: "docker" "start" "-a" "c933031abc95db89e74760e1ed65c37ff68e4211a076f0395681a56c8bd1c65a", kill_on_drop: false }` [INFO] [stderr] Checking raft-logic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LogIndex` [INFO] [stdout] --> src/raft.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | compare_log_versions, GetResult, InsertError, Log, LogIndex, LogStatus, [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: `LogIndex` [INFO] [stdout] --> src/raft.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | compare_log_versions, GetResult, InsertError, Log, LogIndex, LogStatus, [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: `term` [INFO] [stdout] --> src/raft.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:415:32 [INFO] [stdout] | [INFO] [stdout] 415 | State::Candidate { votes_received } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | State::Leader { follower_infos } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/raft.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | server_id: ServerID, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:461:32 [INFO] [stdout] | [INFO] [stdout] 461 | State::Candidate { votes_received } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:476:29 [INFO] [stdout] | [INFO] [stdout] 476 | State::Leader { follower_infos } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_state` [INFO] [stdout] --> src/raft.rs:488:29 [INFO] [stdout] | [INFO] [stdout] 488 | State::Follower(follower_state) => do_nothing(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | State::Leader { follower_infos } => do_nothing(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_state` [INFO] [stdout] --> src/raft.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 549 | State::Follower(follower_state) => unreachable!( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:552:32 [INFO] [stdout] | [INFO] [stdout] 552 | State::Candidate { votes_received } => unreachable!( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_state` [INFO] [stdout] --> src/raft.rs:647:29 [INFO] [stdout] | [INFO] [stdout] 647 | State::Follower(follower_state) => self.transition_to_candidate(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:648:32 [INFO] [stdout] | [INFO] [stdout] 648 | State::Candidate { votes_received } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | State::Leader { follower_infos } => do_nothing(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:350:32 [INFO] [stdout] | [INFO] [stdout] 350 | fn transition_to_candidate(&mut self) -> Operation { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 350 | fn transition_to_candidate(&mut self) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 367 | entry: L::Entry, [INFO] [stdout] 368 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 368 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 402 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 402 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 428 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 428 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 486 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 486 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 528 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 528 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 547 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 547 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:645:23 [INFO] [stdout] | [INFO] [stdout] 645 | fn handle_timeout(&mut self) -> Operation { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 645 | fn handle_timeout(&mut self) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:415:32 [INFO] [stdout] | [INFO] [stdout] 415 | State::Candidate { votes_received } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:418:29 [INFO] [stdout] | [INFO] [stdout] 418 | State::Leader { follower_infos } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_id` [INFO] [stdout] --> src/raft.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | server_id: ServerID, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:461:32 [INFO] [stdout] | [INFO] [stdout] 461 | State::Candidate { votes_received } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:476:29 [INFO] [stdout] | [INFO] [stdout] 476 | State::Leader { follower_infos } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_state` [INFO] [stdout] --> src/raft.rs:488:29 [INFO] [stdout] | [INFO] [stdout] 488 | State::Follower(follower_state) => do_nothing(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | State::Leader { follower_infos } => do_nothing(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> src/raft.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | term: Term, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_state` [INFO] [stdout] --> src/raft.rs:549:29 [INFO] [stdout] | [INFO] [stdout] 549 | State::Follower(follower_state) => unreachable!( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:552:32 [INFO] [stdout] | [INFO] [stdout] 552 | State::Candidate { votes_received } => unreachable!( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_state` [INFO] [stdout] --> src/raft.rs:647:29 [INFO] [stdout] | [INFO] [stdout] 647 | State::Follower(follower_state) => self.transition_to_candidate(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `votes_received` [INFO] [stdout] --> src/raft.rs:648:32 [INFO] [stdout] | [INFO] [stdout] 648 | State::Candidate { votes_received } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `votes_received: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_infos` [INFO] [stdout] --> src/raft.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | State::Leader { follower_infos } => do_nothing(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `follower_infos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:350:32 [INFO] [stdout] | [INFO] [stdout] 350 | fn transition_to_candidate(&mut self) -> Operation { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 350 | fn transition_to_candidate(&mut self) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 367 | entry: L::Entry, [INFO] [stdout] 368 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 368 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 402 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 402 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 428 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 428 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 486 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 486 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 528 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 528 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 547 | ) -> Operation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 547 | ) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raft.rs:645:23 [INFO] [stdout] | [INFO] [stdout] 645 | fn handle_timeout(&mut self) -> Operation { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 645 | fn handle_timeout(&mut self) -> Operation<'_, ServerID, L::Entry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "c933031abc95db89e74760e1ed65c37ff68e4211a076f0395681a56c8bd1c65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c933031abc95db89e74760e1ed65c37ff68e4211a076f0395681a56c8bd1c65a", kill_on_drop: false }` [INFO] [stdout] c933031abc95db89e74760e1ed65c37ff68e4211a076f0395681a56c8bd1c65a