[INFO] cloning repository https://github.com/juant72/prozchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juant72/prozchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd277308b9a45c83dcf9bbaeb42df1c5d558366e
[INFO] checking juant72/prozchain against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/juant72/prozchain
[INFO] finished tweaking git repo https://github.com/juant72/prozchain
[INFO] tweaked toml for git repo https://github.com/juant72/prozchain written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/juant72/prozchain on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/juant72/prozchain 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:90:1
[INFO] [stderr]    |
[INFO] [stderr] 90 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `prozchain` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6
[INFO] running `Command { std: "docker" "start" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: explicit `package.readme` can be inferred
[INFO] [stderr]   --> Cargo.toml:90:1
[INFO] [stderr]    |
[INFO] [stderr] 90 | readme = "README.md"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::manual_readme` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.readme`
[INFO] [stderr] warning: `prozchain` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]     Checking data-encoding v2.8.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking unsigned-varint v0.8.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking quick-protobuf v0.8.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking base-x v0.2.11
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking unsigned-varint v0.7.2
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking multihash v0.19.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]     Checking tinyvec v1.9.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking netlink-packet-utils v0.5.2
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.15
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking netlink-packet-core v0.7.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking data-encoding-macro v0.1.17
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking multibase v0.9.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling rustls v0.23.25
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking netlink-sys v0.8.7
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking hostname v0.4.0
[INFO] [stderr]     Checking chacha20 v0.9.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking resolv-conf v0.7.1
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking poly1305 v0.8.0
[INFO] [stderr]     Checking netlink-packet-route v0.17.1
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling prometheus-client v0.22.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling pest v2.7.15
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking chacha20poly1305 v0.10.1
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling rustix v1.0.3
[INFO] [stderr]     Checking winnow v0.7.4
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling procfs v0.16.0
[INFO] [stderr]     Checking dtoa v1.0.10
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking libp2p-identity v0.2.10
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking procfs-core v0.16.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling prometheus v0.13.4
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking multiaddr v0.18.2
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking asynchronous-codec v0.7.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking futures-bounded v0.2.4
[INFO] [stderr]     Checking multistream-select v0.13.0
[INFO] [stderr]     Checking rw-stream-sink v0.4.0
[INFO] [stderr]     Checking netlink-proto v0.11.5
[INFO] [stderr]     Checking hickory-proto v0.24.4
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking quick-protobuf-codec v0.3.1
[INFO] [stderr]     Checking yamux v0.12.1
[INFO] [stderr]     Checking rtnetlink v0.13.1
[INFO] [stderr]     Checking libp2p-core v0.41.3
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]     Checking if-watch v3.2.1
[INFO] [stderr]     Checking soketto v0.8.1
[INFO] [stderr]     Checking yamux v0.13.4
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking libp2p-swarm v0.44.2
[INFO] [stderr]     Checking libp2p-tcp v0.41.0
[INFO] [stderr]     Checking libp2p-yamux v0.45.2
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking thread-id v4.2.2
[INFO] [stderr]    Compiling rstest_macros v0.18.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]    Compiling prozchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking jiff v0.2.5
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking libp2p-ping v0.44.1
[INFO] [stderr]     Checking libp2p-relay v0.17.2
[INFO] [stderr]     Checking libp2p-kad v0.45.3
[INFO] [stderr]     Checking hickory-resolver v0.24.4
[INFO] [stderr]     Checking libp2p-identify v0.44.2
[INFO] [stderr]     Checking libp2p-connection-limits v0.3.1
[INFO] [stderr]     Checking libp2p-allow-block-list v0.3.0
[INFO] [stderr]     Checking libp2p-request-response v0.26.3
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]     Checking toml v0.8.20
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking rustls-webpki v0.103.0
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]     Checking proptest v1.6.0
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]     Checking libp2p-dns v0.41.1
[INFO] [stderr]     Checking libp2p-noise v0.44.0
[INFO] [stderr]     Checking libp2p-metrics v0.14.1
[INFO] [stderr]     Checking log4rs v1.3.0
[INFO] [stderr]     Checking trust-dns-proto v0.23.2
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking mockall v0.12.1
[INFO] [stderr]     Checking futures-rustls v0.26.0
[INFO] [stderr]     Checking env_logger v0.11.7
[INFO] [stderr]     Checking libp2p-websocket v0.43.2
[INFO] [stderr]     Checking rstest v0.18.2
[INFO] [stderr]     Checking trust-dns-resolver v0.23.2
[INFO] [stderr]     Checking libp2p v0.53.2
[INFO] [stdout] warning: unused import: `crate::network::message::Message`
[INFO] [stdout]  --> src/network/block_propagation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::network::message::Message;
[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 imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]  --> src/network/connection.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]  --> src/network/connection.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mutex` and `RwLock`
[INFO] [stdout]   --> src/network/connection.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::{mpsc, Mutex, RwLock};
[INFO] [stdout]    |                         ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Histogram`
[INFO] [stdout]  --> src/network/metrics/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Counter, Gauge, Histogram, HistogramOpts, HistogramVec, IntCounter, IntGauge, Registry
[INFO] [stdout]   |     ^^^^^^^  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::network::message::Message`
[INFO] [stdout]  --> src/network/block_propagation.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::network::message::Message;
[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 imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]  --> src/network/connection.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]  --> src/network/connection.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mutex` and `RwLock`
[INFO] [stdout]   --> src/network/connection.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio::sync::{mpsc, Mutex, RwLock};
[INFO] [stdout]    |                         ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Histogram`
[INFO] [stdout]  --> src/network/metrics/mod.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Counter, Gauge, Histogram, HistogramOpts, HistogramVec, IntCounter, IntGauge, Registry
[INFO] [stdout]   |     ^^^^^^^  ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `full_block_msg`
[INFO] [stdout]    --> src/network/block_propagation.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let full_block_msg = BlockAnnouncement::FullBlock(block.clone());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_block_msg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compact_block`
[INFO] [stdout]    --> src/network/block_propagation.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let compact_block = if self.compact_blocks_enabled {
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compact_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_only_msg`
[INFO] [stdout]    --> src/network/block_propagation.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let header_only_msg = BlockAnnouncement::HeaderOnly {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_only_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `full_block_msg`
[INFO] [stdout]    --> src/network/block_propagation.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let full_block_msg = BlockAnnouncement::FullBlock(block.clone());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_block_msg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compact_block`
[INFO] [stdout]    --> src/network/block_propagation.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let compact_block = if self.compact_blocks_enabled {
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compact_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header_only_msg`
[INFO] [stdout]    --> src/network/block_propagation.rs:165:13
[INFO] [stdout]     |
[INFO] [stdout] 165 |         let header_only_msg = BlockAnnouncement::HeaderOnly {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_only_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocol_version`
[INFO] [stdout]    --> src/network/connection.rs:141:33
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 Ok(Ok((peer_id, protocol_version, user_agent))) => {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_agent`
[INFO] [stdout]    --> src/network/connection.rs:141:51
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 Ok(Ok((peer_id, protocol_version, user_agent))) => {
[INFO] [stdout]     |                                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocol_version`
[INFO] [stdout]    --> src/network/connection.rs:141:33
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 Ok(Ok((peer_id, protocol_version, user_agent))) => {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_agent`
[INFO] [stdout]    --> src/network/connection.rs:141:51
[INFO] [stdout]     |
[INFO] [stdout] 141 |                 Ok(Ok((peer_id, protocol_version, user_agent))) => {
[INFO] [stdout]     |                                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message_tx`
[INFO] [stdout]    --> src/network/service.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         message_tx: mpsc::Sender<NetworkMessage>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message_tx`
[INFO] [stdout]    --> src/network/service.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 |         message_tx: mpsc::Sender<NetworkMessage>,
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `first_seen` is never read
[INFO] [stdout]   --> src/network/discovery.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct LocalPeerRecord {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 32 |     first_seen: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LocalPeerRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PeerExchange` and `LocalDiscovery` are never constructed
[INFO] [stdout]   --> src/network/discovery.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | enum PeerSource {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     PeerExchange,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 46 |     LocalDiscovery,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerSource` 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: field `local_peer_id` is never read
[INFO] [stdout]    --> src/network/propagation.rs:239:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct GossipManager {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 239 |     local_peer_id: PeerId,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `broadcast_manager`, `compact_announcements`, and `seen_transactions` are never read
[INFO] [stdout]    --> src/network/propagation.rs:410:5
[INFO] [stdout]     |
[INFO] [stdout] 409 | pub struct TransactionPropagator {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] 410 |     broadcast_manager: BroadcastManager,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 411 |     compact_announcements: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 412 |     seen_transactions: HashSet<[u8; 32]>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `min_outbound_connections` and `peer_reputation` are never read
[INFO] [stdout]   --> src/network/security.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct SybilProtection {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 68 |     min_outbound_connections: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     max_inbound_per_ip: usize,
[INFO] [stdout] 70 |     peer_reputation: ReputationTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ttl` is never read
[INFO] [stdout]    --> src/network/security.rs:379:5
[INFO] [stdout]     |
[INFO] [stdout] 377 | pub struct ExpiringCache<K, V> {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 378 |     entries: HashMap<K, (V, Instant)>,
[INFO] [stdout] 379 |     ttl: Duration,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/network/interfaces.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn connected_peer_count(&self) -> usize;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn connected_peer_count(&self) -> usize;
[INFO] [stdout] 9 +     fn connected_peer_count(&self) -> impl std::future::Future<Output = usize> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn connected_validator_count(&self) -> usize;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn connected_validator_count(&self) -> usize;
[INFO] [stdout] 12 +     fn connected_validator_count(&self) -> impl std::future::Future<Output = usize> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     async fn average_peer_latency(&self) -> Duration;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 15 -     async fn average_peer_latency(&self) -> Duration;
[INFO] [stdout] 15 +     fn average_peer_latency(&self) -> impl std::future::Future<Output = Duration> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     async fn trigger_peer_discovery(&self);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 18 -     async fn trigger_peer_discovery(&self);
[INFO] [stdout] 18 +     fn trigger_peer_discovery(&self) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     async fn prioritize_validator_connections(&self);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 21 -     async fn prioritize_validator_connections(&self);
[INFO] [stdout] 21 +     fn prioritize_validator_connections(&self) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     async fn propagate_block(&self, block_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 27 -     async fn propagate_block(&self, block_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 27 +     fn propagate_block(&self, block_data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 30 -     async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 30 +     fn handle_block_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async fn propagate_transaction(&self, tx_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 36 -     async fn propagate_transaction(&self, tx_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 36 +     fn propagate_transaction(&self, tx_data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 39 -     async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 39 +     fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     async fn discover_peers(&self) -> Result<Vec<crate::network::discovery::PeerInfo>, String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 45 -     async fn discover_peers(&self) -> Result<Vec<crate::network::discovery::PeerInfo>, String>;
[INFO] [stdout] 45 +     fn discover_peers(&self) -> impl std::future::Future<Output = Result<Vec<crate::network::discovery::PeerInfo>, String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 48 -     async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo);
[INFO] [stdout] 48 +     fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     async fn get_known_peers(&self) -> Vec<crate::network::discovery::PeerInfo>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 51 -     async fn get_known_peers(&self) -> Vec<crate::network::discovery::PeerInfo>;
[INFO] [stdout] 51 +     fn get_known_peers(&self) -> impl std::future::Future<Output = Vec<crate::network::discovery::PeerInfo>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `first_seen` is never read
[INFO] [stdout]   --> src/network/discovery.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct LocalPeerRecord {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 32 |     first_seen: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LocalPeerRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `PeerExchange` and `LocalDiscovery` are never constructed
[INFO] [stdout]   --> src/network/discovery.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | enum PeerSource {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     PeerExchange,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 46 |     LocalDiscovery,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerSource` 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: field `local_peer_id` is never read
[INFO] [stdout]    --> src/network/propagation.rs:239:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct GossipManager {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 239 |     local_peer_id: PeerId,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result<PeerId, String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 57 -     async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result<PeerId, String>;
[INFO] [stdout] 57 +     fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future<Output = Result<PeerId, String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `broadcast_manager`, `compact_announcements`, and `seen_transactions` are never read
[INFO] [stdout]    --> src/network/propagation.rs:410:5
[INFO] [stdout]     |
[INFO] [stdout] 409 | pub struct TransactionPropagator {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] 410 |     broadcast_manager: BroadcastManager,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 411 |     compact_announcements: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 412 |     seen_transactions: HashSet<[u8; 32]>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 60 -     async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason);
[INFO] [stdout] 60 +     fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `min_outbound_connections` and `peer_reputation` are never read
[INFO] [stdout]   --> src/network/security.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct SybilProtection {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 68 |     min_outbound_connections: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 69 |     max_inbound_per_ip: usize,
[INFO] [stdout] 70 |     peer_reputation: ReputationTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     async fn is_connected_to(&self, peer_id: &PeerId) -> bool;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 63 -     async fn is_connected_to(&self, peer_id: &PeerId) -> bool;
[INFO] [stdout] 63 +     fn is_connected_to(&self, peer_id: &PeerId) -> impl std::future::Future<Output = bool> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ttl` is never read
[INFO] [stdout]    --> src/network/security.rs:379:5
[INFO] [stdout]     |
[INFO] [stdout] 377 | pub struct ExpiringCache<K, V> {
[INFO] [stdout]     |            ------------- field in this struct
[INFO] [stdout] 378 |     entries: HashMap<K, (V, Instant)>,
[INFO] [stdout] 379 |     ttl: Duration,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     async fn connection_count(&self) -> usize;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 66 -     async fn connection_count(&self) -> usize;
[INFO] [stdout] 66 +     fn connection_count(&self) -> impl std::future::Future<Output = usize> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/network/interfaces.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn connected_peer_count(&self) -> usize;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -     async fn connected_peer_count(&self) -> usize;
[INFO] [stdout] 9 +     fn connected_peer_count(&self) -> impl std::future::Future<Output = usize> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn connected_validator_count(&self) -> usize;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn connected_validator_count(&self) -> usize;
[INFO] [stdout] 12 +     fn connected_validator_count(&self) -> impl std::future::Future<Output = usize> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     async fn average_peer_latency(&self) -> Duration;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 15 -     async fn average_peer_latency(&self) -> Duration;
[INFO] [stdout] 15 +     fn average_peer_latency(&self) -> impl std::future::Future<Output = Duration> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     async fn trigger_peer_discovery(&self);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 18 -     async fn trigger_peer_discovery(&self);
[INFO] [stdout] 18 +     fn trigger_peer_discovery(&self) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     async fn prioritize_validator_connections(&self);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 21 -     async fn prioritize_validator_connections(&self);
[INFO] [stdout] 21 +     fn prioritize_validator_connections(&self) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     async fn propagate_block(&self, block_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 27 -     async fn propagate_block(&self, block_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 27 +     fn propagate_block(&self, block_data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 30 -     async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 30 +     fn handle_block_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     async fn propagate_transaction(&self, tx_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 36 -     async fn propagate_transaction(&self, tx_data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 36 +     fn propagate_transaction(&self, tx_data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 39 -     async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> Result<(), String>;
[INFO] [stdout] 39 +     fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec<u8>) -> impl std::future::Future<Output = Result<(), String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     async fn discover_peers(&self) -> Result<Vec<crate::network::discovery::PeerInfo>, String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 45 -     async fn discover_peers(&self) -> Result<Vec<crate::network::discovery::PeerInfo>, String>;
[INFO] [stdout] 45 +     fn discover_peers(&self) -> impl std::future::Future<Output = Result<Vec<crate::network::discovery::PeerInfo>, String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 48 -     async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo);
[INFO] [stdout] 48 +     fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     async fn get_known_peers(&self) -> Vec<crate::network::discovery::PeerInfo>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 51 -     async fn get_known_peers(&self) -> Vec<crate::network::discovery::PeerInfo>;
[INFO] [stdout] 51 +     fn get_known_peers(&self) -> impl std::future::Future<Output = Vec<crate::network::discovery::PeerInfo>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result<PeerId, String>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 57 -     async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result<PeerId, String>;
[INFO] [stdout] 57 +     fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future<Output = Result<PeerId, String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason);
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 60 -     async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason);
[INFO] [stdout] 60 +     fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     async fn is_connected_to(&self, peer_id: &PeerId) -> bool;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 63 -     async fn is_connected_to(&self, peer_id: &PeerId) -> bool;
[INFO] [stdout] 63 +     fn is_connected_to(&self, peer_id: &PeerId) -> impl std::future::Future<Output = bool> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/network/interfaces.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     async fn connection_count(&self) -> usize;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 66 -     async fn connection_count(&self) -> usize;
[INFO] [stdout] 66 +     fn connection_count(&self) -> impl std::future::Future<Output = usize> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]    --> src/network/security.rs:523:13
[INFO] [stdout]     |
[INFO] [stdout] 523 |             self.connection_manager.disconnect(peer_id, DisconnectReason::PeerBanned);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]    --> src/network/security.rs:523:13
[INFO] [stdout]     |
[INFO] [stdout] 523 |             self.connection_manager.disconnect(peer_id, DisconnectReason::PeerBanned);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `log` is never read
[INFO] [stdout]    --> src/main.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |     pub struct Config {
[INFO] [stdout]     |                ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 235 |         pub log: Option<Log>,
[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 `level`, `enable_file_logging`, and `log_file` are never read
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |     pub struct Log {
[INFO] [stdout]     |                --- fields in this struct
[INFO] [stdout] 271 |         pub level: String,
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 272 |         pub enable_file_logging: bool,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 273 |         pub log_file: String,
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `log` is never read
[INFO] [stdout]    --> src/main.rs:235:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |     pub struct Config {
[INFO] [stdout]     |                ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 235 |         pub log: Option<Log>,
[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 `level`, `enable_file_logging`, and `log_file` are never read
[INFO] [stdout]    --> src/main.rs:271:13
[INFO] [stdout]     |
[INFO] [stdout] 270 |     pub struct Log {
[INFO] [stdout]     |                --- fields in this struct
[INFO] [stdout] 271 |         pub level: String,
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 272 |         pub enable_file_logging: bool,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 273 |         pub log_file: String,
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `bincode`
[INFO] [stderr]  --> Cargo.toml:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | bincode = "1.3.3"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `bincode`
[INFO] [stderr] warning: unused dependency `config`
[INFO] [stderr]   --> Cargo.toml:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | config = "0.14.0"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `config`
[INFO] [stderr] warning: unused dependency `dashmap`
[INFO] [stderr]   --> Cargo.toml:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | dashmap = "5.5.3"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `dashmap`
[INFO] [stderr] warning: unused dependency `libp2p`
[INFO] [stderr]   --> Cargo.toml:34:15
[INFO] [stderr]    |
[INFO] [stderr] 34 | [dependencies.libp2p]
[INFO] [stderr]    |               ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `libp2p`
[INFO] [stderr] warning: unused dependency `log4rs`
[INFO] [stderr]   --> Cargo.toml:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | log4rs = "1.3.0"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `log4rs`
[INFO] [stderr] warning: unused dependency `rustls`
[INFO] [stderr]   --> Cargo.toml:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | rustls = "0.22.1"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `rustls`
[INFO] [stderr] warning: unused dependency `tracing-subscriber`
[INFO] [stderr]   --> Cargo.toml:58:15
[INFO] [stderr]    |
[INFO] [stderr] 58 | [dependencies.tracing-subscriber]
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `tracing-subscriber`
[INFO] [stderr] warning: unused dependency `trust-dns-resolver`
[INFO] [stderr]   --> Cargo.toml:31:1
[INFO] [stderr]    |
[INFO] [stderr] 31 | trust-dns-resolver = "0.23.2"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `trust-dns-resolver`
[INFO] [stderr] warning: `prozchain` (manifest) generated 8 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 35s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: libp2p-kad v0.45.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6`
[INFO] running `Command { std: "docker" "inspect" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6", kill_on_drop: false }`
[INFO] [stdout] 691493736c7c3f696e19372cb876c9aaae9e4f3644894d89411a03062e0270c6
