[INFO] cloning repository https://github.com/mardzie/btc_minerr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mardzie/btc_minerr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardzie%2Fbtc_minerr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardzie%2Fbtc_minerr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e7ef8ba0204feebc9e53955674e2043478f72a9a
[INFO] checking mardzie/btc_minerr against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardzie%2Fbtc_minerr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mardzie/btc_minerr
[INFO] finished tweaking git repo https://github.com/mardzie/btc_minerr
[INFO] tweaked toml for git repo https://github.com/mardzie/btc_minerr written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mardzie/btc_minerr on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mardzie/btc_minerr 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking mardzie/btc_minerr against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardzie%2Fbtc_minerr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mardzie/btc_minerr
[INFO] finished tweaking git repo https://github.com/mardzie/btc_minerr
[INFO] tweaked toml for git repo https://github.com/mardzie/btc_minerr written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mardzie/btc_minerr on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mardzie/btc_minerr 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0549e7432517cde392f6c7caf3387c8345b5381c3f91f25d6704e0743050dd6
[INFO] running `Command { std: "docker" "start" "-a" "d0549e7432517cde392f6c7caf3387c8345b5381c3f91f25d6704e0743050dd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0549e7432517cde392f6c7caf3387c8345b5381c3f91f25d6704e0743050dd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0549e7432517cde392f6c7caf3387c8345b5381c3f91f25d6704e0743050dd6", kill_on_drop: false }`
[INFO] [stdout] d0549e7432517cde392f6c7caf3387c8345b5381c3f91f25d6704e0743050dd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bdd97cd87190a4aec017bef51f165f1117cdb0429ab975673bc125150ca5820
[INFO] running `Command { std: "docker" "start" "-a" "4bdd97cd87190a4aec017bef51f165f1117cdb0429ab975673bc125150ca5820", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking jiff v0.2.18
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking btc_minerr v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/block.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use transaction::{RawTransaction, Transaction};
[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: `Transaction`
[INFO] [stdout]  --> src/block.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use transaction::{RawTransaction, Transaction};
[INFO] [stdout]   |                                       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/block.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         todo!();
[INFO] [stdout]    |         ------- any code following this expression is unreachable
[INFO] [stdout] 52 |
[INFO] [stdout] 53 |         let mut merkle_root_hash = [0u8; 16];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/block.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         todo!();
[INFO] [stdout]    |         ------- any code following this expression is unreachable
[INFO] [stdout] 52 |
[INFO] [stdout] 53 |         let mut merkle_root_hash = [0u8; 16];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raw_transaction`
[INFO] [stdout]   --> src/block/transaction.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn try_from(raw_transaction: RawTransaction) -> Result<Self, Self::Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transaction`
[INFO] [stdout]   --> src/block/transaction.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn try_from(transaction: Transaction) -> Result<Self, Self::Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/block.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut hash = String::new();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/block.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut hash = String::new();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raw_transaction`
[INFO] [stdout]   --> src/block/transaction.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn try_from(raw_transaction: RawTransaction) -> Result<Self, Self::Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_transaction`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transaction`
[INFO] [stdout]   --> src/block/transaction.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn try_from(transaction: Transaction) -> Result<Self, Self::Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/block.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut hash = String::new();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/block.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut hash = String::new();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]    --> src/hash.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |         let hash = Hash256::digest(data);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `net_type`
[INFO] [stdout]   --> src/networking.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn connect<A>(addr: A, net_type: impl NetworkInformation) -> Result<Self, error::Error>
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/networking.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn handshake(mut read_stream: &net::TcpStream) -> Result<(), error::Error> {
[INFO] [stdout]    |                  ----^^^^^^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_stream`
[INFO] [stdout]   --> src/networking.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn handshake(mut read_stream: &net::TcpStream) -> Result<(), error::Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `net_type`
[INFO] [stdout]   --> src/networking.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn connect<A>(addr: A, net_type: impl NetworkInformation) -> Result<Self, error::Error>
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_net_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/networking.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn handshake(mut read_stream: &net::TcpStream) -> Result<(), error::Error> {
[INFO] [stdout]    |                  ----^^^^^^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `read_stream`
[INFO] [stdout]   --> src/networking.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn handshake(mut read_stream: &net::TcpStream) -> Result<(), error::Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/block.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Block {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update_merkle_root_hash`, `compute_merkle_root_hash`, `compute_merkle_branch`, and `block_header_hash256` are never used
[INFO] [stdout]   --> src/block.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Block {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_merkle_root_hash(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn compute_merkle_root_hash(raw_transactions: &Vec<RawTransaction>) -> Hash {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn compute_merkle_branch(txid1: Hash, txid2: Hash) -> Hash {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn block_header_hash256(&self) -> Hash {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/block/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get_target` are never used
[INFO] [stdout]    --> src/block/block_header.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl BlockHeader {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  78 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_target(&self) -> [u8; 256] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/block/transaction.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Transaction {}
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawTransaction` is never constructed
[INFO] [stdout]  --> src/block/transaction.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RawTransaction {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/block/transaction.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl RawTransaction {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(data: Vec<u8>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ReverseByte` is never constructed
[INFO] [stdout]   --> src/hash.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Hash {
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     ReverseByte { hash: String },
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hash` 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: associated items `from_natural_byte`, `from_reverse_byte`, `from_reverse_byte_str`, `to_reverse_byte`, and `to_string` are never used
[INFO] [stdout]   --> src/hash.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Hash {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 29 |     pub fn from_natural_byte(hash: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn from_reverse_byte(hash: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn from_reverse_byte_str(hash: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn to_reverse_byte(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn to_string(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Minerr` is never constructed
[INFO] [stdout]  --> src/minerr.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Minerr {}
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used
[INFO] [stdout]   --> src/networking.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const PROTOCOL_VERSION: u32 = 70015;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ArcMutex` is never used
[INFO] [stdout]   --> src/networking.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | type ArcMutex<T> = Arc<Mutex<T>>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]   --> src/networking.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Network {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/networking.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl Network {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  43 |     /// Create a Network and connect to an address.
[INFO] [stdout]  44 |     pub fn connect<A>(addr: A, net_type: impl NetworkInformation) -> Result<Self, error::Error>
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn handshake(mut read_stream: &net::TcpStream) -> Result<(), error::Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     fn read_worker(mut read_stream: net::TcpStream, recv_queue: ArcMutex<VecDeque<Message>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn process_payload(recv_queue: &ArcMutex<VecDeque<Message>>, header: Header, data: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn write_worker(mut write_stream: net::TcpStream, send_queue: ArcMutex<VecDeque<Vec<u8>>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn send(&mut self, message: Message) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn recv(&self) -> Option<Message> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn recvd_queue_len(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/networking/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/block.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Block {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `check_payload` and `check_payload_bytes` are never used
[INFO] [stdout]   --> src/networking/header.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Header {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn check_payload(&self, payload_hash: &Hash) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn check_payload_bytes(&self, payload: &[u8]) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]  --> src/networking/message.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Message {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update_merkle_root_hash`, `compute_merkle_root_hash`, `compute_merkle_branch`, and `block_header_hash256` are never used
[INFO] [stdout]   --> src/block.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Block {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_merkle_root_hash(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn compute_merkle_root_hash(raw_transactions: &Vec<RawTransaction>) -> Hash {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     fn compute_merkle_branch(txid1: Hash, txid2: Hash) -> Hash {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn block_header_hash256(&self) -> Hash {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `header`, `payload`, and `to_bytes` are never used
[INFO] [stdout]   --> src/networking/message.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Message {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(header: Header, payload: Payload) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn header(&self) -> &Header {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn payload(&self) -> &Payload {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn to_bytes(self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Payload` is never used
[INFO] [stdout]   --> src/networking/payload.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Payload {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/block/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_version`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]    --> src/networking/payload.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl Payload {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  37 |     pub fn new_version(remote_addr: net::SocketAddr, local_addr: net::SocketAddr) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn to_bytes(self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn from_bytes(header: &Header, bytes: &[u8]) -> Result<Self, error::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromToIpV6` is never used
[INFO] [stdout]  --> src/networking/traits.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromToIpV6 {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `port` is never used
[INFO] [stdout]  --> src/networking/traits.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait NetworkInformation {
[INFO] [stdout]   |           ------------------ method in this trait
[INFO] [stdout] 8 |     fn port(&self) -> u16;
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockHeader` is never constructed
[INFO] [stdout]   --> src/block/block_header.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct BlockHeader {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_bytes`, and `get_target` are never used
[INFO] [stdout]    --> src/block/block_header.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl BlockHeader {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  78 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn as_bytes(&self) -> BlockHeaderBytes {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_target(&self) -> [u8; 256] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/block/transaction.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Transaction {}
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawTransaction` is never constructed
[INFO] [stdout]  --> src/block/transaction.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RawTransaction {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/block/transaction.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl RawTransaction {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn new(data: Vec<u8>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hash256` is never constructed
[INFO] [stdout]  --> src/hash.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Hash256;
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Hash` is never used
[INFO] [stdout]  --> src/hash.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Hash {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `digest` is never used
[INFO] [stdout]   --> src/hash.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Hash256 {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 18 |     /// The Hash256 algorithm for Bitcoin.
[INFO] [stdout] 19 |     pub fn digest(data: &[u8]) -> Hash {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/hash.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl Hash {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  29 |     pub fn from_natural_byte(hash: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  33 |     pub fn from_natural_byte_str(hash: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn from_reverse_byte(hash: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn from_reverse_byte_str(hash: &str) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     pub fn to_natural_byte(self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn to_reverse_byte(self) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn to_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn to_bytes(&self) -> [u8; 32] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn checksum(&self) -> [u8; 4] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn check(&self, checksum: &[u8; 4]) -> bool {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn inner(&self) -> &str {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn decode_to_bytes(hex: &str) -> [u8; 32] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     fn reverse_hex(hex: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Minerr` is never constructed
[INFO] [stdout]  --> src/minerr.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Minerr {}
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROTOCOL_VERSION` is never used
[INFO] [stdout]   --> src/networking.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const PROTOCOL_VERSION: u32 = 70015;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAGIC_NUMBER_MAINNET` is never used
[INFO] [stdout]   --> src/networking.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const MAGIC_NUMBER_MAINNET: u32 = 0xF9BEB4D9;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAGIC_NUMBER_REGTEST` is never used
[INFO] [stdout]   --> src/networking.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const MAGIC_NUMBER_REGTEST: u32 = 0xFABFB5DA;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAGIC_NUMBER_TESTNET3` is never used
[INFO] [stdout]   --> src/networking.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const MAGIC_NUMBER_TESTNET3: u32 = 0x0B110907;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ArcMutex` is never used
[INFO] [stdout]   --> src/networking.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | type ArcMutex<T> = Arc<Mutex<T>>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Network` is never constructed
[INFO] [stdout]   --> src/networking.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Network {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkType` is never used
[INFO] [stdout]   --> src/networking.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub enum NetworkType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/networking.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout]  42 | impl Network {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  43 |     /// Create a Network and connect to an address.
[INFO] [stdout]  44 |     pub fn connect<A>(addr: A, net_type: impl NetworkInformation) -> Result<Self, error::Error>
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn handshake(mut read_stream: &net::TcpStream) -> Result<(), error::Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     fn read_worker(mut read_stream: net::TcpStream, recv_queue: ArcMutex<VecDeque<Message>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn process_payload(recv_queue: &ArcMutex<VecDeque<Message>>, header: Header, data: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn write_worker(mut write_stream: net::TcpStream, send_queue: ArcMutex<VecDeque<Vec<u8>>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn send(&mut self, message: Message) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     pub fn recv(&self) -> Option<Message> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn recvd_queue_len(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `from_magic_bytes` and `from_magic_number` are never used
[INFO] [stdout]    --> src/networking.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl NetworkType {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 166 |     pub fn from_magic_bytes(magic_bytes: &[u8; 4]) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn from_magic_number(magic_number: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CommandBytes` is never used
[INFO] [stdout]  --> src/networking/command.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub type CommandBytes = [u8; 12];
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERSION_BYTES` is never used
[INFO] [stdout]  --> src/networking/command.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const VERSION_BYTES: CommandBytes = [
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VERACK_BYTES` is never used
[INFO] [stdout]  --> src/networking/command.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const VERACK_BYTES: CommandBytes = [
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Command` is never used
[INFO] [stdout]   --> src/networking/command.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum Command {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_bytes` and `to_bytes` are never used
[INFO] [stdout]   --> src/networking/command.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Command {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 17 |     pub fn from_bytes(bytes: &CommandBytes) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub const fn to_bytes(&self) -> [u8; 12] {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/networking/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Header` is never constructed
[INFO] [stdout]  --> src/networking/header.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Header {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/networking/header.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Header {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 15 |     /// Takes exactly 24 bytes.
[INFO] [stdout] 16 |     pub fn from_bytes(bytes: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn check_payload(&self, payload_hash: &Hash) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn check_payload_bytes(&self, payload: &[u8]) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn network_type(&self) -> NetworkType {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn command(&self) -> Command {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn size(&self) -> u32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn checksum(&self) -> [u8; 4] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn to_bytes(self) -> [u8; 24] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]  --> src/networking/message.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Message {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `header`, `payload`, and `to_bytes` are never used
[INFO] [stdout]   --> src/networking/message.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Message {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(header: Header, payload: Payload) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn header(&self) -> &Header {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn payload(&self) -> &Payload {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn to_bytes(self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Payload` is never used
[INFO] [stdout]   --> src/networking/payload.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Payload {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_version`, `to_bytes`, and `from_bytes` are never used
[INFO] [stdout]    --> src/networking/payload.rs:37:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl Payload {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  37 |     pub fn new_version(remote_addr: net::SocketAddr, local_addr: net::SocketAddr) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn to_bytes(self) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn from_bytes(header: &Header, bytes: &[u8]) -> Result<Self, error::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromToIpV6` is never used
[INFO] [stdout]  --> src/networking/traits.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromToIpV6 {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `NetworkInformation` is never used
[INFO] [stdout]  --> src/networking/traits.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait NetworkInformation {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/block.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         hex::encode_to_slice(hash, &mut merkle_root_hash);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = hex::encode_to_slice(hash, &mut merkle_root_hash);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/block.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         hex::encode_to_slice(hash, &mut merkle_root_hash);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let _ = hex::encode_to_slice(hash, &mut merkle_root_hash);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.73s
[INFO] running `Command { std: "docker" "inspect" "4bdd97cd87190a4aec017bef51f165f1117cdb0429ab975673bc125150ca5820", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bdd97cd87190a4aec017bef51f165f1117cdb0429ab975673bc125150ca5820", kill_on_drop: false }`
[INFO] [stdout] 4bdd97cd87190a4aec017bef51f165f1117cdb0429ab975673bc125150ca5820
