[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] building juant72/prozchain against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/juant72/prozchain on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded procfs v0.16.0 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded x25519-dalek v2.0.1 [INFO] [stderr] Downloaded nix v0.26.4 [INFO] [stderr] Downloaded mockall v0.12.1 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded libp2p-websocket v0.43.2 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded env_logger v0.11.7 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded poly1305 v0.8.0 [INFO] [stderr] Downloaded uint v0.9.5 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded libp2p-relay v0.17.2 [INFO] [stderr] Downloaded netlink-proto v0.11.5 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded netlink-packet-utils v0.5.2 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded procfs-core v0.16.0 [INFO] [stderr] Downloaded rustls v0.23.25 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded libp2p-core v0.41.3 [INFO] [stderr] Downloaded libp2p-identity v0.2.10 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded rstest v0.18.2 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded libp2p-noise v0.44.0 [INFO] [stderr] Downloaded libp2p-ping v0.44.1 [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded futures-rustls v0.26.0 [INFO] [stderr] Downloaded soketto v0.8.1 [INFO] [stderr] Downloaded yamux v0.13.4 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.15 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] [stderr] Downloaded netlink-packet-route v0.17.1 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded chacha20 v0.9.1 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded libp2p-yamux v0.45.2 [INFO] [stderr] Downloaded base-x v0.2.11 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.24 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded data-encoding-macro v0.1.17 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded hostname v0.4.0 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded zerocopy v0.8.24 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded rstest_macros v0.18.2 [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded ring v0.17.14 [INFO] [stderr] Downloaded windows v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 200cb5e2ca0e7cced4ae3753a2f8691f73ae9245db76f2bd237c3c120d1c7f9c [INFO] running `Command { std: "docker" "start" "-a" "200cb5e2ca0e7cced4ae3753a2f8691f73ae9245db76f2bd237c3c120d1c7f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "200cb5e2ca0e7cced4ae3753a2f8691f73ae9245db76f2bd237c3c120d1c7f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200cb5e2ca0e7cced4ae3753a2f8691f73ae9245db76f2bd237c3c120d1c7f9c", kill_on_drop: false }` [INFO] [stdout] 200cb5e2ca0e7cced4ae3753a2f8691f73ae9245db76f2bd237c3c120d1c7f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8245c1a062400575eedc0e4168267cdee8e36d09100923fb0eb450e140c395c7 [INFO] running `Command { std: "docker" "start" "-a" "8245c1a062400575eedc0e4168267cdee8e36d09100923fb0eb450e140c395c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling resolv-conf v0.7.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [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 zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling yoke v0.7.5 [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 zerovec v0.10.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling procfs-core v0.16.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling libp2p-websocket v0.43.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling libp2p-metrics v0.14.1 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling prozchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling env_logger v0.11.7 [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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 23s [INFO] running `Command { std: "docker" "inspect" "8245c1a062400575eedc0e4168267cdee8e36d09100923fb0eb450e140c395c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8245c1a062400575eedc0e4168267cdee8e36d09100923fb0eb450e140c395c7", kill_on_drop: false }` [INFO] [stdout] 8245c1a062400575eedc0e4168267cdee8e36d09100923fb0eb450e140c395c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 461de5e9336f1619160342b9dc694b9cdb8e8ef6b38f3aa05df28bda4fb82be3 [INFO] running `Command { std: "docker" "start" "-a" "461de5e9336f1619160342b9dc694b9cdb8e8ef6b38f3aa05df28bda4fb82be3", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-websocket v0.43.2 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling libp2p-metrics v0.14.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling prozchain v0.1.0 (/opt/rustwide/workdir) [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: `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 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "461de5e9336f1619160342b9dc694b9cdb8e8ef6b38f3aa05df28bda4fb82be3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461de5e9336f1619160342b9dc694b9cdb8e8ef6b38f3aa05df28bda4fb82be3", kill_on_drop: false }` [INFO] [stdout] 461de5e9336f1619160342b9dc694b9cdb8e8ef6b38f3aa05df28bda4fb82be3