[INFO] cloning repository https://github.com/vickyone0/rust-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vickyone0/rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickyone0%2Frust-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickyone0%2Frust-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e964a8289fb12495a646654497fb5033a17344e5
[INFO] checking vickyone0/rust-blockchain against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickyone0%2Frust-blockchain" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vickyone0/rust-blockchain
[INFO] finished tweaking git repo https://github.com/vickyone0/rust-blockchain
[INFO] tweaked toml for git repo https://github.com/vickyone0/rust-blockchain written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vickyone0/rust-blockchain on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vickyone0/rust-blockchain 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert_cmd v0.11.1
[INFO] [stderr]   Downloaded cc v1.1.15
[INFO] [stderr]   Downloaded serde_json v1.0.127
[INFO] [stderr]   Downloaded predicates v1.0.8
[INFO] [stderr]   Downloaded escargot v0.4.0
[INFO] [stderr]   Downloaded syn v2.0.76
[INFO] [stderr]   Downloaded rust-crypto v0.2.36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9b7c271d6cb3e30190d31f122ad465d3fc3a8c301b5b8784620038650acb98d7
[INFO] running `Command { std: "docker" "start" "-a" "9b7c271d6cb3e30190d31f122ad465d3fc3a8c301b5b8784620038650acb98d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b7c271d6cb3e30190d31f122ad465d3fc3a8c301b5b8784620038650acb98d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b7c271d6cb3e30190d31f122ad465d3fc3a8c301b5b8784620038650acb98d7", kill_on_drop: false }`
[INFO] [stdout] 9b7c271d6cb3e30190d31f122ad465d3fc3a8c301b5b8784620038650acb98d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6520640ef9046f466f1ec429ef4a9da2effb9b191f62460c7480b1a6ffbb6388
[INFO] running `Command { std: "docker" "start" "-a" "6520640ef9046f466f1ec429ef4a9da2effb9b191f62460c7480b1a6ffbb6388", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking predicates-core v1.0.8
[INFO] [stderr]    Compiling escargot v0.4.0
[INFO] [stderr]     Checking termtree v0.4.1
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking predicates v1.0.8
[INFO] [stderr]     Checking predicates-tree v1.0.11
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking rust-blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]  --> src/transaction.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{base58_decode, Wallet, Blockchain, UTXOSet, Wallets};
[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 variable: `stream`
[INFO] [stdout]   --> src/server.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 Ok(stream) => {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/server.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockchain`
[INFO] [stdout]   --> src/server.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |             let blockchain = self.blockchain.clone();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRANSACTION_THRESHOLD` is never used
[INFO] [stdout]   --> src/server.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const TRANSACTION_THRESHOLD: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_MEMORY_POOL` is never used
[INFO] [stdout]   --> src/server.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | static GLOBAL_MEMORY_POOL: Lazy<MemoryPool> = Lazy::new(|| MemoryPool::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_BLOCKS_IN_TRANSIT` is never used
[INFO] [stdout]   --> src/server.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | static GLOBAL_BLOCKS_IN_TRANSIT: Lazy<BlockInTransit> = Lazy::new(|| BlockInTransit::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_data` is never used
[INFO] [stdout]    --> src/server.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn send_get_data(addr: &str, op_type: OpType, id: &[u8]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_inv` is never used
[INFO] [stdout]    --> src/server.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn send_inv(addr: &str, op_type: OpType, blocks: &[Vec<u8>]) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_block` is never used
[INFO] [stdout]    --> src/server.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn send_block(addr: &str, block: &Block) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_blocks` is never used
[INFO] [stdout]    --> src/server.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn send_get_blocks(addr: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve` is never used
[INFO] [stdout]    --> src/server.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn serve(blockchain: Blockchain, stream: TcpStream) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking assert_cmd v0.11.1
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]  --> src/transaction.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{base58_decode, Wallet, Blockchain, UTXOSet, Wallets};
[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 variable: `stream`
[INFO] [stdout]   --> src/server.rs:58:20
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 Ok(stream) => {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/server.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockchain`
[INFO] [stdout]   --> src/server.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |             let blockchain = self.blockchain.clone();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRANSACTION_THRESHOLD` is never used
[INFO] [stdout]   --> src/server.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const TRANSACTION_THRESHOLD: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_MEMORY_POOL` is never used
[INFO] [stdout]   --> src/server.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | static GLOBAL_MEMORY_POOL: Lazy<MemoryPool> = Lazy::new(|| MemoryPool::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_BLOCKS_IN_TRANSIT` is never used
[INFO] [stdout]   --> src/server.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | static GLOBAL_BLOCKS_IN_TRANSIT: Lazy<BlockInTransit> = Lazy::new(|| BlockInTransit::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_data` is never used
[INFO] [stdout]    --> src/server.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn send_get_data(addr: &str, op_type: OpType, id: &[u8]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_inv` is never used
[INFO] [stdout]    --> src/server.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn send_inv(addr: &str, op_type: OpType, blocks: &[Vec<u8>]) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_block` is never used
[INFO] [stdout]    --> src/server.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn send_block(addr: &str, block: &Block) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_blocks` is never used
[INFO] [stdout]    --> src/server.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn send_get_blocks(addr: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve` is never used
[INFO] [stdout]    --> src/server.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn serve(blockchain: Blockchain, stream: TcpStream) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.92s
[INFO] running `Command { std: "docker" "inspect" "6520640ef9046f466f1ec429ef4a9da2effb9b191f62460c7480b1a6ffbb6388", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6520640ef9046f466f1ec429ef4a9da2effb9b191f62460c7480b1a6ffbb6388", kill_on_drop: false }`
[INFO] [stdout] 6520640ef9046f466f1ec429ef4a9da2effb9b191f62460c7480b1a6ffbb6388
