[INFO] cloning repository https://github.com/dat2/rust-raft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dat2/rust-raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdat2%2Frust-raft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdat2%2Frust-raft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8881ddba811664ddb4f67e143b876fc7f06a5c9d [INFO] checking dat2/rust-raft against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdat2%2Frust-raft" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dat2/rust-raft on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dat2/rust-raft [INFO] finished tweaking git repo https://github.com/dat2/rust-raft [INFO] tweaked toml for git repo https://github.com/dat2/rust-raft written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dat2/rust-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-io v0.1.1 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded mio v0.6.7 [INFO] [stderr] Downloaded serde_derive_internals v0.15.0 [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] [stderr] Downloaded serde v1.0.4 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded futures v0.1.13 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded tokio-core v0.1.7 [INFO] [stderr] Downloaded env_logger v0.4.1 [INFO] [stderr] Downloaded clap v2.20.5 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.4 [INFO] [stderr] Downloaded backtrace v0.3.0 [INFO] [stderr] Downloaded error-chain v0.7.2 [INFO] [stderr] Downloaded bytes v0.4.3 [INFO] [stderr] Downloaded serde_derive v1.0.4 [INFO] [stderr] Downloaded backtrace-sys v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cda59c686ac1788c8a473d1bf68c46f7e8c8727f0e71ccb816806be15be998e0 [INFO] running `Command { std: "docker" "start" "-a" "cda59c686ac1788c8a473d1bf68c46f7e8c8727f0e71ccb816806be15be998e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cda59c686ac1788c8a473d1bf68c46f7e8c8727f0e71ccb816806be15be998e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda59c686ac1788c8a473d1bf68c46f7e8c8727f0e71ccb816806be15be998e0", kill_on_drop: false }` [INFO] [stdout] cda59c686ac1788c8a473d1bf68c46f7e8c8727f0e71ccb816806be15be998e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fda7249a57320854f9d163acddcee4ec2d9d2111e8006f2f837f1467e3f86202 [INFO] running `Command { std: "docker" "start" "-a" "fda7249a57320854f9d163acddcee4ec2d9d2111e8006f2f837f1467e3f86202", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking serde v1.0.4 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking net2 v0.2.29 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Checking aho-corasick v0.6.2 [INFO] [stderr] Checking clap v2.20.5 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking mio v0.6.7 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Checking tokio-core v0.1.7 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Checking env_logger v0.4.1 [INFO] [stderr] Checking bincode v0.8.0 [INFO] [stderr] Checking error-chain v0.7.2 [INFO] [stderr] Checking raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnboundedReceiver` [INFO] [stdout] --> src/server.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::sync::mpsc::{unbounded, UnboundedSender, UnboundedReceiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnboundedReceiver` [INFO] [stdout] --> src/server.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::sync::mpsc::{unbounded, UnboundedSender, UnboundedReceiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / error_chain! { [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | types { [INFO] [stdout] 4 | | Error, ErrorKind, ResultExt, Result; [INFO] [stdout] ... | [INFO] [stdout] 12 | | } [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:53:60 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:87:85 [INFO] [stdout] | [INFO] [stdout] 87 | self.tx.send(oneshot_tx).map_err(|e| io::Error::new(io::ErrorKind::Other, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:89:87 [INFO] [stdout] | [INFO] [stdout] 89 | .and_then(|_| oneshot_rx.map_err(|e| io::Error::new(io::ErrorKind::Other, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:53:60 [INFO] [stdout] | [INFO] [stdout] 53 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:87:85 [INFO] [stdout] | [INFO] [stdout] 87 | self.tx.send(oneshot_tx).map_err(|e| io::Error::new(io::ErrorKind::Other, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/server.rs:89:87 [INFO] [stdout] | [INFO] [stdout] 89 | .and_then(|_| oneshot_rx.map_err(|e| io::Error::new(io::ErrorKind::Other, e.description()))) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:33:62 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => Err(io::Error::new(io::ErrorKind::Other, e.description())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Candidate` and `Leader` are never constructed [INFO] [stdout] --> src/state.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum StateEnum { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 20 | Follower(StateMachine), [INFO] [stdout] 21 | Candidate(StateMachine), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | Leader(StateMachine) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/state.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct StateMachine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | pub state: S, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateMachine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `voted_for` is never read [INFO] [stdout] --> src/state.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Follower { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 81 | voted_for: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Follower` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Candidate` and `Leader` are never constructed [INFO] [stdout] --> src/state.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum StateEnum { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 20 | Follower(StateMachine), [INFO] [stdout] 21 | Candidate(StateMachine), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | Leader(StateMachine) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/server.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | v.send(rng.gen()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = v.send(rng.gen()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/state.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct StateMachine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | pub state: S, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateMachine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `voted_for` is never read [INFO] [stdout] --> src/state.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Follower { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 81 | voted_for: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Follower` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/server.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | v.send(rng.gen()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 107 | let _ = v.send(rng.gen()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => Err(e.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => Err(e.description().to_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fda7249a57320854f9d163acddcee4ec2d9d2111e8006f2f837f1467e3f86202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fda7249a57320854f9d163acddcee4ec2d9d2111e8006f2f837f1467e3f86202", kill_on_drop: false }` [INFO] [stdout] fda7249a57320854f9d163acddcee4ec2d9d2111e8006f2f837f1467e3f86202 [INFO] checking dat2/rust-raft against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdat2%2Frust-raft" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dat2/rust-raft on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dat2/rust-raft [INFO] finished tweaking git repo https://github.com/dat2/rust-raft [INFO] tweaked toml for git repo https://github.com/dat2/rust-raft written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dat2/rust-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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7203f837d951158fe1c4fa793e516757de2cf7db33e720e0dd987618abeeb5d6 [INFO] running `Command { std: "docker" "start" "-a" "7203f837d951158fe1c4fa793e516757de2cf7db33e720e0dd987618abeeb5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7203f837d951158fe1c4fa793e516757de2cf7db33e720e0dd987618abeeb5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7203f837d951158fe1c4fa793e516757de2cf7db33e720e0dd987618abeeb5d6", kill_on_drop: false }` [INFO] [stdout] 7203f837d951158fe1c4fa793e516757de2cf7db33e720e0dd987618abeeb5d6 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdb9bad32feb412263254bf559e29565a1ddb58b10c8013ff384b71c3cf427fd [INFO] running `Command { std: "docker" "start" "-a" "cdb9bad32feb412263254bf559e29565a1ddb58b10c8013ff384b71c3cf427fd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.4 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking serde v1.0.4 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.1.37/src/lib.rs:229:54 [INFO] [stdout] | [INFO] [stdout] 229 | (true, Ok(exp)) => base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 242 | float_trait_impl!(Num for f32 f64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `float_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.1.37/src/lib.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | (false, Ok(exp)) => 1.0 / base.powi(exp as i32), [INFO] [stdout] | ^^^^ multiple `powi` found [INFO] [stdout] ... [INFO] [stdout] 242 | float_trait_impl!(Num for f32 f64); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `f128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `f16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `f32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `f64` [INFO] [stdout] = note: this error originates in the macro `float_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking net2 v0.2.29 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.2.3 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.6.2 [INFO] [stderr] Checking clap v2.20.5 [INFO] [stderr] error: could not compile `num-traits` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cdb9bad32feb412263254bf559e29565a1ddb58b10c8013ff384b71c3cf427fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb9bad32feb412263254bf559e29565a1ddb58b10c8013ff384b71c3cf427fd", kill_on_drop: false }` [INFO] [stdout] cdb9bad32feb412263254bf559e29565a1ddb58b10c8013ff384b71c3cf427fd