[INFO] fetching crate d9d_consensus 0.1.0...
[INFO] checking d9d_consensus-0.1.0 against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] extracting crate d9d_consensus 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate d9d_consensus 0.1.0
[INFO] finished tweaking crates.io crate d9d_consensus 0.1.0
[INFO] tweaked toml for crates.io crate d9d_consensus 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate d9d_consensus 0.1.0 on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 114 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.10.1 (available: v0.22.1)
[INFO] [stderr]       Adding env_logger v0.6.2 (available: v0.11.10)
[INFO] [stderr]       Adding futures-channel-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-core-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-executor-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-io-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-join-macro-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-select-macro-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-sink-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding futures-util-preview v0.3.0-alpha.18 (available: v0.3.0-alpha.19)
[INFO] [stderr]       Adding rand v0.6.5 (available: v0.10.1)
[INFO] [stderr]       Adding tokio v0.1.22 (available: v1.52.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba
[INFO] running `Command { std: "docker" "start" "1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba", 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" "1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba", 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" "1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking memchr v2.8.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling futures-join-macro-preview v0.3.0-alpha.18
[INFO] [stderr]    Compiling futures-select-macro-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking regex v1.12.4
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.18
[INFO] [stderr]     Checking d9d_consensus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_await)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_await)]
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `automaton`, `send_out`, `process_state`, and `process` are never read
[INFO] [stdout]   --> src/raft/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Raft<Message, State, Process>
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     automaton: Automaton<Message>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |     send_out: Sender<Message>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     process_state: State,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     process: Process,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Transition` is never used
[INFO] [stdout]   --> src/raft/dfa.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum Transition {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToFollower` is never constructed
[INFO] [stdout]   --> src/raft/dfa.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct ToFollower {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/raft/dfa.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl ToFollower {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 69 |     pub fn new(from: Term, to: Term) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToCandidate` is never constructed
[INFO] [stdout]   --> src/raft/dfa.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ToCandidate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/raft/dfa.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl ToCandidate {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 87 |     pub fn new(from: Term, to: Term) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToLeader` is never constructed
[INFO] [stdout]   --> src/raft/dfa.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct ToLeader {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/raft/dfa.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl ToLeader {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 104 |     pub fn new(term: Term) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Candidate` and `Leader` are never constructed
[INFO] [stdout]    --> src/raft/dfa.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub enum State {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] 117 |     Follower,
[INFO] [stdout] 118 |     Candidate,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 119 |     Leader,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/raft/dfa.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub struct Automaton<T> {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 129 |     id: AutomatonRef,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 130 |     n: usize,
[INFO] [stdout]     |     ^
[INFO] [stdout] 131 |
[INFO] [stdout] 132 |     state: State,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 133 |     term: Term,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 134 |     votes: usize,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 135 |
[INFO] [stdout] 136 |     pending: HashMap<(Term, LogIndex), T>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 137 |     acks: HashMap<(Term, LogIndex), usize>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 138 |     log: HashMap<LogIndex, T>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/raft/dfa.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl<T> Automaton<T> {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn timeout(&mut self) -> Transition {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn vote(&mut self, t: Term, v: AutomatonRef) -> Transition {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn append(&mut self, t: Term, i: LogIndex, entry: T) -> Transition {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn ack(&mut self, t: Term, i: LogIndex) -> Transition {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn commit(&mut self, t: Term, i: LogIndex) -> Transition {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     fn try_change_leader(&mut self) -> Transition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     fn try_fast_forward(&mut self, t: Term) -> Transition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     fn ignore_vote(&self, t: Term, v: AutomatonRef, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     fn ignore_append(&self, t: Term, i: LogIndex, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn ignore_ack(&self, t: Term, i: LogIndex, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     fn ignore_commit(&self, t: Term, i: LogIndex, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `automata`
[INFO] [stdout]    --> src/raft/dfa.rs:331:13
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let automata = (0..n).fold(HashMap::new(), |mut automata, _| {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_automata`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `automaton`, `send_out`, `process_state`, and `process` are never read
[INFO] [stdout]   --> src/raft/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Raft<Message, State, Process>
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     automaton: Automaton<Message>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |     send_out: Sender<Message>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     process_state: State,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     process: Process,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Transition` is never used
[INFO] [stdout]   --> src/raft/dfa.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub enum Transition {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToFollower` is never constructed
[INFO] [stdout]   --> src/raft/dfa.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct ToFollower {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/raft/dfa.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl ToFollower {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 69 |     pub fn new(from: Term, to: Term) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToCandidate` is never constructed
[INFO] [stdout]   --> src/raft/dfa.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ToCandidate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/raft/dfa.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl ToCandidate {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 87 |     pub fn new(from: Term, to: Term) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToLeader` is never constructed
[INFO] [stdout]   --> src/raft/dfa.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct ToLeader {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/raft/dfa.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl ToLeader {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 104 |     pub fn new(term: Term) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Candidate` and `Leader` are never constructed
[INFO] [stdout]    --> src/raft/dfa.rs:118:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub enum State {
[INFO] [stdout]     |          ----- variants in this enum
[INFO] [stdout] 117 |     Follower,
[INFO] [stdout] 118 |     Candidate,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 119 |     Leader,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/raft/dfa.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub struct Automaton<T> {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 129 |     id: AutomatonRef,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 130 |     n: usize,
[INFO] [stdout]     |     ^
[INFO] [stdout] 131 |
[INFO] [stdout] 132 |     state: State,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 133 |     term: Term,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 134 |     votes: usize,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 135 |
[INFO] [stdout] 136 |     pending: HashMap<(Term, LogIndex), T>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 137 |     acks: HashMap<(Term, LogIndex), usize>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 138 |     log: HashMap<LogIndex, T>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/raft/dfa.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl<T> Automaton<T> {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn timeout(&mut self) -> Transition {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn vote(&mut self, t: Term, v: AutomatonRef) -> Transition {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn append(&mut self, t: Term, i: LogIndex, entry: T) -> Transition {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn ack(&mut self, t: Term, i: LogIndex) -> Transition {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn commit(&mut self, t: Term, i: LogIndex) -> Transition {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     fn try_change_leader(&mut self) -> Transition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     fn try_fast_forward(&mut self, t: Term) -> Transition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     fn ignore_vote(&self, t: Term, v: AutomatonRef, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     fn ignore_append(&self, t: Term, i: LogIndex, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn ignore_ack(&self, t: Term, i: LogIndex, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     fn ignore_commit(&self, t: Term, i: LogIndex, m: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.08s
[INFO] running `Command { std: "docker" "inspect" "1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba", kill_on_drop: false }`
[INFO] [stdout] 1e0b569b34ac621fd7b9209bee3bd167cad41197692a2cd3975074f1e9fde4ba
