[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 try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuant72%2Fprozchain" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/juant72/prozchain [INFO] finished tweaking git repo https://github.com/juant72/prozchain [INFO] tweaked toml for git repo https://github.com/juant72/prozchain written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/juant72/prozchain on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 894f31708349bffc219faba393ee3a6f2f37c1c0ca70f23afb9621587375debb [INFO] running `Command { std: "docker" "start" "-a" "894f31708349bffc219faba393ee3a6f2f37c1c0ca70f23afb9621587375debb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "894f31708349bffc219faba393ee3a6f2f37c1c0ca70f23afb9621587375debb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894f31708349bffc219faba393ee3a6f2f37c1c0ca70f23afb9621587375debb", kill_on_drop: false }` [INFO] [stdout] 894f31708349bffc219faba393ee3a6f2f37c1c0ca70f23afb9621587375debb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a2ff3076a22dc60650ecf6bbaa844cdc0806bb4b2c115fb4ea4567cf8a11df0 [INFO] running `Command { std: "docker" "start" "-a" "6a2ff3076a22dc60650ecf6bbaa844cdc0806bb4b2c115fb4ea4567cf8a11df0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling resolv-conf v0.7.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling prozchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.103.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.15 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling data-encoding-macro v0.1.17 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling pest_generator 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 futures-rustls v0.26.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.7.15 [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 toml_edit v0.22.24 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling procfs-core v0.16.0 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling log4rs v1.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling url v2.5.4 [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-websocket v0.43.2 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [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-connection-limits v0.3.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [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] [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] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/network/connection.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_tx` [INFO] [stdout] --> src/network/service.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | message_tx: mpsc::Sender, [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: 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 52s [INFO] running `Command { std: "docker" "inspect" "6a2ff3076a22dc60650ecf6bbaa844cdc0806bb4b2c115fb4ea4567cf8a11df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a2ff3076a22dc60650ecf6bbaa844cdc0806bb4b2c115fb4ea4567cf8a11df0", kill_on_drop: false }` [INFO] [stdout] 6a2ff3076a22dc60650ecf6bbaa844cdc0806bb4b2c115fb4ea4567cf8a11df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46432ecbc72e9bc393b36bfd2c4ca5d05bc37a9df6a281fccd7e74607ec8ab80 [INFO] running `Command { std: "docker" "start" "-a" "46432ecbc72e9bc393b36bfd2c4ca5d05bc37a9df6a281fccd7e74607ec8ab80", 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 futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling rstest_macros v0.18.2 [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 glob v0.3.2 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling log4rs v1.3.0 [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 env_filter v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling env_logger v0.11.7 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling soketto v0.8.1 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling rtnetlink v0.13.1 [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-websocket v0.43.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-relay v0.17.2 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling trust-dns-resolver v0.23.2 [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 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] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/network/connection.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_block_msg` [INFO] [stdout] --> src/network/block_propagation.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let full_block_msg = BlockAnnouncement::FullBlock(block.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_block_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compact_block` [INFO] [stdout] --> src/network/block_propagation.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let compact_block = if self.compact_blocks_enabled { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compact_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_only_msg` [INFO] [stdout] --> src/network/block_propagation.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let header_only_msg = BlockAnnouncement::HeaderOnly { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_only_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol_version` [INFO] [stdout] --> src/network/connection.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_agent` [INFO] [stdout] --> src/network/connection.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Ok((peer_id, protocol_version, user_agent))) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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 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 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 `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 48.77s [INFO] running `Command { std: "docker" "inspect" "46432ecbc72e9bc393b36bfd2c4ca5d05bc37a9df6a281fccd7e74607ec8ab80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46432ecbc72e9bc393b36bfd2c4ca5d05bc37a9df6a281fccd7e74607ec8ab80", kill_on_drop: false }` [INFO] [stdout] 46432ecbc72e9bc393b36bfd2c4ca5d05bc37a9df6a281fccd7e74607ec8ab80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9366d8983992c81f39220aa7201eaf87a196aa653a5256bb436cb44682a4e451 [INFO] running `Command { std: "docker" "start" "-a" "9366d8983992c81f39220aa7201eaf87a196aa653a5256bb436cb44682a4e451", 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: `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] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_version` [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: 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: 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 11 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` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] warning: `prozchain` (bin "prozchain" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prozchain_lib-2f9fad64549f9489) [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' (19) panicked at src/network/tests.rs:38:9: [INFO] [stdout] Should deserialize successfully [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x64eb11b4d788 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64eb11b4d788 - std[d054f6f42beb1baa]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64eb11b4d788 - std[d054f6f42beb1baa]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x64eb11b4d788 - <::print::DisplayBacktrace as core[5a1c3e9896636f3a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x64eb11b62e1a - ::fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x64eb11b62e1a - core[5a1c3e9896636f3a]::fmt::write [INFO] [stdout] 6: 0x64eb11b525d2 - std[d054f6f42beb1baa]::io::default_write_fmt::> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x64eb11b525d2 - as std[d054f6f42beb1baa]::io::Write>::write_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x64eb11b2c096 - ::print [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x64eb11b2c096 - std[d054f6f42beb1baa]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x64eb11b45a59 - std[d054f6f42beb1baa]::panicking::default_hook [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x64eb119efd8c - core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9 [INFO] [stdout] 12: 0x64eb119efd8c - test[fad20673b750c10e]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x64eb11b45cd2 - core[5a1c3e9896636f3a]::ops::function::Fn<(&'a std[d054f6f42beb1baa]::panic::PanicHookInfo<'b>,), Output = ()> + core[5a1c3e9896636f3a]::marker::Send + core[5a1c3e9896636f3a]::marker::Sync> as core[5a1c3e9896636f3a]::ops::function::Fn<(&std[d054f6f42beb1baa]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2291:9 [INFO] [stdout] 14: 0x64eb11b45cd2 - std[d054f6f42beb1baa]::panicking::panic_with_hook [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x64eb11b2c184 - std[d054f6f42beb1baa]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:691:13 [INFO] [stdout] 16: 0x64eb11b23a39 - std[d054f6f42beb1baa]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x64eb11b2d02d - __rustc[7ab284efd7f33ea8]::rust_begin_unwind [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x64eb11b6360c - core[5a1c3e9896636f3a]::panicking::panic_fmt [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x64eb119cb9d6 - prozchain_lib[9631f84274daefc9]::network::tests::tests::test_message_serialization::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/network/tests.rs:38:9 [INFO] [stdout] 20: 0x64eb119a4ce2 - > as core[5a1c3e9896636f3a]::future::future::Future>::poll [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/future/future.rs:133:9 [INFO] [stdout] 21: 0x64eb119a4d5d - >> as core[5a1c3e9896636f3a]::future::future::Future>::poll [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/future/future.rs:133:9 [INFO] [stdout] 22: 0x64eb119c6c2d - ::block_on::>>>::{closure#0}::{closure#0}::{closure#0} [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: 0x64eb119c6b2b - tokio[e0a9f627d60ecf3a]::task::coop::with_budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [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: 0x64eb119c6b2b - tokio[e0a9f627d60ecf3a]::task::coop::budget::, ::block_on>>>::{closure#0}::{closure#0}::{closure#0}> [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: 0x64eb119c6b2b - ::block_on::>>>::{closure#0}::{closure#0} [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: 0x64eb119c0480 - ::enter::, ::block_on>>>::{closure#0}::{closure#0}> [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: 0x64eb119c5ef0 - ::block_on::>>>::{closure#0} [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: 0x64eb119c51d4 - ::enter::<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>>::{closure#0} [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: 0x64eb119abfab - >::set::<::enter<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>>::{closure#0}, (alloc[154f689e5dd3bae5]::boxed::Box, core[5a1c3e9896636f3a]::option::Option<()>)> [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: 0x64eb11994b69 - tokio[e0a9f627d60ecf3a]::runtime::context::set_scheduler::<(alloc[154f689e5dd3bae5]::boxed::Box, core[5a1c3e9896636f3a]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>>::{closure#0}>::{closure#0} [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: 0x64eb119b59e2 - >::try_with::, core[5a1c3e9896636f3a]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[154f689e5dd3bae5]::boxed::Box, core[5a1c3e9896636f3a]::option::Option<()>)> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/local.rs:462:12 [INFO] [stdout] 32: 0x64eb119b556e - >::with::, core[5a1c3e9896636f3a]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[154f689e5dd3bae5]::boxed::Box, core[5a1c3e9896636f3a]::option::Option<()>)> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/local.rs:426:20 [INFO] [stdout] 33: 0x64eb1199395d - tokio[e0a9f627d60ecf3a]::runtime::context::set_scheduler::<(alloc[154f689e5dd3bae5]::boxed::Box, core[5a1c3e9896636f3a]::option::Option<()>), ::enter<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>>::{closure#0}> [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: 0x64eb119c4080 - ::enter::<::block_on>>>::{closure#0}, core[5a1c3e9896636f3a]::option::Option<()>> [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: 0x64eb119c4376 - ::block_on::>>> [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: 0x64eb119c4ce3 - ::block_on::>>::{closure#0} [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: 0x64eb119aa7c3 - tokio[e0a9f627d60ecf3a]::runtime::context::runtime::enter_runtime::<::block_on>>::{closure#0}, ()> [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: 0x64eb119be611 - ::block_on::>> [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: 0x64eb119a50a4 - ::block_on_inner::>> [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: 0x64eb119a526a - ::block_on::>> [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: 0x64eb119d0599 - prozchain_lib[9631f84274daefc9]::network::tests::tests::test_message_serialization [INFO] [stdout] at /opt/rustwide/workdir/src/network/tests.rs:42:109 [INFO] [stdout] 42: 0x64eb119caaf7 - prozchain_lib[9631f84274daefc9]::network::tests::tests::test_message_serialization::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/network/tests.rs:29:42 [INFO] [stdout] 43: 0x64eb1195d7f6 - >::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x64eb119e2e6b - core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x64eb119e2e6b - test[fad20673b750c10e]::__rust_begin_short_backtrace::, fn() -> core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:724:18 [INFO] [stdout] 46: 0x64eb119f06e5 - test[fad20673b750c10e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:74 [INFO] [stdout] 47: 0x64eb119f06e5 - as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 48: 0x64eb119f06e5 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40 [INFO] [stdout] 49: 0x64eb119f06e5 - std[d054f6f42beb1baa]::panicking::catch_unwind::, core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19 [INFO] [stdout] 50: 0x64eb119f06e5 - std[d054f6f42beb1baa]::panic::catch_unwind::, core[5a1c3e9896636f3a]::result::Result<(), alloc[154f689e5dd3bae5]::string::String>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14 [INFO] [stdout] 51: 0x64eb119f06e5 - test[fad20673b750c10e]::run_test_in_process [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:747:27 [INFO] [stdout] 52: 0x64eb119f06e5 - test[fad20673b750c10e]::run_test::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:668:43 [INFO] [stdout] 53: 0x64eb119eb244 - test[fad20673b750c10e]::run_test::{closure#1} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/test/src/lib.rs:698:41 [INFO] [stdout] 54: 0x64eb119eb244 - std[d054f6f42beb1baa]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 55: 0x64eb119f3762 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 56: 0x64eb119f3762 - ::{closure#1}::{closure#0}> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 57: 0x64eb119f3762 - std[d054f6f42beb1baa]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:581:40 [INFO] [stdout] 58: 0x64eb119f3762 - std[d054f6f42beb1baa]::panicking::catch_unwind::<(), core[5a1c3e9896636f3a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panicking.rs:544:19 [INFO] [stdout] 59: 0x64eb119f3762 - std[d054f6f42beb1baa]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/panic.rs:359:14 [INFO] [stdout] 60: 0x64eb119f3762 - std[d054f6f42beb1baa]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 61: 0x64eb119f3762 - ::{closure#1} as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 62: 0x64eb11b4cf1f - + core[5a1c3e9896636f3a]::marker::Send> as core[5a1c3e9896636f3a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/alloc/src/boxed.rs:2277:9 [INFO] [stdout] 63: 0x64eb11b4cf1f - ::new::thread_start [INFO] [stdout] at /rustc/28f95933dc0727396c07b48d0a8cb5211b7fb472/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 64: 0x7df0db8eeaa4 - [INFO] [stdout] 65: 0x7df0db97ba64 - 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.09s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "9366d8983992c81f39220aa7201eaf87a196aa653a5256bb436cb44682a4e451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9366d8983992c81f39220aa7201eaf87a196aa653a5256bb436cb44682a4e451", kill_on_drop: false }` [INFO] [stdout] 9366d8983992c81f39220aa7201eaf87a196aa653a5256bb436cb44682a4e451