[INFO] cloning repository https://github.com/peshwar9/narwhal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peshwar9/narwhal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshwar9%2Fnarwhal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshwar9%2Fnarwhal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cab04c7885b1049604596b0adf17131000acae3 [INFO] building peshwar9/narwhal against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshwar9%2Fnarwhal" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/peshwar9/narwhal [INFO] finished tweaking git repo https://github.com/peshwar9/narwhal [INFO] tweaked toml for git repo https://github.com/peshwar9/narwhal written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/peshwar9/narwhal on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/peshwar9/narwhal already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multihash v0.19.2 [INFO] [stderr] Downloaded data-encoding-macro v0.1.15 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.13 [INFO] [stderr] Downloaded unsigned-varint v0.8.0 [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] [stderr] Downloaded libp2p-yamux v0.45.2 [INFO] [stderr] Downloaded multiaddr v0.18.2 [INFO] [stderr] Downloaded quick-protobuf-codec v0.3.1 [INFO] [stderr] Downloaded libp2p v0.53.2 [INFO] [stderr] Downloaded libp2p-quic v0.10.3 [INFO] [stderr] Downloaded der-parser v8.2.0 [INFO] [stderr] Downloaded libp2p-allow-block-list v0.3.0 [INFO] [stderr] Downloaded libp2p-identify v0.44.2 [INFO] [stderr] Downloaded libp2p-mdns v0.45.1 [INFO] [stderr] Downloaded libp2p-connection-limits v0.3.1 [INFO] [stderr] Downloaded libp2p-tls v0.4.1 [INFO] [stderr] Downloaded if-addrs v0.10.2 [INFO] [stderr] Downloaded libp2p-core v0.41.3 [INFO] [stderr] Downloaded cbor4ii v0.3.3 [INFO] [stderr] Downloaded windows-core v0.53.0 [INFO] [stderr] Downloaded rcgen v0.11.3 [INFO] [stderr] Downloaded libp2p-tls v0.3.0 [INFO] [stderr] Downloaded rustls v0.23.18 [INFO] [stderr] Downloaded libp2p-dns v0.41.1 [INFO] [stderr] Downloaded snow v0.9.6 [INFO] [stderr] Downloaded libp2p-noise v0.44.0 [INFO] [stderr] Downloaded libp2p-tcp v0.41.0 [INFO] [stderr] Downloaded yamux v0.12.1 [INFO] [stderr] Downloaded quick-protobuf v0.8.1 [INFO] [stderr] Downloaded libp2p-kad v0.45.3 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded asn1-rs v0.5.2 [INFO] [stderr] Downloaded igd-next v0.14.3 [INFO] [stderr] Downloaded libp2p-upnp v0.2.2 [INFO] [stderr] Downloaded yamux v0.13.4 [INFO] [stderr] Downloaded libp2p-identity v0.2.10 [INFO] [stderr] Downloaded asynchronous-codec v0.7.0 [INFO] [stderr] Downloaded quinn-udp v0.5.7 [INFO] [stderr] Downloaded libp2p-request-response v0.26.3 [INFO] [stderr] Downloaded netlink-proto v0.11.3 [INFO] [stderr] Downloaded netlink-sys v0.8.6 [INFO] [stderr] Downloaded futures-rustls v0.24.0 [INFO] [stderr] Downloaded libp2p-swarm-derive v0.34.2 [INFO] [stderr] Downloaded unsigned-varint v0.7.2 [INFO] [stderr] Downloaded multistream-select v0.13.0 [INFO] [stderr] Downloaded libp2p-metrics v0.14.1 [INFO] [stderr] Downloaded futures-bounded v0.2.4 [INFO] [stderr] Downloaded asn1-rs-impl v0.1.0 [INFO] [stderr] Downloaded x509-parser v0.15.1 [INFO] [stderr] Downloaded asn1-rs-derive v0.4.0 [INFO] [stderr] Downloaded if-watch v3.2.1 [INFO] [stderr] Downloaded oid-registry v0.6.1 [INFO] [stderr] Downloaded multibase v0.9.1 [INFO] [stderr] Downloaded rw-stream-sink v0.4.0 [INFO] [stderr] Downloaded libp2p-swarm v0.44.2 [INFO] [stderr] Downloaded windows v0.53.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5306c11bb3e8b3693df3a67682d0a096f9b54ef1d97b5703f17bc4b2f896ca25 [INFO] running `Command { std: "docker" "start" "-a" "5306c11bb3e8b3693df3a67682d0a096f9b54ef1d97b5703f17bc4b2f896ca25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5306c11bb3e8b3693df3a67682d0a096f9b54ef1d97b5703f17bc4b2f896ca25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5306c11bb3e8b3693df3a67682d0a096f9b54ef1d97b5703f17bc4b2f896ca25", kill_on_drop: false }` [INFO] [stdout] 5306c11bb3e8b3693df3a67682d0a096f9b54ef1d97b5703f17bc4b2f896ca25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c8c16b7d55205b529b6b071ddc3134ecbc23f9464206b79e930f9714188e4e [INFO] running `Command { std: "docker" "start" "-a" "12c8c16b7d55205b529b6b071ddc3134ecbc23f9464206b79e930f9714188e4e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling multihash v0.19.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling rcgen v0.11.3 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling asn1-rs v0.5.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling der-parser v8.2.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling x509-parser v0.15.1 [INFO] [stderr] Compiling libp2p-identity v0.2.10 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-rustls v0.24.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 http-body-util v0.1.2 [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 multistream-select v0.13.0 [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling cbor4ii v0.3.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling netlink-sys v0.8.6 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling netlink-proto v0.11.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling libp2p-tls v0.3.0 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling libp2p-dns v0.41.1 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling narwhal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/p2p.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [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 import: `std::io::Write` [INFO] [stdout] --> src/p2p.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/p2p.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedPeerManager` is never used [INFO] [stdout] --> src/behavior.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorContext` is never constructed [INFO] [stdout] --> src/behavior.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorWithContext` is never constructed [INFO] [stdout] --> src/behavior.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct BehaviorWithContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `behavior_mut`, `context`, `send_transaction_to_peers`, and `on_swarm_event` are never used [INFO] [stdout] --> src/behavior.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BehaviorWithContext { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn behavior_mut(&mut self) -> &mut Behavior { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn context(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn send_transaction_to_peers(&mut self, transaction: TransactionMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn on_swarm_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorEvent` is never used [INFO] [stdout] --> src/behavior.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) enum BehaviorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_response_event` is never used [INFO] [stdout] --> src/behavior.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Behavior { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn handle_request_response_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BehaviorContext` is more private than the item `Node::::new` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(swarm: Swarm, context: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Node::::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BehaviorContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/behavior.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedDAG` is never used [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | type SharedDAG = Arc>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedSwarm` is never used [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | type SharedSwarm = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedPeerManager` is never used [INFO] [stdout] --> src/main.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | type SharedPeerManager = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedState` is never used [INFO] [stdout] --> src/main.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | type SharedState = (SharedPeerManager, SharedDAG, SharedSwarm); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `swarm` and `context` are never read [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 73 | swarm: Swarm, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | context: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer_manager` is never read [INFO] [stdout] --> src/behavior.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 36 | pub peer_manager: SharedPeerManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorWithContext` is never constructed [INFO] [stdout] --> src/behavior.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct BehaviorWithContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `behavior_mut`, `context`, `send_transaction_to_peers`, and `on_swarm_event` are never used [INFO] [stdout] --> src/behavior.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BehaviorWithContext { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn behavior_mut(&mut self) -> &mut Behavior { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn context(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn send_transaction_to_peers(&mut self, transaction: TransactionMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn on_swarm_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorEvent` is never used [INFO] [stdout] --> src/behavior.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) enum BehaviorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_response_event` is never used [INFO] [stdout] --> src/behavior.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Behavior { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn handle_request_response_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "12c8c16b7d55205b529b6b071ddc3134ecbc23f9464206b79e930f9714188e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c8c16b7d55205b529b6b071ddc3134ecbc23f9464206b79e930f9714188e4e", kill_on_drop: false }` [INFO] [stdout] 12c8c16b7d55205b529b6b071ddc3134ecbc23f9464206b79e930f9714188e4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e20b18f59c6d14d36d993f72ea7b72842412162935df1b0dc0f1b44c0da82e36 [INFO] running `Command { std: "docker" "start" "-a" "e20b18f59c6d14d36d993f72ea7b72842412162935df1b0dc0f1b44c0da82e36", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/p2p.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [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 import: `std::io::Write` [INFO] [stdout] --> src/p2p.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/p2p.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedPeerManager` is never used [INFO] [stdout] --> src/behavior.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorContext` is never constructed [INFO] [stdout] --> src/behavior.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorWithContext` is never constructed [INFO] [stdout] --> src/behavior.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct BehaviorWithContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling narwhal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new`, `behavior_mut`, `context`, `send_transaction_to_peers`, and `on_swarm_event` are never used [INFO] [stdout] --> src/behavior.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BehaviorWithContext { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn behavior_mut(&mut self) -> &mut Behavior { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn context(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn send_transaction_to_peers(&mut self, transaction: TransactionMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn on_swarm_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorEvent` is never used [INFO] [stdout] --> src/behavior.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) enum BehaviorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_response_event` is never used [INFO] [stdout] --> src/behavior.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Behavior { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn handle_request_response_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/p2p.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [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 import: `std::io::Write` [INFO] [stdout] --> src/p2p.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/p2p.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedPeerManager` is never used [INFO] [stdout] --> src/behavior.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorContext` is never constructed [INFO] [stdout] --> src/behavior.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorWithContext` is never constructed [INFO] [stdout] --> src/behavior.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct BehaviorWithContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `behavior_mut`, `context`, `send_transaction_to_peers`, and `on_swarm_event` are never used [INFO] [stdout] --> src/behavior.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BehaviorWithContext { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn behavior_mut(&mut self) -> &mut Behavior { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn context(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn send_transaction_to_peers(&mut self, transaction: TransactionMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn on_swarm_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorEvent` is never used [INFO] [stdout] --> src/behavior.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) enum BehaviorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_response_event` is never used [INFO] [stdout] --> src/behavior.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Behavior { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn handle_request_response_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BehaviorContext` is more private than the item `Node::::new` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(swarm: Swarm, context: Arc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Node::::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `BehaviorContext` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/behavior.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedDAG` is never used [INFO] [stdout] --> src/main.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | type SharedDAG = Arc>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedSwarm` is never used [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | type SharedSwarm = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedPeerManager` is never used [INFO] [stdout] --> src/main.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | type SharedPeerManager = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedState` is never used [INFO] [stdout] --> src/main.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | type SharedState = (SharedPeerManager, SharedDAG, SharedSwarm); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `swarm` and `context` are never read [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 73 | swarm: Swarm, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | context: Arc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer_manager` is never read [INFO] [stdout] --> src/behavior.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct BehaviorContext { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 36 | pub peer_manager: SharedPeerManager, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BehaviorWithContext` is never constructed [INFO] [stdout] --> src/behavior.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) struct BehaviorWithContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `behavior_mut`, `context`, `send_transaction_to_peers`, and `on_swarm_event` are never used [INFO] [stdout] --> src/behavior.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl BehaviorWithContext { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 54 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn behavior_mut(&mut self) -> &mut Behavior { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn context(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn send_transaction_to_peers(&mut self, transaction: TransactionMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn on_swarm_event(&mut self, event: Event) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BehaviorEvent` is never used [INFO] [stdout] --> src/behavior.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | pub(crate) enum BehaviorEvent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_request_response_event` is never used [INFO] [stdout] --> src/behavior.rs:206:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Behavior { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | fn handle_request_response_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/behavior.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | type SharedPeerManager = Arc>; [INFO] [stdout] | --^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "e20b18f59c6d14d36d993f72ea7b72842412162935df1b0dc0f1b44c0da82e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20b18f59c6d14d36d993f72ea7b72842412162935df1b0dc0f1b44c0da82e36", kill_on_drop: false }` [INFO] [stdout] e20b18f59c6d14d36d993f72ea7b72842412162935df1b0dc0f1b44c0da82e36