[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] testing juant72/prozchain against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x25519-dalek v2.0.1 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded netlink-proto v0.11.5 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded dashmap v5.5.3 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded prometheus-client v0.22.3 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded ucd-trie v0.1.7 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded netlink-packet-route v0.17.1 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded rustls-webpki v0.103.0 [INFO] [stderr] Downloaded curve25519-dalek v4.1.3 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded trust-dns-proto v0.23.2 [INFO] [stderr] Downloaded rustls v0.23.25 [INFO] [stderr] Downloaded rustls v0.22.4 [INFO] [stderr] Downloaded jiff-static v0.2.5 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded trust-dns-resolver v0.23.2 [INFO] [stderr] Downloaded rtnetlink v0.13.1 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded soketto v0.8.1 [INFO] [stderr] Downloaded libp2p-core v0.41.3 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded rstest_macros v0.18.2 [INFO] [stderr] Downloaded uint v0.9.5 [INFO] [stderr] Downloaded bs58 v0.5.1 [INFO] [stderr] Downloaded anyhow v1.0.97 [INFO] [stderr] Downloaded metrics v0.21.1 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded jiff v0.2.5 [INFO] [stderr] Downloaded mockall_derive v0.12.1 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] [stderr] Downloaded mockall v0.12.1 [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 poly1305 v0.8.0 [INFO] [stderr] Downloaded resolv-conf v0.7.1 [INFO] [stderr] Downloaded env_logger v0.11.7 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded libp2p-noise v0.44.0 [INFO] [stderr] Downloaded libp2p-relay v0.17.2 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded netlink-sys v0.8.7 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded futures-rustls v0.26.0 [INFO] [stderr] Downloaded yamux v0.13.4 [INFO] [stderr] Downloaded core2 v0.4.0 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded metrics-macros v0.7.1 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded predicates-tree v1.0.12 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded hostname v0.4.0 [INFO] [stderr] Downloaded libp2p-ping v0.44.1 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded netlink-packet-utils v0.5.2 [INFO] [stderr] Downloaded netlink-packet-core v0.7.0 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded libp2p-websocket v0.43.2 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded ed25519 v2.2.3 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded libp2p-yamux v0.45.2 [INFO] [stderr] Downloaded multihash v0.19.3 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded libp2p-identity v0.2.10 [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded crunchy v0.2.3 [INFO] [stderr] Downloaded prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.15 [INFO] [stderr] Downloaded data-encoding-macro v0.1.17 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa974aec9a570bbe036cec32484942e8797854833ff2216ab234f4cfcff8f4ff [INFO] running `Command { std: "docker" "start" "-a" "aa974aec9a570bbe036cec32484942e8797854833ff2216ab234f4cfcff8f4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa974aec9a570bbe036cec32484942e8797854833ff2216ab234f4cfcff8f4ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa974aec9a570bbe036cec32484942e8797854833ff2216ab234f4cfcff8f4ff", kill_on_drop: false }` [INFO] [stdout] aa974aec9a570bbe036cec32484942e8797854833ff2216ab234f4cfcff8f4ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99c306db0f936d51baf318cd3ac9a3e7d7fce799d924f4be26b3818ac8562942 [INFO] running `Command { std: "docker" "start" "-a" "99c306db0f936d51baf318cd3ac9a3e7d7fce799d924f4be26b3818ac8562942", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling resolv-conf v0.7.1 [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 prometheus-client v0.22.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [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 arc-swap v1.7.1 [INFO] [stderr] Compiling prozchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [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 serde v1.0.219 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling procfs-core v0.16.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-websocket v0.43.2 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-metrics v0.14.1 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stdout] warning: unused import: `crate::network::message::Message` [INFO] [stdout] --> src/network/block_propagation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::network::message::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stdout] --> src/network/connection.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpListener` [INFO] [stdout] --> src/network/connection.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `RwLock` [INFO] [stdout] --> src/network/connection.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::{mpsc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Counter`, `Gauge`, and `Histogram` [INFO] [stdout] --> src/network/metrics/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Counter, Gauge, Histogram, HistogramOpts, HistogramVec, IntCounter, IntGauge, Registry [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_block_msg` [INFO] [stdout] --> src/network/block_propagation.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let full_block_msg = BlockAnnouncement::FullBlock(block.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_block_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compact_block` [INFO] [stdout] --> src/network/block_propagation.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let compact_block = if self.compact_blocks_enabled { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compact_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_only_msg` [INFO] [stdout] --> src/network/block_propagation.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let header_only_msg = BlockAnnouncement::HeaderOnly { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_only_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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 1m 47s [INFO] running `Command { std: "docker" "inspect" "99c306db0f936d51baf318cd3ac9a3e7d7fce799d924f4be26b3818ac8562942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c306db0f936d51baf318cd3ac9a3e7d7fce799d924f4be26b3818ac8562942", kill_on_drop: false }` [INFO] [stdout] 99c306db0f936d51baf318cd3ac9a3e7d7fce799d924f4be26b3818ac8562942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4ca02e42167d9d923cb88b288e6d38a51fc2bc8ffb5753a57c96915423ab363 [INFO] running `Command { std: "docker" "start" "-a" "e4ca02e42167d9d923cb88b288e6d38a51fc2bc8ffb5753a57c96915423ab363", 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 rustix v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling quickcheck v1.0.3 [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 hickory-proto v0.24.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 soketto v0.8.1 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling trust-dns-proto v0.23.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-websocket v0.43.2 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [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 hickory-resolver v0.24.4 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-metrics v0.14.1 [INFO] [stderr] Compiling libp2p v0.53.2 [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 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: `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: 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: field `first_seen` is never read [INFO] [stdout] --> src/network/discovery.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct LocalPeerRecord { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 32 | first_seen: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalPeerRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PeerExchange` and `LocalDiscovery` are never constructed [INFO] [stdout] --> src/network/discovery.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum PeerSource { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | PeerExchange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | LocalDiscovery, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_peer_id` is never read [INFO] [stdout] --> src/network/propagation.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct GossipManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | local_peer_id: PeerId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broadcast_manager`, `compact_announcements`, and `seen_transactions` are never read [INFO] [stdout] --> src/network/propagation.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 409 | pub struct TransactionPropagator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 410 | broadcast_manager: BroadcastManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 411 | compact_announcements: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 412 | seen_transactions: HashSet<[u8; 32]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_outbound_connections` and `peer_reputation` are never read [INFO] [stdout] --> src/network/security.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SybilProtection { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 68 | min_outbound_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | max_inbound_per_ip: usize, [INFO] [stdout] 70 | peer_reputation: ReputationTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ttl` is never read [INFO] [stdout] --> src/network/security.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 377 | pub struct ExpiringCache { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 378 | entries: HashMap, [INFO] [stdout] 379 | ttl: Duration, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn connected_peer_count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn connected_peer_count(&self) -> usize; [INFO] [stdout] 9 + fn connected_peer_count(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn connected_validator_count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn connected_validator_count(&self) -> usize; [INFO] [stdout] 12 + fn connected_validator_count(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn average_peer_latency(&self) -> Duration; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn average_peer_latency(&self) -> Duration; [INFO] [stdout] 15 + fn average_peer_latency(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn trigger_peer_discovery(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn trigger_peer_discovery(&self); [INFO] [stdout] 18 + fn trigger_peer_discovery(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn prioritize_validator_connections(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 - async fn prioritize_validator_connections(&self); [INFO] [stdout] 21 + fn prioritize_validator_connections(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn propagate_block(&self, block_data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 27 - async fn propagate_block(&self, block_data: Vec) -> Result<(), String>; [INFO] [stdout] 27 + fn propagate_block(&self, block_data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 30 - async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] 30 + fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn propagate_transaction(&self, tx_data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn propagate_transaction(&self, tx_data: Vec) -> Result<(), String>; [INFO] [stdout] 36 + fn propagate_transaction(&self, tx_data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 39 - async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] 39 + fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | async fn discover_peers(&self) -> Result, String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 45 - async fn discover_peers(&self) -> Result, String>; [INFO] [stdout] 45 + fn discover_peers(&self) -> impl std::future::Future, String>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 48 - async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo); [INFO] [stdout] 48 + fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn get_known_peers(&self) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 51 - async fn get_known_peers(&self) -> Vec; [INFO] [stdout] 51 + fn get_known_peers(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result; [INFO] [stdout] 57 + fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 - async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason); [INFO] [stdout] 60 + fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | async fn is_connected_to(&self, peer_id: &PeerId) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 63 - async fn is_connected_to(&self, peer_id: &PeerId) -> bool; [INFO] [stdout] 63 + fn is_connected_to(&self, peer_id: &PeerId) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn connection_count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 - async fn connection_count(&self) -> usize; [INFO] [stdout] 66 + fn connection_count(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/network/security.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | self.connection_manager.disconnect(peer_id, DisconnectReason::PeerBanned); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol_version` [INFO] [stdout] --> src/network/connection.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, _protocol_version, user_agent))) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 141 - Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] 141 + Ok(Ok((peer_id, network::service::NetworkService::start_message_handler::{closure#0}::{closure#0}::BRANCHES, user_agent))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/network/connection.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_seen` is never read [INFO] [stdout] --> src/network/discovery.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct LocalPeerRecord { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 32 | first_seen: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalPeerRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PeerExchange` and `LocalDiscovery` are never constructed [INFO] [stdout] --> src/network/discovery.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum PeerSource { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | PeerExchange, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 46 | LocalDiscovery, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `local_peer_id` is never read [INFO] [stdout] --> src/network/propagation.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct GossipManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | local_peer_id: PeerId, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `broadcast_manager`, `compact_announcements`, and `seen_transactions` are never read [INFO] [stdout] --> src/network/propagation.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 409 | pub struct TransactionPropagator { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 410 | broadcast_manager: BroadcastManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 411 | compact_announcements: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 412 | seen_transactions: HashSet<[u8; 32]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_outbound_connections` and `peer_reputation` are never read [INFO] [stdout] --> src/network/security.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct SybilProtection { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 68 | min_outbound_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | max_inbound_per_ip: usize, [INFO] [stdout] 70 | peer_reputation: ReputationTracker, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ttl` is never read [INFO] [stdout] --> src/network/security.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 377 | pub struct ExpiringCache { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 378 | entries: HashMap, [INFO] [stdout] 379 | ttl: Duration, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn connected_peer_count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn connected_peer_count(&self) -> usize; [INFO] [stdout] 9 + fn connected_peer_count(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn connected_validator_count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn connected_validator_count(&self) -> usize; [INFO] [stdout] 12 + fn connected_validator_count(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn average_peer_latency(&self) -> Duration; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn average_peer_latency(&self) -> Duration; [INFO] [stdout] 15 + fn average_peer_latency(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn trigger_peer_discovery(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 18 - async fn trigger_peer_discovery(&self); [INFO] [stdout] 18 + fn trigger_peer_discovery(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | async fn prioritize_validator_connections(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 21 - async fn prioritize_validator_connections(&self); [INFO] [stdout] 21 + fn prioritize_validator_connections(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn propagate_block(&self, block_data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 27 - async fn propagate_block(&self, block_data: Vec) -> Result<(), String>; [INFO] [stdout] 27 + fn propagate_block(&self, block_data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 30 - async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] 30 + fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn propagate_transaction(&self, tx_data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn propagate_transaction(&self, tx_data: Vec) -> Result<(), String>; [INFO] [stdout] 36 + fn propagate_transaction(&self, tx_data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 39 - async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stdout] 39 + fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | async fn discover_peers(&self) -> Result, String>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 45 - async fn discover_peers(&self) -> Result, String>; [INFO] [stdout] 45 + fn discover_peers(&self) -> impl std::future::Future, String>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 48 - async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo); [INFO] [stdout] 48 + fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | async fn get_known_peers(&self) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 51 - async fn get_known_peers(&self) -> Vec; [INFO] [stdout] 51 + fn get_known_peers(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 57 - async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result; [INFO] [stdout] 57 + fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 - async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason); [INFO] [stdout] 60 + fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | async fn is_connected_to(&self, peer_id: &PeerId) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 63 - async fn is_connected_to(&self, peer_id: &PeerId) -> bool; [INFO] [stdout] 63 + fn is_connected_to(&self, peer_id: &PeerId) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/network/interfaces.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn connection_count(&self) -> usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 - async fn connection_count(&self) -> usize; [INFO] [stdout] 66 + fn connection_count(&self) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/network/security.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | self.connection_manager.disconnect(peer_id, DisconnectReason::PeerBanned); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `log` is never read [INFO] [stdout] --> src/main.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 235 | pub log: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `level`, `enable_file_logging`, and `log_file` are never read [INFO] [stdout] --> src/main.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Log { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 271 | pub level: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 272 | pub enable_file_logging: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | pub log_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 58.41s [INFO] running `Command { std: "docker" "inspect" "e4ca02e42167d9d923cb88b288e6d38a51fc2bc8ffb5753a57c96915423ab363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ca02e42167d9d923cb88b288e6d38a51fc2bc8ffb5753a57c96915423ab363", kill_on_drop: false }` [INFO] [stdout] e4ca02e42167d9d923cb88b288e6d38a51fc2bc8ffb5753a57c96915423ab363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3008b1c6c8ed1c8c02c7effb9d26701b5c0162c0f8eb8ec72e39acdefcefc5c0 [INFO] running `Command { std: "docker" "start" "-a" "3008b1c6c8ed1c8c02c7effb9d26701b5c0162c0f8eb8ec72e39acdefcefc5c0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::network::message::Message` [INFO] [stderr] --> src/network/block_propagation.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::network::message::Message; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncRead` and `AsyncWrite` [INFO] [stderr] --> src/network/connection.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use tokio::io::{AsyncRead, AsyncWrite}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TcpListener` [INFO] [stderr] --> src/network/connection.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mutex` and `RwLock` [INFO] [stderr] --> src/network/connection.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use tokio::sync::{mpsc, Mutex, RwLock}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Counter`, `Gauge`, and `Histogram` [INFO] [stderr] --> src/network/metrics/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Counter, Gauge, Histogram, HistogramOpts, HistogramVec, IntCounter, IntGauge, Registry [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `full_block_msg` [INFO] [stderr] --> src/network/block_propagation.rs:157:13 [INFO] [stderr] | [INFO] [stderr] 157 | let full_block_msg = BlockAnnouncement::FullBlock(block.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_block_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compact_block` [INFO] [stderr] --> src/network/block_propagation.rs:159:13 [INFO] [stderr] | [INFO] [stderr] 159 | let compact_block = if self.compact_blocks_enabled { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compact_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header_only_msg` [INFO] [stderr] --> src/network/block_propagation.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | let header_only_msg = BlockAnnouncement::HeaderOnly { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_only_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message_tx` [INFO] [stderr] --> src/network/service.rs:351:9 [INFO] [stderr] | [INFO] [stderr] 351 | message_tx: mpsc::Sender, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_tx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `protocol_version` [INFO] [stderr] --> src/network/connection.rs:141:33 [INFO] [stderr] | [INFO] [stderr] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 141 | Ok(Ok((peer_id, _protocol_version, user_agent))) => { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stderr] | [INFO] [stderr] 141 - Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stderr] 141 + Ok(Ok((peer_id, network::service::NetworkService::start_message_handler::{closure#0}::{closure#0}::BRANCHES, user_agent))) => { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_agent` [INFO] [stderr] --> src/network/connection.rs:141:51 [INFO] [stderr] | [INFO] [stderr] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stderr] [INFO] [stderr] warning: field `first_seen` is never read [INFO] [stderr] --> src/network/discovery.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | struct LocalPeerRecord { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 32 | first_seen: Instant, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LocalPeerRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `PeerExchange` and `LocalDiscovery` are never constructed [INFO] [stderr] --> src/network/discovery.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 42 | enum PeerSource { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 45 | PeerExchange, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 46 | LocalDiscovery, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PeerSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `local_peer_id` is never read [INFO] [stderr] --> src/network/propagation.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 233 | pub struct GossipManager { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 239 | local_peer_id: PeerId, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `broadcast_manager`, `compact_announcements`, and `seen_transactions` are never read [INFO] [stderr] --> src/network/propagation.rs:410:5 [INFO] [stderr] | [INFO] [stderr] 409 | pub struct TransactionPropagator { [INFO] [stderr] | --------------------- fields in this struct [INFO] [stderr] 410 | broadcast_manager: BroadcastManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 411 | compact_announcements: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 412 | seen_transactions: HashSet<[u8; 32]>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `min_outbound_connections` and `peer_reputation` are never read [INFO] [stderr] --> src/network/security.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct SybilProtection { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 68 | min_outbound_connections: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 69 | max_inbound_per_ip: usize, [INFO] [stderr] 70 | peer_reputation: ReputationTracker, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `ttl` is never read [INFO] [stderr] --> src/network/security.rs:379:5 [INFO] [stderr] | [INFO] [stderr] 377 | pub struct ExpiringCache { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 378 | entries: HashMap, [INFO] [stderr] 379 | ttl: Duration, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | async fn connected_peer_count(&self) -> usize; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] 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] [stderr] | [INFO] [stderr] 9 - async fn connected_peer_count(&self) -> usize; [INFO] [stderr] 9 + fn connected_peer_count(&self) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | async fn connected_validator_count(&self) -> usize; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 12 - async fn connected_validator_count(&self) -> usize; [INFO] [stderr] 12 + fn connected_validator_count(&self) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | async fn average_peer_latency(&self) -> Duration; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 15 - async fn average_peer_latency(&self) -> Duration; [INFO] [stderr] 15 + fn average_peer_latency(&self) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | async fn trigger_peer_discovery(&self); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 18 - async fn trigger_peer_discovery(&self); [INFO] [stderr] 18 + fn trigger_peer_discovery(&self) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | async fn prioritize_validator_connections(&self); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 21 - async fn prioritize_validator_connections(&self); [INFO] [stderr] 21 + fn prioritize_validator_connections(&self) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | async fn propagate_block(&self, block_data: Vec) -> Result<(), String>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 27 - async fn propagate_block(&self, block_data: Vec) -> Result<(), String>; [INFO] [stderr] 27 + fn propagate_block(&self, block_data: Vec) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 30 - async fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stderr] 30 + fn handle_block_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | async fn propagate_transaction(&self, tx_data: Vec) -> Result<(), String>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 36 - async fn propagate_transaction(&self, tx_data: Vec) -> Result<(), String>; [INFO] [stderr] 36 + fn propagate_transaction(&self, tx_data: Vec) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 39 - async fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> Result<(), String>; [INFO] [stderr] 39 + fn handle_transaction_announcement(&self, peer_id: PeerId, data: Vec) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | async fn discover_peers(&self) -> Result, String>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 45 - async fn discover_peers(&self) -> Result, String>; [INFO] [stderr] 45 + fn discover_peers(&self) -> impl std::future::Future, String>> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 48 - async fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo); [INFO] [stderr] 48 + fn register_peer(&self, peer_info: crate::network::discovery::PeerInfo) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | async fn get_known_peers(&self) -> Vec; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 51 - async fn get_known_peers(&self) -> Vec; [INFO] [stderr] 51 + fn get_known_peers(&self) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 57 - async fn connect_to_peer(&self, address: std::net::SocketAddr) -> Result; [INFO] [stderr] 57 + fn connect_to_peer(&self, address: std::net::SocketAddr) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 60 - async fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason); [INFO] [stderr] 60 + fn disconnect_peer(&self, peer_id: &PeerId, reason: crate::types::DisconnectReason) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | async fn is_connected_to(&self, peer_id: &PeerId) -> bool; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 63 - async fn is_connected_to(&self, peer_id: &PeerId) -> bool; [INFO] [stderr] 63 + fn is_connected_to(&self, peer_id: &PeerId) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/network/interfaces.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | async fn connection_count(&self) -> usize; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 66 - async fn connection_count(&self) -> usize; [INFO] [stderr] 66 + fn connection_count(&self) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused implementer of `Future` that must be used [INFO] [stderr] --> src/network/security.rs:523:13 [INFO] [stderr] | [INFO] [stderr] 523 | self.connection_manager.disconnect(peer_id, DisconnectReason::PeerBanned); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `prozchain` (lib) generated 34 warnings (run `cargo fix --lib -p prozchain` to apply 6 suggestions) [INFO] [stderr] warning: field `log` is never read [INFO] [stderr] --> src/main.rs:235:13 [INFO] [stderr] | [INFO] [stderr] 232 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 235 | pub log: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `level`, `enable_file_logging`, and `log_file` are never read [INFO] [stderr] --> src/main.rs:271:13 [INFO] [stderr] | [INFO] [stderr] 270 | pub struct Log { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 271 | pub level: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 272 | pub enable_file_logging: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 273 | pub log_file: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `prozchain` (bin "prozchain" test) generated 2 warnings [INFO] [stderr] warning: `prozchain` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prozchain_lib-b4d0108b9c002231) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test network::tests::tests::test_network_service_startup ... ignored [INFO] [stdout] test network::tests::tests::test_create_node ... ok [INFO] [stdout] test network::tests::tests::test_peer_discovery ... ok [INFO] [stdout] test network::tests::tests::test_message_serialization ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- network::tests::tests::test_message_serialization stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'network::tests::tests::test_message_serialization' (26) panicked at src/network/tests.rs:38:9: [INFO] [stdout] Should deserialize successfully [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5acff838a5a2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5acff838a5a2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5acff838a5a2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5acff838a5a2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5acff839b8af - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5acff839b8af - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5acff8356e31 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5acff8356e31 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5acff8363562 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5acff836821f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5acff83680b1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5acff822a0ce - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5acff822a0ce - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5acff836898f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5acff836898f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5acff8368706 - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5acff8363699 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5acff834acbd - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5acff83a42e0 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5acff81bf72e - prozchain_lib::network::tests::tests::test_message_serialization::{{closure}}::h84dd661322f939c6 [INFO] [stdout] at /opt/rustwide/workdir/src/network/tests.rs:38:9 [INFO] [stdout] 20: 0x5acff81f0492 - as core::future::future::Future>::poll::h9b00a488be50780d [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 21: 0x5acff81f040d - as core::future::future::Future>::poll::h7817f2e35381c5ce [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x5acff819df8d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::he02638c85bf545cc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:733:70 [INFO] [stdout] 23: 0x5acff819de9b - tokio::task::coop::with_budget::hc4586e7a3d39e4ef [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 24: 0x5acff819de9b - tokio::task::coop::budget::h9f095db2b3ec7195 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 25: 0x5acff819de9b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hbcf1a927b98f40c9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 26: 0x5acff819b020 - tokio::runtime::scheduler::current_thread::Context::enter::h86d6f2409d592fae [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 27: 0x5acff819c910 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h0892dbadf97c987a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:732:44 [INFO] [stdout] 28: 0x5acff819c5d4 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::hac344229f8e6cfa8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 29: 0x5acff81b00ab - tokio::runtime::context::scoped::Scoped::set::h56608f352131b967 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 30: 0x5acff81a77d9 - tokio::runtime::context::set_scheduler::{{closure}}::h2b7cfd0c32abadf4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context.rs:180:38 [INFO] [stdout] 31: 0x5acff81aa122 - std::thread::local::LocalKey::try_with::h24bd9f9d257ea72e [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 32: 0x5acff81a98de - std::thread::local::LocalKey::with::hc72c9d97cdf3a26e [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/local.rs:279:20 [INFO] [stdout] 33: 0x5acff81a770d - tokio::runtime::context::set_scheduler::h2d233b1d0da40203 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context.rs:180:17 [INFO] [stdout] 34: 0x5acff819bf40 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h34aee5f927341453 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 35: 0x5acff819c5f3 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h0ecec239485a9dcb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:720:24 [INFO] [stdout] 36: 0x5acff8198ef3 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::hd3e6b5bf0f711401 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:200:33 [INFO] [stdout] 37: 0x5acff81b0620 - tokio::runtime::context::runtime::enter_runtime::hd697b83d4831e00c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 38: 0x5acff8198891 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::hbf2cb8f82e6157dd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 39: 0x5acff81b0f94 - tokio::runtime::runtime::Runtime::block_on_inner::h5438ea3493a852c6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/runtime.rs:368:52 [INFO] [stdout] 40: 0x5acff81b1157 - tokio::runtime::runtime::Runtime::block_on::hce1909e8180cf7f0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/runtime.rs:342:18 [INFO] [stdout] 41: 0x5acff81bf189 - prozchain_lib::network::tests::tests::test_message_serialization::h289dea59b2efcff1 [INFO] [stdout] at /opt/rustwide/workdir/src/network/tests.rs:42:109 [INFO] [stdout] 42: 0x5acff81bf217 - prozchain_lib::network::tests::tests::test_message_serialization::{{closure}}::h4d93bddf4a39154b [INFO] [stdout] at /opt/rustwide/workdir/src/network/tests.rs:29:42 [INFO] [stdout] 43: 0x5acff81557c6 - core::ops::function::FnOnce::call_once::ha4fc631e20a7f4c3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x5acff8229e8b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x5acff8229e8b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 46: 0x5acff823f975 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 47: 0x5acff823f975 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 48: 0x5acff823f975 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 49: 0x5acff823f975 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 50: 0x5acff823f975 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 51: 0x5acff823f975 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 52: 0x5acff823f975 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 53: 0x5acff82162e4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 54: 0x5acff82162e4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 55: 0x5acff8219c8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 56: 0x5acff8219c8a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 57: 0x5acff8219c8a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 58: 0x5acff8219c8a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 59: 0x5acff8219c8a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 60: 0x5acff8219c8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 61: 0x5acff8219c8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 62: 0x5acff835d71f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 63: 0x5acff835d71f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 64: 0x7829e27c3aa4 - [INFO] [stdout] 65: 0x7829e2850a34 - clone [INFO] [stdout] 66: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] network::tests::tests::test_message_serialization [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "3008b1c6c8ed1c8c02c7effb9d26701b5c0162c0f8eb8ec72e39acdefcefc5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3008b1c6c8ed1c8c02c7effb9d26701b5c0162c0f8eb8ec72e39acdefcefc5c0", kill_on_drop: false }` [INFO] [stdout] 3008b1c6c8ed1c8c02c7effb9d26701b5c0162c0f8eb8ec72e39acdefcefc5c0