[INFO] cloning repository https://github.com/cool-develope/simple-consensus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cool-develope/simple-consensus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcool-develope%2Fsimple-consensus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcool-develope%2Fsimple-consensus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73e35b19a8f0aad0544755cf293c4b45b685a78f [INFO] building cool-develope/simple-consensus against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcool-develope%2Fsimple-consensus" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cool-develope/simple-consensus on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cool-develope/simple-consensus [INFO] finished tweaking git repo https://github.com/cool-develope/simple-consensus [INFO] tweaked toml for git repo https://github.com/cool-develope/simple-consensus written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cool-develope/simple-consensus 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libp2p-request-response v0.28.0 [INFO] [stderr] Downloaded libp2p-yamux v0.47.0 [INFO] [stderr] Downloaded cbor4ii v0.3.3 [INFO] [stderr] Downloaded libp2p-upnp v0.4.0 [INFO] [stderr] Downloaded libp2p-core v0.43.0 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.5.0 [INFO] [stderr] Downloaded libp2p-connection-limits v0.5.0 [INFO] [stderr] Downloaded libp2p-tcp v0.43.0 [INFO] [stderr] Downloaded libp2p-dns v0.43.0 [INFO] [stderr] Downloaded libp2p-identify v0.46.0 [INFO] [stderr] Downloaded libp2p-tls v0.6.0 [INFO] [stderr] Downloaded libp2p-kad v0.47.0 [INFO] [stderr] Downloaded libp2p-swarm v0.46.0 [INFO] [stderr] Downloaded libp2p v0.55.0 [INFO] [stderr] Downloaded libp2p-gossipsub v0.48.0 [INFO] [stderr] Downloaded libp2p-quic v0.12.0 [INFO] [stderr] Downloaded libp2p-mdns v0.47.0 [INFO] [stderr] Downloaded libp2p-metrics v0.16.0 [INFO] [stderr] Downloaded libp2p-noise v0.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b43d9cce4a2c47ad7019be733e91e048c07743a06caf88b23e34fd7fff9f387 [INFO] running `Command { std: "docker" "start" "-a" "0b43d9cce4a2c47ad7019be733e91e048c07743a06caf88b23e34fd7fff9f387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b43d9cce4a2c47ad7019be733e91e048c07743a06caf88b23e34fd7fff9f387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b43d9cce4a2c47ad7019be733e91e048c07743a06caf88b23e34fd7fff9f387", kill_on_drop: false }` [INFO] [stdout] 0b43d9cce4a2c47ad7019be733e91e048c07743a06caf88b23e34fd7fff9f387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 625f2376a29d3ec263deb0773767b4ae3bdcab6b045e7e18edb83605858f9cfe [INFO] running `Command { std: "docker" "start" "-a" "625f2376a29d3ec263deb0773767b4ae3bdcab6b045e7e18edb83605858f9cfe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling uint v0.10.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.35.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling pin-project v1.1.9 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [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 clap v4.5.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling cbor4ii v0.3.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.43.0 [INFO] [stderr] Compiling libp2p-yamux v0.47.0 [INFO] [stderr] Compiling libp2p-noise v0.46.0 [INFO] [stderr] Compiling libp2p-swarm v0.46.0 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling libp2p-connection-limits v0.5.0 [INFO] [stderr] Compiling libp2p-allow-block-list v0.5.0 [INFO] [stderr] Compiling libp2p-request-response v0.28.0 [INFO] [stderr] Compiling libp2p-kad v0.47.0 [INFO] [stderr] Compiling libp2p-identify v0.46.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.48.0 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p-tcp v0.43.0 [INFO] [stderr] Compiling libp2p v0.55.0 [INFO] [stderr] Compiling simple-consensus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/cli/commands.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/cli/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VoteResponse` [INFO] [stdout] --> src/consensus/engine.rs:3:80 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::consensus::message::{ConsensusMessage, NetworkCommand, VoteRequest, VoteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiaddr` [INFO] [stdout] --> src/consensus/engine.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::{Multiaddr, PeerId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mpsc` and `select` [INFO] [stdout] --> src/consensus/engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | sync::{mpsc, oneshot, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/consensus/engine.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsensusMessage` [INFO] [stdout] --> src/consensus/network.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::consensus::message::{ConsensusMessage, NetworkCommand, VoteRequest, VoteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutboundRequestId`, `muxing::StreamMuxerBox`, `transport::Boxed`, and `upgrade` [INFO] [stdout] --> src/consensus/network.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | core::{muxing::StreamMuxerBox, transport::Boxed, upgrade}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | request_response::{self, OutboundRequestId, ProtocolSupport, ResponseChannel}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `time::Duration` [INFO] [stdout] --> src/consensus/network.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashMap, collections::HashSet, error::Error, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/cli/commands.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let engine = Engine::new(engine_config); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/consensus/network.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/consensus/network.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/consensus/network.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | other => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/consensus/network.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 357 | / NetworkCommand::StartListening { [INFO] [stdout] 358 | | addr, [INFO] [stdout] 359 | | bootstrap_nodes, [INFO] [stdout] 360 | | response, [INFO] [stdout] 361 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 409 | / NetworkCommand::DialPeer { [INFO] [stdout] 410 | | peer_id, [INFO] [stdout] 411 | | addr, [INFO] [stdout] 412 | | response, [INFO] [stdout] 413 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 442 | NetworkCommand::GetLocalPeerId { response } => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 448 | NetworkCommand::PutValue { key, value } => { [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 526 | other => { [INFO] [stdout] | ^^^^^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> src/consensus/network.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | let request_id = self [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> src/consensus/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/consensus/network.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | tcp, yamux, Multiaddr, PeerId, StreamProtocol, SwarmBuilder, Transport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vote_req` [INFO] [stdout] --> src/consensus/engine.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | ... let vote_req = VoteRequest { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vote_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proposal` and `accepted` are never read [INFO] [stdout] --> src/consensus/engine.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | Finalized { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 32 | proposal: ConsensusMessage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | accepted: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsensusState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Proposing` is never constructed [INFO] [stdout] --> src/consensus/engine.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum ConsensusState { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Proposing { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsensusState` 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: methods `propose`, `get_status`, and `get_connected_peers` are never used [INFO] [stdout] --> src/consensus/engine.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl Engine { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn propose(&self, proposal: ConsensusMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub async fn get_status(&self) -> ConsensusState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn get_connected_peers(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DialPeer`, `SendVoteRequest`, `RespondVote`, `GetValue`, and `PutValue` are never constructed [INFO] [stdout] --> src/consensus/message.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum NetworkCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | DialPeer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | SendVoteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | RespondVote { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | GetValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | PutValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/consensus/network.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | NewListenAddr(Multiaddr), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - NewListenAddr(Multiaddr), [INFO] [stdout] 59 + NewListenAddr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_id` is never read [INFO] [stdout] --> src/consensus/network.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | GossipsubMessage { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 63 | source: PeerId, [INFO] [stdout] 64 | message_id: gossipsub::MessageId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `request`, and `channel` are never read [INFO] [stdout] --> src/consensus/network.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | VoteRequest { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 68 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | request: VoteRequest, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | channel: ResponseChannel, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.70s [INFO] running `Command { std: "docker" "inspect" "625f2376a29d3ec263deb0773767b4ae3bdcab6b045e7e18edb83605858f9cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625f2376a29d3ec263deb0773767b4ae3bdcab6b045e7e18edb83605858f9cfe", kill_on_drop: false }` [INFO] [stdout] 625f2376a29d3ec263deb0773767b4ae3bdcab6b045e7e18edb83605858f9cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 039e9e2f870ed4cc07f574d44240a2e61daabb231960122dc0e0c731fbc95e90 [INFO] running `Command { std: "docker" "start" "-a" "039e9e2f870ed4cc07f574d44240a2e61daabb231960122dc0e0c731fbc95e90", kill_on_drop: false }` [INFO] [stderr] Compiling simple-consensus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/cli/commands.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::oneshot` [INFO] [stdout] --> src/cli/commands.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::oneshot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VoteResponse` [INFO] [stdout] --> src/consensus/engine.rs:3:80 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::consensus::message::{ConsensusMessage, NetworkCommand, VoteRequest, VoteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Multiaddr` [INFO] [stdout] --> src/consensus/engine.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use libp2p::{Multiaddr, PeerId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mpsc` and `select` [INFO] [stdout] --> src/consensus/engine.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | sync::{mpsc, oneshot, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/consensus/engine.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConsensusMessage` [INFO] [stdout] --> src/consensus/network.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::consensus::message::{ConsensusMessage, NetworkCommand, VoteRequest, VoteResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OutboundRequestId`, `muxing::StreamMuxerBox`, `transport::Boxed`, and `upgrade` [INFO] [stdout] --> src/consensus/network.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | core::{muxing::StreamMuxerBox, transport::Boxed, upgrade}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | request_response::{self, OutboundRequestId, ProtocolSupport, ResponseChannel}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `time::Duration` [INFO] [stdout] --> src/consensus/network.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{collections::HashMap, collections::HashSet, error::Error, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `engine` [INFO] [stdout] --> src/cli/commands.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let engine = Engine::new(engine_config); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_engine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/consensus/network.rs:327:21 [INFO] [stdout] | [INFO] [stdout] 327 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_id` [INFO] [stdout] --> src/consensus/network.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | connection_id, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `connection_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/consensus/network.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 526 | other => { [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/consensus/network.rs:526:13 [INFO] [stdout] | [INFO] [stdout] 357 | / NetworkCommand::StartListening { [INFO] [stdout] 358 | | addr, [INFO] [stdout] 359 | | bootstrap_nodes, [INFO] [stdout] 360 | | response, [INFO] [stdout] 361 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 409 | / NetworkCommand::DialPeer { [INFO] [stdout] 410 | | peer_id, [INFO] [stdout] 411 | | addr, [INFO] [stdout] 412 | | response, [INFO] [stdout] 413 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 442 | NetworkCommand::GetLocalPeerId { response } => { [INFO] [stdout] | ------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 448 | NetworkCommand::PutValue { key, value } => { [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 526 | other => { [INFO] [stdout] | ^^^^^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request_id` [INFO] [stdout] --> src/consensus/network.rs:497:21 [INFO] [stdout] | [INFO] [stdout] 497 | let request_id = self [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> src/consensus/engine.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/consensus/network.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | tcp, yamux, Multiaddr, PeerId, StreamProtocol, SwarmBuilder, Transport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vote_req` [INFO] [stdout] --> src/consensus/engine.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | ... let vote_req = VoteRequest { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vote_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proposal` and `accepted` are never read [INFO] [stdout] --> src/consensus/engine.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | Finalized { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 32 | proposal: ConsensusMessage, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | accepted: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsensusState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Proposing` is never constructed [INFO] [stdout] --> src/consensus/engine.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum ConsensusState { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | Proposing { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsensusState` 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: methods `propose`, `get_status`, and `get_connected_peers` are never used [INFO] [stdout] --> src/consensus/engine.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl Engine { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn propose(&self, proposal: ConsensusMessage) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub async fn get_status(&self) -> ConsensusState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn get_connected_peers(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DialPeer`, `SendVoteRequest`, `RespondVote`, `GetValue`, and `PutValue` are never constructed [INFO] [stdout] --> src/consensus/message.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum NetworkCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | DialPeer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | SendVoteRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | RespondVote { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | GetValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | PutValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/consensus/network.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | NewListenAddr(Multiaddr), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 - NewListenAddr(Multiaddr), [INFO] [stdout] 59 + NewListenAddr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_id` is never read [INFO] [stdout] --> src/consensus/network.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 62 | GossipsubMessage { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 63 | source: PeerId, [INFO] [stdout] 64 | message_id: gossipsub::MessageId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id`, `request`, and `channel` are never read [INFO] [stdout] --> src/consensus/network.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | VoteRequest { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 68 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | request: VoteRequest, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 70 | channel: ResponseChannel, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "039e9e2f870ed4cc07f574d44240a2e61daabb231960122dc0e0c731fbc95e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "039e9e2f870ed4cc07f574d44240a2e61daabb231960122dc0e0c731fbc95e90", kill_on_drop: false }` [INFO] [stdout] 039e9e2f870ed4cc07f574d44240a2e61daabb231960122dc0e0c731fbc95e90