[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/fd277308b9a45c83dcf9bbaeb42df1c5d558366e against master#b3f8586fb1e4859678d6b231e780ff81801d2282 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/juant72/prozchain on toolchain b3f8586fb1e4859678d6b231e780ff81801d2282 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "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" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x25519-dalek v2.0.1 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded libp2p-ping v0.44.1 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded libp2p-noise v0.44.0 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded netlink-packet-route v0.17.1 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded libp2p-identity v0.2.10 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded libp2p-core v0.41.3 [INFO] [stderr] Downloaded yamux v0.13.4 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded libp2p-relay v0.17.2 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded futures-rustls v0.26.0 [INFO] [stderr] Downloaded libp2p-yamux v0.45.2 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded netlink-proto v0.11.5 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded libp2p-websocket v0.43.2 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.15 [INFO] [stderr] Downloaded data-encoding-macro v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78904597c89662184b71b57a034f78c3130015e980c701ec300c12eddf9124d3 [INFO] running `Command { std: "docker" "start" "-a" "78904597c89662184b71b57a034f78c3130015e980c701ec300c12eddf9124d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78904597c89662184b71b57a034f78c3130015e980c701ec300c12eddf9124d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78904597c89662184b71b57a034f78c3130015e980c701ec300c12eddf9124d3", kill_on_drop: false }` [INFO] [stdout] 78904597c89662184b71b57a034f78c3130015e980c701ec300c12eddf9124d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c71d5fe36b620dba8368f6c9e0f17eae126d353c145a94ad1707bf93997cfc0 [INFO] running `Command { std: "docker" "start" "-a" "7c71d5fe36b620dba8368f6c9e0f17eae126d353c145a94ad1707bf93997cfc0", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Checking resolv-conf v0.7.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking poly1305 v0.8.0 [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 uint v0.9.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking winnow v0.7.4 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Compiling prozchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking jiff v0.2.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking data-encoding-macro v0.1.17 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking pest v2.7.15 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking rustls-webpki v0.103.0 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking netlink-packet-route v0.17.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking libp2p-identity v0.2.10 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking futures-bounded v0.2.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking netlink-sys v0.8.7 [INFO] [stderr] Checking yamux v0.13.4 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking soketto v0.8.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking env_logger v0.11.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking netlink-proto v0.11.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking rtnetlink v0.13.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking if-watch v3.2.1 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.6.0 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking multiaddr v0.18.2 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking trust-dns-proto v0.23.2 [INFO] [stderr] Checking libp2p-core v0.41.3 [INFO] [stderr] Checking libp2p-swarm v0.44.2 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking libp2p-websocket v0.43.2 [INFO] [stderr] Checking libp2p-noise v0.44.0 [INFO] [stderr] Checking libp2p-yamux v0.45.2 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking trust-dns-resolver v0.23.2 [INFO] [stderr] Checking libp2p-relay v0.17.2 [INFO] [stderr] Checking libp2p-kad v0.45.3 [INFO] [stderr] Checking libp2p-identify v0.44.2 [INFO] [stderr] Checking libp2p-ping v0.44.1 [INFO] [stderr] Checking libp2p-request-response v0.26.3 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p-dns v0.41.1 [INFO] [stderr] Checking libp2p-metrics v0.14.1 [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 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 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: `message_tx` [INFO] [stdout] --> src/network/service.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | message_tx: mpsc::Sender, [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, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tx` [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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, _protocol_version, user_agent))) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 141 - Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] 141 + Ok(Ok((peer_id, network::service::NetworkService::start_message_handler::{closure#0}::{closure#0}::BRANCHES, user_agent))) => { [INFO] [stdout] | [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: 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 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 378 | entries: HashMap, [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 + 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 + 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 + 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 + 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 + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 27 + fn propagate_block(&self, block_data: Vec) -> impl std::future::Future> + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 30 + fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 36 + fn propagate_transaction(&self, tx_data: Vec) -> impl std::future::Future> + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 39 + fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + 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, 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, String>; [INFO] [stdout] 45 + fn discover_peers(&self) -> impl std::future::Future, 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 + 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; [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; [INFO] [stdout] 51 + fn get_known_peers(&self) -> impl std::future::Future> + 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; [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; [INFO] [stdout] 57 + fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future> + 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 + 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 + 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 + 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 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] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, _protocol_version, user_agent))) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 141 - Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] 141 + Ok(Ok((peer_id, network::service::NetworkService::start_message_handler::{closure#0}::{closure#0}::BRANCHES, user_agent))) => { [INFO] [stdout] | [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: 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 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 378 | entries: HashMap, [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 + 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 + 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 + 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 + 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 + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 27 + fn propagate_block(&self, block_data: Vec) -> impl std::future::Future> + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 30 + fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 36 + fn propagate_transaction(&self, tx_data: Vec) -> impl std::future::Future> + 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) -> 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) -> Result<(), String>; [INFO] [stdout] 39 + fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + 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, 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, String>; [INFO] [stdout] 45 + fn discover_peers(&self) -> impl std::future::Future, 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 + 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; [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; [INFO] [stdout] 51 + fn get_known_peers(&self) -> impl std::future::Future> + 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; [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; [INFO] [stdout] 57 + fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future> + 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 + 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 + 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 + 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: 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, [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, [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "7c71d5fe36b620dba8368f6c9e0f17eae126d353c145a94ad1707bf93997cfc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c71d5fe36b620dba8368f6c9e0f17eae126d353c145a94ad1707bf93997cfc0", kill_on_drop: false }` [INFO] [stdout] 7c71d5fe36b620dba8368f6c9e0f17eae126d353c145a94ad1707bf93997cfc0