[INFO] fetching crate bitcoinsv 0.2.6... [INFO] checking bitcoinsv-0.2.6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate bitcoinsv 0.2.6 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bitcoinsv 0.2.6 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinsv 0.2.6 [INFO] finished tweaking crates.io crate bitcoinsv 0.2.6 [INFO] tweaked toml for crates.io crate bitcoinsv 0.2.6 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2ae3abfddf9eb9e5eb23eb65aabda422ff3e12ae1fcd3ebda8bba3fcee002b [INFO] running `Command { std: "docker" "start" "-a" "5f2ae3abfddf9eb9e5eb23eb65aabda422ff3e12ae1fcd3ebda8bba3fcee002b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2ae3abfddf9eb9e5eb23eb65aabda422ff3e12ae1fcd3ebda8bba3fcee002b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2ae3abfddf9eb9e5eb23eb65aabda422ff3e12ae1fcd3ebda8bba3fcee002b", kill_on_drop: false }` [INFO] [stdout] 5f2ae3abfddf9eb9e5eb23eb65aabda422ff3e12ae1fcd3ebda8bba3fcee002b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2465452ba09db09fb0b45388b8b0a2c3f98182df7f60db395abe4fc08756e43 [INFO] running `Command { std: "docker" "start" "-a" "a2465452ba09db09fb0b45388b8b0a2c3f98182df7f60db395abe4fc08756e43", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling uuid-macro-internal v1.10.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking bitcoinsv v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/util/amount.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/util/amount.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/p2p/manager.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 203 | impl P2PManagerActor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | async fn disconnect(&mut self, p: PeerAddress) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_id`, `config`, `data_channel`, `attempts`, `primary_config`, and `peer_address` are never read [INFO] [stdout] --> src/p2p/connection.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct ConnectionActor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | connection_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 138 | // the configuration for the connection, we'll need this when we support multiple channels [INFO] [stdout] 139 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 140 | // the channel on which to send substantive P2P messages [INFO] [stdout] 141 | data_channel: P2PMessageChannelSender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 142 | // number of attempts to connect [INFO] [stdout] 143 | attempts: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | primary_config: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 150 | // the peer [INFO] [stdout] 151 | peer_address: PeerAddress, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WaitForRetry` is never constructed [INFO] [stdout] --> src/p2p/stream.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum StreamState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 110 | WaitForRetry, // waiting for a retry [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListenerConfig` is never constructed [INFO] [stdout] --> src/p2p/listener.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ListenerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/p2p/listener.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ListenerConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Listener` is never constructed [INFO] [stdout] --> src/p2p/listener.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Listener { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_port` are never used [INFO] [stdout] --> src/p2p/listener.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Listener { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(outbox: Sender, config: ListenerConfig) -> (Self, JoinHandle<()>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ListenerMessage` is never used [INFO] [stdout] --> src/p2p/listener.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum ListenerMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ListenerInternalMessage` is never used [INFO] [stdout] --> src/p2p/listener.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | enum ListenerInternalMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListenerActor` is never constructed [INFO] [stdout] --> src/p2p/listener.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct ListenerActor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/p2p/listener.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl ListenerActor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 64 | fn new(inbox: Receiver, outbox: Sender, config: ListenerConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | async fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_NETWORK` is never used [INFO] [stdout] --> src/p2p/messages/version.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const NODE_NETWORK: u64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALERT` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ALERT: [u8; 12] = *b"alert\0\0\0\0\0\0\0"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKTXN` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | pub const BLOCKTXN: [u8; 12] = *b"blocktxn\0\0\0\0"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMPCTBLOCK` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CMPCTBLOCK: [u8; 12] = *b"cmpctblock\0\0"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GETBLOCKTXN` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub const GETBLOCKTXN: [u8; 12] = *b"getblocktxn\0"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_MALFORMED` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const REJECT_MALFORMED: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_INVALID` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const REJECT_INVALID: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_OBSOLETE` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const REJECT_OBSOLETE: u8 = 0x11; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_DUPLICATE` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const REJECT_DUPLICATE: u8 = 0x12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_NONSTANDARD` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const REJECT_NONSTANDARD: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_DUST` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const REJECT_DUST: u8 = 0x41; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_INSUFFICIENT_FEE` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const REJECT_INSUFFICIENT_FEE: u8 = 0x42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_CHECKPOINT` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const REJECT_CHECKPOINT: u8 = 0x43; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/p2p/params.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NetworkParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkParams` 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: constant `MAX_TX_SIZE` is never used [INFO] [stdout] --> src/p2p/params.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const MAX_TX_SIZE: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `disconnect` is never used [INFO] [stdout] --> src/p2p/manager.rs:274:14 [INFO] [stdout] | [INFO] [stdout] 203 | impl P2PManagerActor { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | async fn disconnect(&mut self, p: PeerAddress) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_id`, `config`, `data_channel`, `attempts`, `primary_config`, and `peer_address` are never read [INFO] [stdout] --> src/p2p/connection.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct ConnectionActor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 137 | connection_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 138 | // the configuration for the connection, we'll need this when we support multiple channels [INFO] [stdout] 139 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 140 | // the channel on which to send substantive P2P messages [INFO] [stdout] 141 | data_channel: P2PMessageChannelSender, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 142 | // number of attempts to connect [INFO] [stdout] 143 | attempts: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | primary_config: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 150 | // the peer [INFO] [stdout] 151 | peer_address: PeerAddress, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WaitForRetry` is never constructed [INFO] [stdout] --> src/p2p/stream.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum StreamState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 110 | WaitForRetry, // waiting for a retry [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListenerConfig` is never constructed [INFO] [stdout] --> src/p2p/listener.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ListenerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/p2p/listener.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ListenerConfig { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Listener` is never constructed [INFO] [stdout] --> src/p2p/listener.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Listener { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_port` are never used [INFO] [stdout] --> src/p2p/listener.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Listener { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(outbox: Sender, config: ListenerConfig) -> (Self, JoinHandle<()>) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_port(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ListenerMessage` is never used [INFO] [stdout] --> src/p2p/listener.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum ListenerMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ListenerInternalMessage` is never used [INFO] [stdout] --> src/p2p/listener.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | enum ListenerInternalMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListenerActor` is never constructed [INFO] [stdout] --> src/p2p/listener.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct ListenerActor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/p2p/listener.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl ListenerActor { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 64 | fn new(inbox: Receiver, outbox: Sender, config: ListenerConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | async fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NODE_NETWORK` is never used [INFO] [stdout] --> src/p2p/messages/version.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const NODE_NETWORK: u64 = 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALERT` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub const ALERT: [u8; 12] = *b"alert\0\0\0\0\0\0\0"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCKTXN` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | pub const BLOCKTXN: [u8; 12] = *b"blocktxn\0\0\0\0"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CMPCTBLOCK` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub const CMPCTBLOCK: [u8; 12] = *b"cmpctblock\0\0"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GETBLOCKTXN` is never used [INFO] [stdout] --> src/p2p/messages/messages.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | pub const GETBLOCKTXN: [u8; 12] = *b"getblocktxn\0"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_MALFORMED` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const REJECT_MALFORMED: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_OBSOLETE` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const REJECT_OBSOLETE: u8 = 0x11; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_DUPLICATE` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const REJECT_DUPLICATE: u8 = 0x12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_NONSTANDARD` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const REJECT_NONSTANDARD: u8 = 0x40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_DUST` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const REJECT_DUST: u8 = 0x41; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_INSUFFICIENT_FEE` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const REJECT_INSUFFICIENT_FEE: u8 = 0x42; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REJECT_CHECKPOINT` is never used [INFO] [stdout] --> src/p2p/messages/reject.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const REJECT_CHECKPOINT: u8 = 0x43; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `port` is never read [INFO] [stdout] --> src/p2p/params.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NetworkParams { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub port: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkParams` 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: constant `MAX_TX_SIZE` is never used [INFO] [stdout] --> src/p2p/params.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const MAX_TX_SIZE: u64 = 1_000_000_000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.92s [INFO] running `Command { std: "docker" "inspect" "a2465452ba09db09fb0b45388b8b0a2c3f98182df7f60db395abe4fc08756e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2465452ba09db09fb0b45388b8b0a2c3f98182df7f60db395abe4fc08756e43", kill_on_drop: false }` [INFO] [stdout] a2465452ba09db09fb0b45388b8b0a2c3f98182df7f60db395abe4fc08756e43