[INFO] fetching crate d9d_consensus 0.1.0... [INFO] testing d9d_consensus-0.1.0 against try#fc4ba03ef77ca5018fb78a097d3b924d30f15bfc+target=i686-unknown-linux-musl for musl_upgrade_1_2_take3 [INFO] extracting crate d9d_consensus 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate d9d_consensus 0.1.0 on toolchain fc4ba03ef77ca5018fb78a097d3b924d30f15bfc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-select-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-join-macro-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.18 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 885e76d30aeb0d6cb4da2fab0720ef5a2a31dd20ddf08aede4fd3ec6268ccd01 [INFO] running `Command { std: "docker" "start" "-a" "885e76d30aeb0d6cb4da2fab0720ef5a2a31dd20ddf08aede4fd3ec6268ccd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "885e76d30aeb0d6cb4da2fab0720ef5a2a31dd20ddf08aede4fd3ec6268ccd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "885e76d30aeb0d6cb4da2fab0720ef5a2a31dd20ddf08aede4fd3ec6268ccd01", kill_on_drop: false }` [INFO] [stdout] 885e76d30aeb0d6cb4da2fab0720ef5a2a31dd20ddf08aede4fd3ec6268ccd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0c3979434aa16c317c2f6f43451d6f43c79f369146a422f711132bc7168764ea [INFO] running `Command { std: "docker" "start" "-a" "0c3979434aa16c317c2f6f43451d6f43c79f369146a422f711132bc7168764ea", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling regex v1.7.0 [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] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling 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: 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 [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | automaton: Automaton, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | send_out: Sender, [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)]` on by default [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 { [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, [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] 69 | pub fn new(from: Term, to: Term) -> Self { [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] 87 | pub fn new(from: Term, to: Term) -> Self { [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] 104 | pub fn new(term: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `timeout` is never used [INFO] [stdout] --> src/raft/dfa.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn timeout(&mut self) -> Transition { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vote` is never used [INFO] [stdout] --> src/raft/dfa.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn vote(&mut self, t: Term, v: AutomatonRef) -> Transition { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `append` is never used [INFO] [stdout] --> src/raft/dfa.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn append(&mut self, t: Term, i: LogIndex, entry: T) -> Transition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ack` is never used [INFO] [stdout] --> src/raft/dfa.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn ack(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `commit` is never used [INFO] [stdout] --> src/raft/dfa.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn commit(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_change_leader` is never used [INFO] [stdout] --> src/raft/dfa.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn try_change_leader(&mut self) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_fast_forward` is never used [INFO] [stdout] --> src/raft/dfa.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn try_fast_forward(&mut self, t: Term) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_vote` is never used [INFO] [stdout] --> src/raft/dfa.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn ignore_vote(&self, t: Term, v: AutomatonRef, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_append` is never used [INFO] [stdout] --> src/raft/dfa.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn ignore_append(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_ack` is never used [INFO] [stdout] --> src/raft/dfa.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn ignore_ack(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_commit` is never used [INFO] [stdout] --> src/raft/dfa.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn ignore_commit(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.89s [INFO] running `Command { std: "docker" "inspect" "0c3979434aa16c317c2f6f43451d6f43c79f369146a422f711132bc7168764ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3979434aa16c317c2f6f43451d6f43c79f369146a422f711132bc7168764ea", kill_on_drop: false }` [INFO] [stdout] 0c3979434aa16c317c2f6f43451d6f43c79f369146a422f711132bc7168764ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 62b79b05edf9de2865dd2536e7d46630d3d7b872af13104ea1d165abcc0633b3 [INFO] running `Command { std: "docker" "start" "-a" "62b79b05edf9de2865dd2536e7d46630d3d7b872af13104ea1d165abcc0633b3", kill_on_drop: false }` [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 [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | automaton: Automaton, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | send_out: Sender, [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)]` on by default [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 { [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, [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] 69 | pub fn new(from: Term, to: Term) -> Self { [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] 87 | pub fn new(from: Term, to: Term) -> Self { [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] 104 | pub fn new(term: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `timeout` is never used [INFO] [stdout] --> src/raft/dfa.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn timeout(&mut self) -> Transition { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vote` is never used [INFO] [stdout] --> src/raft/dfa.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn vote(&mut self, t: Term, v: AutomatonRef) -> Transition { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `append` is never used [INFO] [stdout] --> src/raft/dfa.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn append(&mut self, t: Term, i: LogIndex, entry: T) -> Transition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ack` is never used [INFO] [stdout] --> src/raft/dfa.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn ack(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `commit` is never used [INFO] [stdout] --> src/raft/dfa.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn commit(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_change_leader` is never used [INFO] [stdout] --> src/raft/dfa.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn try_change_leader(&mut self) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_fast_forward` is never used [INFO] [stdout] --> src/raft/dfa.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn try_fast_forward(&mut self, t: Term) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_vote` is never used [INFO] [stdout] --> src/raft/dfa.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn ignore_vote(&self, t: Term, v: AutomatonRef, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_append` is never used [INFO] [stdout] --> src/raft/dfa.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn ignore_append(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_ack` is never used [INFO] [stdout] --> src/raft/dfa.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn ignore_ack(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_commit` is never used [INFO] [stdout] --> src/raft/dfa.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn ignore_commit(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: 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)]` 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 [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | automaton: Automaton, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | send_out: Sender, [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)]` on by default [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 { [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, [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] 69 | pub fn new(from: Term, to: Term) -> Self { [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] 87 | pub fn new(from: Term, to: Term) -> Self { [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] 104 | pub fn new(term: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `timeout` is never used [INFO] [stdout] --> src/raft/dfa.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn timeout(&mut self) -> Transition { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `vote` is never used [INFO] [stdout] --> src/raft/dfa.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn vote(&mut self, t: Term, v: AutomatonRef) -> Transition { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `append` is never used [INFO] [stdout] --> src/raft/dfa.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn append(&mut self, t: Term, i: LogIndex, entry: T) -> Transition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ack` is never used [INFO] [stdout] --> src/raft/dfa.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn ack(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `commit` is never used [INFO] [stdout] --> src/raft/dfa.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn commit(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_change_leader` is never used [INFO] [stdout] --> src/raft/dfa.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | fn try_change_leader(&mut self) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `try_fast_forward` is never used [INFO] [stdout] --> src/raft/dfa.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn try_fast_forward(&mut self, t: Term) -> Transition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_vote` is never used [INFO] [stdout] --> src/raft/dfa.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | fn ignore_vote(&self, t: Term, v: AutomatonRef, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_append` is never used [INFO] [stdout] --> src/raft/dfa.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | fn ignore_append(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_ack` is never used [INFO] [stdout] --> src/raft/dfa.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn ignore_ack(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `ignore_commit` is never used [INFO] [stdout] --> src/raft/dfa.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn ignore_commit(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "62b79b05edf9de2865dd2536e7d46630d3d7b872af13104ea1d165abcc0633b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b79b05edf9de2865dd2536e7d46630d3d7b872af13104ea1d165abcc0633b3", kill_on_drop: false }` [INFO] [stdout] 62b79b05edf9de2865dd2536e7d46630d3d7b872af13104ea1d165abcc0633b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f733e2d6a87a5fa22157960aed2ad4dc5ab53c9d4803cc39112f7bafdb62781d [INFO] running `Command { std: "docker" "start" "-a" "f733e2d6a87a5fa22157960aed2ad4dc5ab53c9d4803cc39112f7bafdb62781d", kill_on_drop: false }` [INFO] [stderr] warning: the feature `async_await` has been stable since 1.39.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(async_await)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `automaton`, `send_out`, `process_state`, and `process` are never read [INFO] [stderr] --> src/raft/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Raft [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | automaton: Automaton, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 16 | [INFO] [stderr] 17 | send_out: Sender, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | process_state: State, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 21 | process: Process, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Candidate` and `Leader` are never constructed [INFO] [stderr] --> src/raft/dfa.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub enum State { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 117 | Follower, [INFO] [stderr] 118 | Candidate, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 119 | Leader, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/raft/dfa.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 128 | pub struct Automaton { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 129 | id: AutomatonRef, [INFO] [stderr] | ^^ [INFO] [stderr] 130 | n: usize, [INFO] [stderr] | ^ [INFO] [stderr] 131 | [INFO] [stderr] 132 | state: State, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 133 | term: Term, [INFO] [stderr] | ^^^^ [INFO] [stderr] 134 | votes: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 135 | [INFO] [stderr] 136 | pending: HashMap<(Term, LogIndex), T>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 137 | acks: HashMap<(Term, LogIndex), usize>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 138 | log: HashMap, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/raft/dfa.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn new(from: Term, to: Term) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/raft/dfa.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn new(from: Term, to: Term) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/raft/dfa.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn new(term: Term) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `timeout` is never used [INFO] [stderr] --> src/raft/dfa.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn timeout(&mut self) -> Transition { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `vote` is never used [INFO] [stderr] --> src/raft/dfa.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn vote(&mut self, t: Term, v: AutomatonRef) -> Transition { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `append` is never used [INFO] [stderr] --> src/raft/dfa.rs:205:12 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn append(&mut self, t: Term, i: LogIndex, entry: T) -> Transition { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `ack` is never used [INFO] [stderr] --> src/raft/dfa.rs:225:12 [INFO] [stderr] | [INFO] [stderr] 225 | pub fn ack(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `commit` is never used [INFO] [stderr] --> src/raft/dfa.rs:253:12 [INFO] [stderr] | [INFO] [stderr] 253 | pub fn commit(&mut self, t: Term, i: LogIndex) -> Transition { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `try_change_leader` is never used [INFO] [stderr] --> src/raft/dfa.rs:273:8 [INFO] [stderr] | [INFO] [stderr] 273 | fn try_change_leader(&mut self) -> Transition { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `try_fast_forward` is never used [INFO] [stderr] --> src/raft/dfa.rs:285:8 [INFO] [stderr] | [INFO] [stderr] 285 | fn try_fast_forward(&mut self, t: Term) -> Transition { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `ignore_vote` is never used [INFO] [stderr] --> src/raft/dfa.rs:302:8 [INFO] [stderr] | [INFO] [stderr] 302 | fn ignore_vote(&self, t: Term, v: AutomatonRef, m: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `ignore_append` is never used [INFO] [stderr] --> src/raft/dfa.rs:306:8 [INFO] [stderr] | [INFO] [stderr] 306 | fn ignore_append(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `ignore_ack` is never used [INFO] [stderr] --> src/raft/dfa.rs:310:8 [INFO] [stderr] | [INFO] [stderr] 310 | fn ignore_ack(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `ignore_commit` is never used [INFO] [stderr] --> src/raft/dfa.rs:314:8 [INFO] [stderr] | [INFO] [stderr] 314 | fn ignore_commit(&self, t: Term, i: LogIndex, m: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `automata` [INFO] [stderr] --> src/raft/dfa.rs:331:13 [INFO] [stderr] | [INFO] [stderr] 331 | let automata = (0..n).fold(HashMap::new(), |mut automata, _| { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_automata` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `d9d_consensus` (lib) generated 18 warnings [INFO] [stderr] warning: `d9d_consensus` (lib test) generated 19 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/d9d_consensus-780fa70bccdc76df) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test raft::dfa::test::voting ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f733e2d6a87a5fa22157960aed2ad4dc5ab53c9d4803cc39112f7bafdb62781d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f733e2d6a87a5fa22157960aed2ad4dc5ab53c9d4803cc39112f7bafdb62781d", kill_on_drop: false }` [INFO] [stdout] f733e2d6a87a5fa22157960aed2ad4dc5ab53c9d4803cc39112f7bafdb62781d