[INFO] cloning repository https://github.com/BertrandD/bitcoin-p2p-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BertrandD/bitcoin-p2p-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBertrandD%2Fbitcoin-p2p-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBertrandD%2Fbitcoin-p2p-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82c8311d2cce7b8dc90e33b45f929fbd6ffeafa8
[INFO] checking BertrandD/bitcoin-p2p-rs against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBertrandD%2Fbitcoin-p2p-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BertrandD/bitcoin-p2p-rs on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BertrandD/bitcoin-p2p-rs
[INFO] finished tweaking git repo https://github.com/BertrandD/bitcoin-p2p-rs
[INFO] tweaked toml for git repo https://github.com/BertrandD/bitcoin-p2p-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/BertrandD/bitcoin-p2p-rs 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f922feec7812edfe9582147ec4d7cdd14c9c947897e0365739a2a0f343a5eba9
[INFO] running `Command { std: "docker" "start" "-a" "f922feec7812edfe9582147ec4d7cdd14c9c947897e0365739a2a0f343a5eba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f922feec7812edfe9582147ec4d7cdd14c9c947897e0365739a2a0f343a5eba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f922feec7812edfe9582147ec4d7cdd14c9c947897e0365739a2a0f343a5eba9", kill_on_drop: false }`
[INFO] [stdout] f922feec7812edfe9582147ec4d7cdd14c9c947897e0365739a2a0f343a5eba9
[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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f006b5433f4fecc4b01db86bda8abacd888bf5957e3532b006335b6dc6000278
[INFO] running `Command { std: "docker" "start" "-a" "f006b5433f4fecc4b01db86bda8abacd888bf5957e3532b006335b6dc6000278", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling bitcoin-internals v0.3.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking hex-conservative v0.2.1
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking bitcoin-io v0.1.2
[INFO] [stderr]     Checking bitcoin_hashes v0.14.0
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling bitcoin v0.32.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking base58ck v0.1.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking bitcoin-units v0.1.1
[INFO] [stderr]     Checking bech32 v0.11.0
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling secp256k1-sys v0.10.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking pretty_env_logger v0.5.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking secp256k1 v0.29.0
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking bitcoin-p2p-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/blockchain.rs:87:37
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn get_block_by_hash(&self, hash: &str) -> Option<&Block> {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/blockchain.rs:87:37
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub fn get_block_by_hash(&self, hash: &str) -> Option<&Block> {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]  --> src/blockchain.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Block {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Blockchain` is never constructed
[INFO] [stdout]   --> src/blockchain.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Blockchain {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/blockchain.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Blockchain {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn add_block(&mut self, block: BlockData) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn commit(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn last_blocks(&self, count: usize) -> Vec<BlockHash> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn get_block_by_height(&self, height: usize) -> Option<&Block> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_block_by_hash(&self, hash: &str) -> Option<&Block> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/peer.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     PeerUnreachable(io::Error),
[INFO] [stdout]    |     --------------- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     PeerUnreachable(()),
[INFO] [stdout]    |                     ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/types.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NewBlock(Block),
[INFO] [stdout]   |     -------- ^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NewBlock(()),
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GetBlocks` is never constructed
[INFO] [stdout]   --> src/types.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum Command {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] 32 |     GetBlocks(GetBlocksCommand),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_blocks` is never used
[INFO] [stdout]   --> src/types.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Command {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 37 |     pub fn get_blocks(known_blocks: Vec<BlockHash>) -> Command {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]  --> src/blockchain.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Block {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Blockchain` is never constructed
[INFO] [stdout]   --> src/blockchain.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Blockchain {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/blockchain.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Blockchain {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn add_block(&mut self, block: BlockData) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn commit(&mut self) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn last_blocks(&self, count: usize) -> Vec<BlockHash> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn get_block_by_height(&self, height: usize) -> Option<&Block> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn get_block_by_hash(&self, hash: &str) -> Option<&Block> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/peer.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     PeerUnreachable(io::Error),
[INFO] [stdout]    |     --------------- ^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PeerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 27 |     PeerUnreachable(()),
[INFO] [stdout]    |                     ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/types.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NewBlock(Block),
[INFO] [stdout]   |     -------- ^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NewBlock(()),
[INFO] [stdout]   |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `GetBlocks` is never constructed
[INFO] [stdout]   --> src/types.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum Command {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] 32 |     GetBlocks(GetBlocksCommand),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_blocks` is never used
[INFO] [stdout]   --> src/types.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Command {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 37 |     pub fn get_blocks(known_blocks: Vec<BlockHash>) -> Command {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.66s
[INFO] running `Command { std: "docker" "inspect" "f006b5433f4fecc4b01db86bda8abacd888bf5957e3532b006335b6dc6000278", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f006b5433f4fecc4b01db86bda8abacd888bf5957e3532b006335b6dc6000278", kill_on_drop: false }`
[INFO] [stdout] f006b5433f4fecc4b01db86bda8abacd888bf5957e3532b006335b6dc6000278
