[INFO] cloning repository https://github.com/Nagaprasadvr/raft
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nagaprasadvr/raft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNagaprasadvr%2Fraft", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNagaprasadvr%2Fraft'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 88cafeebca7e09b8ae45902a7bd57ef291157fdf
[INFO] building Nagaprasadvr/raft against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNagaprasadvr%2Fraft" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Nagaprasadvr/raft
[INFO] finished tweaking git repo https://github.com/Nagaprasadvr/raft
[INFO] tweaked toml for git repo https://github.com/Nagaprasadvr/raft written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nagaprasadvr/raft on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Nagaprasadvr/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded data-encoding-macro-internal v0.1.13
[INFO] [stderr]   Downloaded libp2p v0.53.2
[INFO] [stderr]   Downloaded data-encoding-macro v0.1.15
[INFO] [stderr]   Downloaded multiaddr v0.18.1
[INFO] [stderr]   Downloaded multihash v0.19.1
[INFO] [stderr]   Downloaded tokio-js-set-interval v1.3.0
[INFO] [stderr]   Downloaded value-bag v1.9.0
[INFO] [stderr]   Downloaded rtnetlink v0.10.1
[INFO] [stderr]   Downloaded libp2p-identity v0.2.9
[INFO] [stderr]   Downloaded libp2p-allow-block-list v0.3.0
[INFO] [stderr]   Downloaded libp2p-tcp v0.41.0
[INFO] [stderr]   Downloaded libp2p-connection-limits v0.3.1
[INFO] [stderr]   Downloaded async-std-resolver v0.24.1
[INFO] [stderr]   Downloaded oid-registry v0.7.0
[INFO] [stderr]   Downloaded libp2p-noise v0.44.0
[INFO] [stderr]   Downloaded libp2p-gossipsub v0.46.1
[INFO] [stderr]   Downloaded smol v1.3.0
[INFO] [stderr]   Downloaded quinn-proto v0.11.3
[INFO] [stderr]   Downloaded asn1-rs v0.6.1
[INFO] [stderr]   Downloaded rustix v0.37.27
[INFO] [stderr]   Downloaded rustls-webpki v0.102.4
[INFO] [stderr]   Downloaded async-std v1.12.0
[INFO] [stderr]   Downloaded netlink-packet-route v0.12.0
[INFO] [stderr]   Downloaded x509-parser v0.15.1
[INFO] [stderr]   Downloaded libp2p-swarm v0.44.2
[INFO] [stderr]   Downloaded rcgen v0.11.3
[INFO] [stderr]   Downloaded libp2p-core v0.41.2
[INFO] [stderr]   Downloaded if-watch v3.2.0
[INFO] [stderr]   Downloaded futures-rustls v0.24.0
[INFO] [stderr]   Downloaded libp2p-quic v0.10.3
[INFO] [stderr]   Downloaded quinn v0.11.2
[INFO] [stderr]   Downloaded rustls v0.23.10
[INFO] [stderr]   Downloaded async-net v1.8.0
[INFO] [stderr]   Downloaded libp2p-tls v0.3.0
[INFO] [stderr]   Downloaded libp2p-dns v0.41.1
[INFO] [stderr]   Downloaded enum-as-inner v0.6.0
[INFO] [stderr]   Downloaded libp2p-mdns v0.45.1
[INFO] [stderr]   Downloaded futures-ticker v0.0.3
[INFO] [stderr]   Downloaded libp2p-tls v0.4.0
[INFO] [stderr]   Downloaded quinn-udp v0.5.2
[INFO] [stderr]   Downloaded netlink-sys v0.8.6
[INFO] [stderr]   Downloaded netlink-proto v0.10.0
[INFO] [stderr]   Downloaded libp2p-metrics v0.14.1
[INFO] [stderr]   Downloaded libp2p-yamux v0.45.1
[INFO] [stderr]   Downloaded platforms v3.4.0
[INFO] [stderr]   Downloaded curve25519-dalek v4.1.2
[INFO] [stderr]   Downloaded prometheus-client v0.22.2
[INFO] [stderr]   Downloaded libp2p-ping v0.44.1
[INFO] [stderr]   Downloaded asn1-rs-derive v0.5.0
[INFO] [stderr]   Downloaded netlink-packet-core v0.4.2
[INFO] [stderr]   Downloaded libp2p-swarm-derive v0.34.2
[INFO] [stderr]   Downloaded yamux v0.13.3
[INFO] [stderr]   Downloaded igd-next v0.14.3
[INFO] [stderr]   Downloaded libp2p-upnp v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6f8dc6ecafdccec295d494173f332c59869e03b8d964a1cf5734a258cba889a
[INFO] running `Command { std: "docker" "start" "-a" "e6f8dc6ecafdccec295d494173f332c59869e03b8d964a1cf5734a258cba889a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6f8dc6ecafdccec295d494173f332c59869e03b8d964a1cf5734a258cba889a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6f8dc6ecafdccec295d494173f332c59869e03b8d964a1cf5734a258cba889a", kill_on_drop: false }`
[INFO] [stdout] e6f8dc6ecafdccec295d494173f332c59869e03b8d964a1cf5734a258cba889a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7376598c2fa8e616f23c90a66783c1218e7642aa98b2a25a3d03f8a2a180df2f
[INFO] running `Command { std: "docker" "start" "-a" "7376598c2fa8e616f23c90a66783c1218e7642aa98b2a25a3d03f8a2a180df2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling value-bag v1.9.0
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling litemap v0.7.3
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling unsigned-varint v0.7.2
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling quick-protobuf v0.8.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling core2 v0.4.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling multihash v0.19.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling base-x v0.2.11
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling unsigned-varint v0.8.0
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling async-executor v1.12.0
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling rusticata-macros v4.1.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling rustls v0.23.10
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling oid-registry v0.7.0
[INFO] [stderr]    Compiling oid-registry v0.6.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]    Compiling prometheus-client v0.22.2
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling dtoa v1.0.9
[INFO] [stderr]    Compiling hex_fmt v0.3.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling pem v3.0.4
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling lru v0.12.3
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.13
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling data-encoding-macro v0.1.15
[INFO] [stderr]    Compiling multibase v0.9.1
[INFO] [stderr]    Compiling rcgen v0.11.3
[INFO] [stderr]    Compiling rustls-webpki v0.102.4
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling zerovec-derive v0.10.2
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.2.0
[INFO] [stderr]    Compiling libp2p-swarm-derive v0.34.2
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling asn1-rs-derive v0.5.0
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling enum-as-inner v0.6.0
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling netlink-packet-utils v0.5.2
[INFO] [stderr]    Compiling asn1-rs v0.6.1
[INFO] [stderr]    Compiling asn1-rs v0.5.2
[INFO] [stderr]    Compiling netlink-packet-core v0.4.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling zerofrom v0.1.4
[INFO] [stderr]    Compiling netlink-packet-route v0.12.0
[INFO] [stderr]    Compiling yoke v0.7.4
[INFO] [stderr]    Compiling polling v3.7.2
[INFO] [stderr]    Compiling quinn-udp v0.5.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling zerovec v0.10.2
[INFO] [stderr]    Compiling futures-rustls v0.24.0
[INFO] [stderr]    Compiling async-io v2.3.3
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling libp2p-identity v0.2.9
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling der-parser v9.0.0
[INFO] [stderr]    Compiling der-parser v8.2.0
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling x25519-dalek v2.0.1
[INFO] [stderr]    Compiling x509-parser v0.16.0
[INFO] [stderr]    Compiling x509-parser v0.15.1
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling asynchronous-codec v0.7.0
[INFO] [stderr]    Compiling quick-protobuf-codec v0.3.1
[INFO] [stderr]    Compiling futures-rustls v0.26.0
[INFO] [stderr]    Compiling quinn-proto v0.11.3
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling rw-stream-sink v0.4.0
[INFO] [stderr]    Compiling multistream-select v0.13.0
[INFO] [stderr]    Compiling futures-ticker v0.0.3
[INFO] [stderr]    Compiling yamux v0.12.1
[INFO] [stderr]    Compiling yamux v0.13.3
[INFO] [stderr]    Compiling icu_properties v1.5.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling netlink-sys v0.8.6
[INFO] [stderr]    Compiling tokio-js-set-interval v1.3.0
[INFO] [stderr]    Compiling netlink-proto v0.10.0
[INFO] [stderr]    Compiling rtnetlink v0.10.1
[INFO] [stderr]    Compiling quinn v0.11.2
[INFO] [stderr]    Compiling if-watch v3.2.0
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna v1.0.0
[INFO] [stderr]    Compiling url v2.5.1
[INFO] [stderr]    Compiling multiaddr v0.18.1
[INFO] [stderr]    Compiling hickory-proto v0.24.1
[INFO] [stderr]    Compiling libp2p-core v0.41.2
[INFO] [stderr]    Compiling libp2p-swarm v0.44.2
[INFO] [stderr]    Compiling libp2p-tls v0.4.0
[INFO] [stderr]    Compiling libp2p-yamux v0.45.1
[INFO] [stderr]    Compiling libp2p-noise v0.44.0
[INFO] [stderr]    Compiling libp2p-tls v0.3.0
[INFO] [stderr]    Compiling libp2p-tcp v0.41.0
[INFO] [stderr]    Compiling libp2p-quic v0.10.3
[INFO] [stderr]    Compiling libp2p-mdns v0.45.1
[INFO] [stderr]    Compiling libp2p-allow-block-list v0.3.0
[INFO] [stderr]    Compiling libp2p-gossipsub v0.46.1
[INFO] [stderr]    Compiling libp2p-connection-limits v0.3.1
[INFO] [stderr]    Compiling libp2p-ping v0.44.1
[INFO] [stderr]    Compiling libp2p v0.53.2
[INFO] [stderr]    Compiling raft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/utils/helpers.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libp2p::gossipsub::{Hasher, MessageId, PublishError};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TopicHash`
[INFO] [stdout]  --> src/utils/helpers.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libp2p::gossipsub::{Topic, TopicHash};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `default`
[INFO] [stdout]  --> src/utils/types.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, default};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |                         _ =>{}
[INFO] [stdout]     |                         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 139 |                         MessageType::Heartbeat=>{
[INFO] [stdout]     |                         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 143 |                         MessageType::LeaderAnnouncement=>{
[INFO] [stdout]     |                         ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 148 |                         MessageType::LogData=>{},
[INFO] [stdout]     |                         -------------------- matches some of the same values
[INFO] [stdout] 149 |                         _ =>{}
[INFO] [stdout]     |                         ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_elections_interval`
[INFO] [stdout]   --> src/main.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut leader_elections_interval = time::interval(Duration::from_secs(20));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_elections_interval`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_for_leaders`
[INFO] [stdout]   --> src/main.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut check_for_leaders = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_for_leaders`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut leader_elections_interval = time::interval(Duration::from_secs(20));
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut check_for_leaders = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/utils/errors.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `timestamp` are never read
[INFO] [stdout]   --> src/utils/helpers.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct LatestCommit {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 17 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 18 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LatestCommit` 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: fields `key` and `data` are never read
[INFO] [stdout]   --> src/utils/helpers.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct StagingData<T: Clone> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 23 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 24 |     pub data: T,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StagingData` 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: fields `state`, `data`, `staging_data`, `latest_commit`, and `latest_prepare_to_commit` are never read
[INFO] [stdout]   --> src/utils/helpers.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct NodeDataState<T: Clone> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 31 |     pub state: DataAppendState,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 32 |     pub data: HashMap<String, T>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |     pub staging_data: Option<StagingData<T>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 34 |     pub latest_commit: Option<LatestCommit>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     pub latest_prepare_to_commit: Option<LatestPrepareToCommit>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeDataState` 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: methods `commit` and `prepare_to_commit` are never used
[INFO] [stdout]   --> src/utils/helpers.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<T: Clone> NodeDataState<T> {
[INFO] [stdout]    | ------------------------------- methods in this implementation
[INFO] [stdout] 39 |     pub fn commit(&mut self) -> Result<String, Error> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn prepare_to_commit(&mut self, staging_data: StagingData<T>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time_stamp` is never read
[INFO] [stdout]   --> src/utils/helpers.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct LastHeartbeat {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 57 |     pub time_stamp: u128,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LastHeartbeat` 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 `term` is never read
[INFO] [stdout]   --> src/utils/helpers.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RaftState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 63 |     pub leader: Option<PeerId>,
[INFO] [stdout] 64 |     pub term: Term,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RaftState` 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: methods `print` and `get_leader` are never used
[INFO] [stdout]    --> src/utils/helpers.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl RaftState {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn get_leader(&self) -> Option<PeerId> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `term` and `data_state` are never read
[INFO] [stdout]    --> src/utils/helpers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 176 | pub struct NodeConfig<T: Clone> {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 177 |     pub peer_id: Option<PeerId>,
[INFO] [stdout] 178 |     pub term: Term,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 179 |     pub data_state: Option<NodeDataState<T>>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NodeConfig` 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: associated items `default`, `update_term`, and `print` are never used
[INFO] [stdout]    --> src/utils/helpers.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl<T: Clone + Debug + DerefMut> NodeConfig<T> {
[INFO] [stdout]     | ----------------------------------------------- associated items in this implementation
[INFO] [stdout] 183 |     pub fn default() -> NodeConfig<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn update_term(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_res` is never used
[INFO] [stdout]    --> src/utils/helpers.rs:218:14
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub async fn get_res(elapsed: Duration) -> bool {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeRole` is never used
[INFO] [stdout]  --> src/utils/types.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum NodeRole {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Commited` and `PrepareToCommit` are never constructed
[INFO] [stdout]   --> src/utils/types.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DataAppendState {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 11 |     Commited,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     PrepareToCommit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataAppendState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] running `Command { std: "docker" "inspect" "7376598c2fa8e616f23c90a66783c1218e7642aa98b2a25a3d03f8a2a180df2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7376598c2fa8e616f23c90a66783c1218e7642aa98b2a25a3d03f8a2a180df2f", kill_on_drop: false }`
[INFO] [stdout] 7376598c2fa8e616f23c90a66783c1218e7642aa98b2a25a3d03f8a2a180df2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d9ef0c72c73ffbdb32208fa5115c9961769e4a4c03c60d69106074dc84040a2
[INFO] running `Command { std: "docker" "start" "-a" "9d9ef0c72c73ffbdb32208fa5115c9961769e4a4c03c60d69106074dc84040a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling raft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]  --> src/utils/helpers.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libp2p::gossipsub::{Hasher, MessageId, PublishError};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TopicHash`
[INFO] [stdout]  --> src/utils/helpers.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libp2p::gossipsub::{Topic, TopicHash};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::HashMap` and `default`
[INFO] [stdout]  --> src/utils/types.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, default};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/main.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 149 |                         _ =>{}
[INFO] [stdout]     |                         ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/main.rs:149:25
[INFO] [stdout]     |
[INFO] [stdout] 139 |                         MessageType::Heartbeat=>{
[INFO] [stdout]     |                         ---------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 143 |                         MessageType::LeaderAnnouncement=>{
[INFO] [stdout]     |                         ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 148 |                         MessageType::LogData=>{},
[INFO] [stdout]     |                         -------------------- matches some of the same values
[INFO] [stdout] 149 |                         _ =>{}
[INFO] [stdout]     |                         ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leader_elections_interval`
[INFO] [stdout]   --> src/main.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut leader_elections_interval = time::interval(Duration::from_secs(20));
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_elections_interval`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `check_for_leaders`
[INFO] [stdout]   --> src/main.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut check_for_leaders = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_for_leaders`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let mut leader_elections_interval = time::interval(Duration::from_secs(20));
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut check_for_leaders = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/utils/errors.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `key` and `timestamp` are never read
[INFO] [stdout]   --> src/utils/helpers.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct LatestCommit {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 17 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 18 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LatestCommit` 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: fields `key` and `data` are never read
[INFO] [stdout]   --> src/utils/helpers.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct StagingData<T: Clone> {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 23 |     pub key: String,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 24 |     pub data: T,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StagingData` 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: fields `state`, `data`, `staging_data`, `latest_commit`, and `latest_prepare_to_commit` are never read
[INFO] [stdout]   --> src/utils/helpers.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct NodeDataState<T: Clone> {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 31 |     pub state: DataAppendState,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 32 |     pub data: HashMap<String, T>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |     pub staging_data: Option<StagingData<T>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 34 |     pub latest_commit: Option<LatestCommit>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 35 |     pub latest_prepare_to_commit: Option<LatestPrepareToCommit>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeDataState` 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: methods `commit` and `prepare_to_commit` are never used
[INFO] [stdout]   --> src/utils/helpers.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<T: Clone> NodeDataState<T> {
[INFO] [stdout]    | ------------------------------- methods in this implementation
[INFO] [stdout] 39 |     pub fn commit(&mut self) -> Result<String, Error> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn prepare_to_commit(&mut self, staging_data: StagingData<T>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time_stamp` is never read
[INFO] [stdout]   --> src/utils/helpers.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct LastHeartbeat {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 57 |     pub time_stamp: u128,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LastHeartbeat` 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 `term` is never read
[INFO] [stdout]   --> src/utils/helpers.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RaftState {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 63 |     pub leader: Option<PeerId>,
[INFO] [stdout] 64 |     pub term: Term,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RaftState` 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: methods `print` and `get_leader` are never used
[INFO] [stdout]    --> src/utils/helpers.rs:108:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl RaftState {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn get_leader(&self) -> Option<PeerId> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `term` and `data_state` are never read
[INFO] [stdout]    --> src/utils/helpers.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 176 | pub struct NodeConfig<T: Clone> {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 177 |     pub peer_id: Option<PeerId>,
[INFO] [stdout] 178 |     pub term: Term,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 179 |     pub data_state: Option<NodeDataState<T>>,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NodeConfig` 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: associated items `default`, `update_term`, and `print` are never used
[INFO] [stdout]    --> src/utils/helpers.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl<T: Clone + Debug + DerefMut> NodeConfig<T> {
[INFO] [stdout]     | ----------------------------------------------- associated items in this implementation
[INFO] [stdout] 183 |     pub fn default() -> NodeConfig<T> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn update_term(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_res` is never used
[INFO] [stdout]    --> src/utils/helpers.rs:218:14
[INFO] [stdout]     |
[INFO] [stdout] 218 | pub async fn get_res(elapsed: Duration) -> bool {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NodeRole` is never used
[INFO] [stdout]  --> src/utils/types.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum NodeRole {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Commited` and `PrepareToCommit` are never constructed
[INFO] [stdout]   --> src/utils/types.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum DataAppendState {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 11 |     Commited,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 12 |     PrepareToCommit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataAppendState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s
[INFO] running `Command { std: "docker" "inspect" "9d9ef0c72c73ffbdb32208fa5115c9961769e4a4c03c60d69106074dc84040a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d9ef0c72c73ffbdb32208fa5115c9961769e4a4c03c60d69106074dc84040a2", kill_on_drop: false }`
[INFO] [stdout] 9d9ef0c72c73ffbdb32208fa5115c9961769e4a4c03c60d69106074dc84040a2
