[INFO] cloning repository https://github.com/daimaou92/ruft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daimaou92/ruft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaimaou92%2Fruft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaimaou92%2Fruft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8136fed5dd5c45c939814a4c96c752fbf201a1f5 [INFO] checking daimaou92/ruft against master#4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaimaou92%2Fruft" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daimaou92/ruft on toolchain 4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daimaou92/ruft [INFO] finished tweaking git repo https://github.com/daimaou92/ruft [INFO] tweaked toml for git repo https://github.com/daimaou92/ruft written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/daimaou92/ruft already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serde v0.8.0 [INFO] [stderr] Downloaded tarpc-plugins v0.12.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.17.2 [INFO] [stderr] Downloaded enum-ordinalize v3.1.11 [INFO] [stderr] Downloaded educe v0.4.19 [INFO] [stderr] Downloaded clap_lex v0.1.1 [INFO] [stderr] Downloaded tarpc v0.28.0 [INFO] [stderr] Downloaded clap v3.1.9 [INFO] [stderr] Downloaded opentelemetry v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aec9b8a95cd8e78d5fbfe4ce83942e17b61c3812a03ab6828dc5aeca4bbf9e08 [INFO] running `Command { std: "docker" "start" "-a" "aec9b8a95cd8e78d5fbfe4ce83942e17b61c3812a03ab6828dc5aeca4bbf9e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aec9b8a95cd8e78d5fbfe4ce83942e17b61c3812a03ab6828dc5aeca4bbf9e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec9b8a95cd8e78d5fbfe4ce83942e17b61c3812a03ab6828dc5aeca4bbf9e08", kill_on_drop: false }` [INFO] [stdout] aec9b8a95cd8e78d5fbfe4ce83942e17b61c3812a03ab6828dc5aeca4bbf9e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8b5a3dd05398cefde6bffb5fa3d386bb56f782160559375033a8e00c45c08fb [INFO] running `Command { std: "docker" "start" "-a" "d8b5a3dd05398cefde6bffb5fa3d386bb56f782160559375033a8e00c45c08fb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling enum-ordinalize v3.1.11 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling educe v0.4.19 [INFO] [stderr] Checking clap v3.1.9 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking tracing-opentelemetry v0.17.2 [INFO] [stderr] Checking tarpc v0.28.0 [INFO] [stderr] Checking ruft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Ready`, `io::Read` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | future::{self, Ready}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matches` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | str::{FromStr, Matches}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | time, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ready`, `io::Read` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | future::{self, Ready}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matches` [INFO] [stdout] --> src/main.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | str::{FromStr, Matches}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | time, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 24s [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/main.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut d = Duration::from_secs(0); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/main.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | let mut d = Duration::from_secs(0); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_id` is never read [INFO] [stdout] --> src/main.rs:601:13 [INFO] [stdout] | [INFO] [stdout] 601 | let mut self_id = NodeID::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `term` is never read [INFO] [stdout] --> src/main.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | let mut term = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_applied` is never read [INFO] [stdout] --> src/main.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | let mut last_applied = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node_id` is never read [INFO] [stdout] --> src/main.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | let mut node_id = NodeID::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_id` is never read [INFO] [stdout] --> src/main.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut self_id = NodeID::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/main.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | let mut d = Duration::from_secs(0); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `d` is never read [INFO] [stdout] --> src/main.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | let mut d = Duration::from_secs(0); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_id` is never read [INFO] [stdout] --> src/main.rs:601:13 [INFO] [stdout] | [INFO] [stdout] 601 | let mut self_id = NodeID::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `term` is never read [INFO] [stdout] --> src/main.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | let mut term = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_applied` is never read [INFO] [stdout] --> src/main.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | let mut last_applied = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `node_id` is never read [INFO] [stdout] --> src/main.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 394 | let mut node_id = NodeID::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_id` is never read [INFO] [stdout] --> src/main.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut self_id = NodeID::default(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `election` [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | election: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ElectionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_received` [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | votes_received: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElectionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn new(election: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leader` [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | leader: NodeID, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cluster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leader` [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | leader: NodeID, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | cluster: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster` [INFO] [stdout] --> src/main.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | cluster: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NodeServer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `election` [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | election: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ElectionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `votes_received` [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | votes_received: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElectionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn new(election: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leader` [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | leader: NodeID, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cluster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `leader` [INFO] [stdout] --> src/main.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | leader: NodeID, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster` [INFO] [stdout] --> src/main.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | cluster: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster` [INFO] [stdout] --> src/main.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | cluster: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NodeServer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:256:10 [INFO] [stdout] | [INFO] [stdout] 256 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8b5a3dd05398cefde6bffb5fa3d386bb56f782160559375033a8e00c45c08fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b5a3dd05398cefde6bffb5fa3d386bb56f782160559375033a8e00c45c08fb", kill_on_drop: false }` [INFO] [stdout] d8b5a3dd05398cefde6bffb5fa3d386bb56f782160559375033a8e00c45c08fb