[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] testing Nagaprasadvr/raft against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNagaprasadvr%2Fraft" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nagaprasadvr/raft on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libp2p-identity v0.2.9 [INFO] [stderr] Downloaded libp2p-tls v0.3.0 [INFO] [stderr] Downloaded libp2p-yamux v0.45.1 [INFO] [stderr] Downloaded oid-registry v0.7.0 [INFO] [stderr] Downloaded libp2p-core v0.41.2 [INFO] [stderr] Downloaded libp2p-tls v0.4.0 [INFO] [stderr] Downloaded libp2p-gossipsub v0.46.1 [INFO] [stderr] Downloaded async-std-resolver v0.24.1 [INFO] [stderr] Downloaded asn1-rs-derive v0.5.0 [INFO] [stderr] Downloaded prometheus-client v0.22.2 [INFO] [stderr] Downloaded asn1-rs v0.6.1 [INFO] [stderr] Downloaded tokio-js-set-interval v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abf0028acddf2b267453bedd6291cc9b5f5c6206f178bebab5eacd5ed7c61271 [INFO] running `Command { std: "docker" "start" "-a" "abf0028acddf2b267453bedd6291cc9b5f5c6206f178bebab5eacd5ed7c61271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abf0028acddf2b267453bedd6291cc9b5f5c6206f178bebab5eacd5ed7c61271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf0028acddf2b267453bedd6291cc9b5f5c6206f178bebab5eacd5ed7c61271", kill_on_drop: false }` [INFO] [stdout] abf0028acddf2b267453bedd6291cc9b5f5c6206f178bebab5eacd5ed7c61271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54de3c9805e45419891e81f1c1516f3b8bbd4166b176a49d5a641362f65f02ef [INFO] running `Command { std: "docker" "start" "-a" "54de3c9805e45419891e81f1c1516f3b8bbd4166b176a49d5a641362f65f02ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling piper v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.12.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling prometheus-client v0.22.2 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling rcgen v0.11.3 [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 zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yoke-derive v0.7.4 [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 data-encoding-macro v0.1.15 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling polling v3.7.2 [INFO] [stderr] Compiling netlink-packet-core v0.4.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling quinn-udp v0.5.2 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling async-io v2.3.3 [INFO] [stderr] Compiling netlink-packet-route v0.12.0 [INFO] [stderr] Compiling futures-rustls v0.24.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling asn1-rs v0.6.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling libp2p-identity v0.2.9 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling x509-parser v0.15.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling yamux v0.13.3 [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling quinn-proto v0.11.3 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling quinn v0.11.2 [INFO] [stderr] Compiling rtnetlink v0.10.1 [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 if-watch v3.2.0 [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-noise v0.44.0 [INFO] [stderr] Compiling libp2p-tls v0.3.0 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-yamux v0.45.1 [INFO] [stderr] Compiling libp2p-quic v0.10.3 [INFO] [stderr] Compiling libp2p-gossipsub v0.46.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-mdns v0.45.1 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.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)]` 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)]` 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)]` 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)]` 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)]` 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 { [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 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | pub state: DataAppendState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub data: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | pub staging_data: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub latest_commit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub latest_prepare_to_commit: Option, [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 NodeDataState { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 39 | pub fn commit(&mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn prepare_to_commit(&mut self, staging_data: StagingData) { [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, [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 { [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 { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 177 | pub peer_id: Option, [INFO] [stdout] 178 | pub term: Term, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | pub data_state: Option>, [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 NodeConfig { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 183 | pub fn default() -> NodeConfig { [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 38s [INFO] running `Command { std: "docker" "inspect" "54de3c9805e45419891e81f1c1516f3b8bbd4166b176a49d5a641362f65f02ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54de3c9805e45419891e81f1c1516f3b8bbd4166b176a49d5a641362f65f02ef", kill_on_drop: false }` [INFO] [stdout] 54de3c9805e45419891e81f1c1516f3b8bbd4166b176a49d5a641362f65f02ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5444eeecc04ef66a428467a4791b4c83b5e1dac9a1267bd6e93101bceb658322 [INFO] running `Command { std: "docker" "start" "-a" "5444eeecc04ef66a428467a4791b4c83b5e1dac9a1267bd6e93101bceb658322", 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)]` 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)]` 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)]` 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)]` 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)]` 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 { [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 { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 31 | pub state: DataAppendState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub data: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | pub staging_data: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | pub latest_commit: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub latest_prepare_to_commit: Option, [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 NodeDataState { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 39 | pub fn commit(&mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn prepare_to_commit(&mut self, staging_data: StagingData) { [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, [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 { [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 { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 177 | pub peer_id: Option, [INFO] [stdout] 178 | pub term: Term, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | pub data_state: Option>, [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 NodeConfig { [INFO] [stdout] | ----------------------------------------------- associated items in this implementation [INFO] [stdout] 183 | pub fn default() -> NodeConfig { [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 2.32s [INFO] running `Command { std: "docker" "inspect" "5444eeecc04ef66a428467a4791b4c83b5e1dac9a1267bd6e93101bceb658322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5444eeecc04ef66a428467a4791b4c83b5e1dac9a1267bd6e93101bceb658322", kill_on_drop: false }` [INFO] [stdout] 5444eeecc04ef66a428467a4791b4c83b5e1dac9a1267bd6e93101bceb658322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90a48ca83802331dc685c731f4018742ec3995c870aee995939e6273211e5fe6 [INFO] running `Command { std: "docker" "start" "-a" "90a48ca83802331dc685c731f4018742ec3995c870aee995939e6273211e5fe6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Hasher` [INFO] [stderr] --> src/utils/helpers.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | use libp2p::gossipsub::{Hasher, MessageId, PublishError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TopicHash` [INFO] [stderr] --> src/utils/helpers.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | use libp2p::gossipsub::{Topic, TopicHash}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::HashMap` and `default` [INFO] [stderr] --> src/utils/types.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, default}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:149:25 [INFO] [stderr] | [INFO] [stderr] 149 | _ =>{} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/main.rs:149:25 [INFO] [stderr] | [INFO] [stderr] 139 | MessageType::Heartbeat=>{ [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 143 | MessageType::LeaderAnnouncement=>{ [INFO] [stderr] | ------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 148 | MessageType::LogData=>{}, [INFO] [stderr] | -------------------- matches some of the same values [INFO] [stderr] 149 | _ =>{} [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leader_elections_interval` [INFO] [stderr] --> src/main.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let mut leader_elections_interval = time::interval(Duration::from_secs(20)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_elections_interval` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `check_for_leaders` [INFO] [stderr] --> src/main.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | let mut check_for_leaders = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_check_for_leaders` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let mut leader_elections_interval = time::interval(Duration::from_secs(20)); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let mut check_for_leaders = false; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: enum `Error` is never used [INFO] [stderr] --> src/utils/errors.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | pub enum Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `key` and `timestamp` are never read [INFO] [stderr] --> src/utils/helpers.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct LatestCommit { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 17 | pub key: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 18 | pub timestamp: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LatestCommit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `key` and `data` are never read [INFO] [stderr] --> src/utils/helpers.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct StagingData { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 23 | pub key: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 24 | pub data: T, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StagingData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `state`, `data`, `staging_data`, `latest_commit`, and `latest_prepare_to_commit` are never read [INFO] [stderr] --> src/utils/helpers.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct NodeDataState { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 31 | pub state: DataAppendState, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 32 | pub data: HashMap, [INFO] [stderr] | ^^^^ [INFO] [stderr] 33 | pub staging_data: Option>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 34 | pub latest_commit: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub latest_prepare_to_commit: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NodeDataState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `commit` and `prepare_to_commit` are never used [INFO] [stderr] --> src/utils/helpers.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 38 | impl NodeDataState { [INFO] [stderr] | ------------------------------- methods in this implementation [INFO] [stderr] 39 | pub fn commit(&mut self) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn prepare_to_commit(&mut self, staging_data: StagingData) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `time_stamp` is never read [INFO] [stderr] --> src/utils/helpers.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct LastHeartbeat { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 57 | pub time_stamp: u128, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LastHeartbeat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `term` is never read [INFO] [stderr] --> src/utils/helpers.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct RaftState { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 63 | pub leader: Option, [INFO] [stderr] 64 | pub term: Term, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RaftState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `print` and `get_leader` are never used [INFO] [stderr] --> src/utils/helpers.rs:108:12 [INFO] [stderr] | [INFO] [stderr] 70 | impl RaftState { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn get_leader(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `term` and `data_state` are never read [INFO] [stderr] --> src/utils/helpers.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 176 | pub struct NodeConfig { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 177 | pub peer_id: Option, [INFO] [stderr] 178 | pub term: Term, [INFO] [stderr] | ^^^^ [INFO] [stderr] 179 | pub data_state: Option>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NodeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `default`, `update_term`, and `print` are never used [INFO] [stderr] --> src/utils/helpers.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 182 | impl NodeConfig { [INFO] [stderr] | ----------------------------------------------- associated items in this implementation [INFO] [stderr] 183 | pub fn default() -> NodeConfig { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | pub fn update_term(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | pub fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_res` is never used [INFO] [stderr] --> src/utils/helpers.rs:218:14 [INFO] [stderr] | [INFO] [stderr] 218 | pub async fn get_res(elapsed: Duration) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `NodeRole` is never used [INFO] [stderr] --> src/utils/types.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum NodeRole { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Commited` and `PrepareToCommit` are never constructed [INFO] [stderr] --> src/utils/types.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum DataAppendState { [INFO] [stderr] | --------------- variants in this enum [INFO] [stderr] 11 | Commited, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | PrepareToCommit, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DataAppendState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `raft` (bin "raft" test) generated 21 warnings (run `cargo fix --bin "raft" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raft-ac2068569b9fbc24) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90a48ca83802331dc685c731f4018742ec3995c870aee995939e6273211e5fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a48ca83802331dc685c731f4018742ec3995c870aee995939e6273211e5fe6", kill_on_drop: false }` [INFO] [stdout] 90a48ca83802331dc685c731f4018742ec3995c870aee995939e6273211e5fe6