[INFO] cloning repository https://github.com/huiminliu09/blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huiminliu09/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuiminliu09%2Fblockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuiminliu09%2Fblockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db9eb470be95ca11312f5a44423d9bdffdc64ae6 [INFO] testing huiminliu09/blockchain against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuiminliu09%2Fblockchain" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huiminliu09/blockchain on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/huiminliu09/blockchain [INFO] finished tweaking git repo https://github.com/huiminliu09/blockchain [INFO] tweaked toml for git repo https://github.com/huiminliu09/blockchain written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/huiminliu09/blockchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b89f8123ae1717a6578c7ba3be05098e78d2813577523cdd593251af7879b9d [INFO] running `Command { std: "docker" "start" "-a" "1b89f8123ae1717a6578c7ba3be05098e78d2813577523cdd593251af7879b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b89f8123ae1717a6578c7ba3be05098e78d2813577523cdd593251af7879b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b89f8123ae1717a6578c7ba3be05098e78d2813577523cdd593251af7879b9d", kill_on_drop: false }` [INFO] [stdout] 1b89f8123ae1717a6578c7ba3be05098e78d2813577523cdd593251af7879b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6329350ae21583eba32dd2c49a73532ed6e2c094db6e071f6017ee168041ae21 [INFO] running `Command { std: "docker" "start" "-a" "6329350ae21583eba32dd2c49a73532ed6e2c094db6e071f6017ee168041ae21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Compiling hex-literal v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::transaction::Transaction` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> src/miner.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | use ring::signature::{Ed25519KeyPair, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stdout] --> src/mempool.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::addr_of_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_random_signedtrans` [INFO] [stdout] --> src/generator.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signedtrans::{generate_random_signedtrans, SignedTrans}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/generator.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::crypto::hash::{generate_rand_hash256, H160, H256, Hashable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/generator.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_delay` is assigned to, but never used [INFO] [stdout] --> src/network/worker.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut total_delay:u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_delay` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reveived` is assigned to, but never used [INFO] [stdout] --> src/network/worker.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut reveived:u128 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_reveived` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generator.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let mut address_vec = vec![address]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | key: Ed25519KeyPair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `self_address` [INFO] [stdout] --> src/miner.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self_address:H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.63s [INFO] running `Command { std: "docker" "inspect" "6329350ae21583eba32dd2c49a73532ed6e2c094db6e071f6017ee168041ae21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6329350ae21583eba32dd2c49a73532ed6e2c094db6e071f6017ee168041ae21", kill_on_drop: false }` [INFO] [stdout] 6329350ae21583eba32dd2c49a73532ed6e2c094db6e071f6017ee168041ae21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09404e687980f3cffc5af8eb08148088612505a4d69fa13d3f3202bb282b91d6 [INFO] running `Command { std: "docker" "start" "-a" "09404e687980f3cffc5af8eb08148088612505a4d69fa13d3f3202bb282b91d6", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::transaction::Transaction` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> src/miner.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | use ring::signature::{Ed25519KeyPair, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/transaction.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ------------ the item `hex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stdout] --> src/mempool.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ptr::addr_of_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `generate_random_signedtrans` [INFO] [stdout] --> src/generator.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::signedtrans::{generate_random_signedtrans, SignedTrans}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/generator.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::crypto::hash::{generate_rand_hash256, H160, H256, Hashable}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/generator.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_delay` is assigned to, but never used [INFO] [stdout] --> src/network/worker.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut total_delay:u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_delay` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reveived` is assigned to, but never used [INFO] [stdout] --> src/network/worker.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut reveived:u128 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_reveived` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generator.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let mut address_vec = vec![address]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> src/miner.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | key: Ed25519KeyPair, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `self_address` [INFO] [stdout] --> src/miner.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | self_address:H160, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.82s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bitcoin-dc5f09ea5fbad997) [INFO] running `Command { std: "docker" "inspect" "09404e687980f3cffc5af8eb08148088612505a4d69fa13d3f3202bb282b91d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09404e687980f3cffc5af8eb08148088612505a4d69fa13d3f3202bb282b91d6", kill_on_drop: false }` [INFO] [stdout] 09404e687980f3cffc5af8eb08148088612505a4d69fa13d3f3202bb282b91d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a0e3634230418d95d9da975448b0fdd2443bb3cdfc9bc84751de7318d9aefec [INFO] running `Command { std: "docker" "start" "-a" "6a0e3634230418d95d9da975448b0fdd2443bb3cdfc9bc84751de7318d9aefec", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::transaction::Transaction` [INFO] [stderr] --> src/blockchain.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::transaction::Transaction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `KeyPair` [INFO] [stderr] --> src/miner.rs:20:39 [INFO] [stderr] | [INFO] [stderr] 20 | use ring::signature::{Ed25519KeyPair, KeyPair}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `hex` is imported redundantly [INFO] [stderr] --> src/transaction.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | use hex_literal::hex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ------------ the item `hex` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stderr] --> src/mempool.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::ptr::addr_of_mut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `generate_random_signedtrans` [INFO] [stderr] --> src/generator.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::signedtrans::{generate_random_signedtrans, SignedTrans}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `H256` [INFO] [stderr] --> src/generator.rs:19:56 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::crypto::hash::{generate_rand_hash256, H160, H256, Hashable}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/generator.rs:141:21 [INFO] [stderr] | [INFO] [stderr] 141 | for i in 0..3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `total_delay` is assigned to, but never used [INFO] [stderr] --> src/network/worker.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | let mut total_delay:u128 = 0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_total_delay` instead [INFO] [stderr] [INFO] [stderr] warning: variable `reveived` is assigned to, but never used [INFO] [stderr] --> src/network/worker.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | let mut reveived:u128 = 0; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_reveived` instead [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/generator.rs:147:25 [INFO] [stderr] | [INFO] [stderr] 147 | let mut address_vec = vec![address]; [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `key` [INFO] [stderr] --> src/miner.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | key: Ed25519KeyPair, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `self_address` [INFO] [stderr] --> src/miner.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | self_address:H160, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcoin` (bin "bitcoin" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bitcoin-dc5f09ea5fbad997) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test crypto::merkle::tests::proof ... ok [INFO] [stdout] test crypto::merkle::tests::root ... ok [INFO] [stdout] test crypto::merkle::tests::verifying ... ok [INFO] [stdout] test transaction::tests::sign_verify ... ok [INFO] [stdout] test blockchain::tests::insert_one ... ok [INFO] [stdout] test blockchain::tests::verify_several ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- blockchain::tests::verify_several stdout ---- [INFO] [stdout] ----------4 [INFO] [stdout] ----------1 [INFO] [stdout] 1652341116.741052358s insert 7bd1..3846 at 1, bc height:1 [INFO] [stdout] 1652341116.741101728s insert 4803..dfac at 1, bc height:1 [INFO] [stdout] 1652341116.741241438s insert 8962..1010 at 2, bc height:2 [INFO] [stdout] 1652341116.741286278s insert 497c..e9b2 at 2, bc height:2 [INFO] [stdout] 1652341116.741354628s insert 0570..5bba at 3, bc height:3 [INFO] [stdout] 05704daebc1f9c3bfe89bcf85baf0a744a7b1890ee783e59de4ecb87aede5bba [INFO] [stdout] 4803b32ce209d8d1e052a589cc6f6a40ccfeab30aa0ebfce6b519fecb0fbdfac [INFO] [stdout] 475dee8662ab40a83b71859b0918ddd75d00db8115c9d59c00bffc71191144aa [INFO] [stdout] 89621e5b893f2a970b256331af3ff4ff2ea36520e18be3ef889f6a872cbe1010 [INFO] [stdout] thread 'blockchain::tests::verify_several' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `[0570..5bba, 4803..dfac, 475d..44aa, 8962..1010]`, [INFO] [stdout] right: `[475d..44aa, 4803..dfac, 8962..1010, 0570..5bba]`', src/blockchain.rs:214:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5576a39c8b8d - std::backtrace_rs::backtrace::libunwind::trace::h78ac1a8162560622 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5576a39c8b8d - std::backtrace_rs::backtrace::trace_unsynchronized::h524b37108170e058 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5576a39c8b8d - std::sys_common::backtrace::_print_fmt::h6fc64e306477b488 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5576a39c8b8d - ::fmt::hebf1189a5210d658 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5576a39eb46c - core::fmt::write::h2ee1c47f226b9713 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5576a39c5681 - std::io::Write::write_fmt::hfdd07f3252777e56 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5576a39ca665 - std::sys_common::backtrace::_print::h4cf4c3a5df78aa1b [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5576a39ca665 - std::sys_common::backtrace::print::h563fffe6d3b49d9c [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5576a39ca665 - std::panicking::default_hook::{{closure}}::h011bf968a019e6ec [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5576a39ca310 - std::panicking::default_hook::hc87bc2048234ee21 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5576a39cac38 - std::panicking::rust_panic_with_hook::h51069032b7e7ea9f [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5576a39caae7 - std::panicking::begin_panic_handler::{{closure}}::hd6f7b981150e82ee [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5576a39c9044 - std::sys_common::backtrace::__rust_end_short_backtrace::h4e1327824e6ec426 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5576a39ca819 - rust_begin_unwind [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5576a38c6653 - core::panicking::panic_fmt::hab126d972b27847d [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x5576a39ea038 - core::panicking::assert_failed_inner::h71301b10df9a77b2 [INFO] [stdout] 16: 0x5576a38e9ada - core::panicking::assert_failed::h167893526d431fa5 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panicking.rs:181:5 [INFO] [stdout] 17: 0x5576a38fea52 - bitcoin::blockchain::tests::verify_several::h1fe0ebd16891d9b8 [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:214:9 [INFO] [stdout] 18: 0x5576a38fe1fa - bitcoin::blockchain::tests::verify_several::{{closure}}::ha32c139004c377db [INFO] [stdout] at /opt/rustwide/workdir/src/blockchain.rs:183:7 [INFO] [stdout] 19: 0x5576a38e799e - core::ops::function::FnOnce::call_once::h1e08a803ec24c9af [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x5576a39483b3 - core::ops::function::FnOnce::call_once::hb5269c40ea602927 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x5576a39483b3 - test::__rust_begin_short_backtrace::h39a42cc37c7f7ed5 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:573:5 [INFO] [stdout] 22: 0x5576a394716a - as core::ops::function::FnOnce>::call_once::h00241665904b35f8 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 23: 0x5576a394716a - as core::ops::function::FnOnce<()>>::call_once::he7accf8d0443853e [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x5576a394716a - std::panicking::try::do_call::h8cda4fd0453ea304 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x5576a394716a - std::panicking::try::heb9894546bccbe80 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x5576a394716a - std::panic::catch_unwind::hfbd25fb469936dab [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x5576a394716a - test::run_test_in_process::hcffcac4908c29650 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:596:18 [INFO] [stdout] 28: 0x5576a394716a - test::run_test::run_test_inner::{{closure}}::hdd8d05d3b7659acd [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:490:39 [INFO] [stdout] 29: 0x5576a391342d - test::run_test::run_test_inner::{{closure}}::h1b7cafce81b35e92 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/test/src/lib.rs:517:37 [INFO] [stdout] 30: 0x5576a391342d - std::sys_common::backtrace::__rust_begin_short_backtrace::h08b4f3108673434a [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x5576a3918e68 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hd589e3bca91eca1f [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x5576a3918e68 - as core::ops::function::FnOnce<()>>::call_once::h1d80af9fe40fb31c [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x5576a3918e68 - std::panicking::try::do_call::hf7eabf04235f3bb3 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x5576a3918e68 - std::panicking::try::h4bdb1612b5a13d83 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x5576a3918e68 - std::panic::catch_unwind::h62e1449b19ecdfe5 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x5576a3918e68 - std::thread::Builder::spawn_unchecked_::{{closure}}::h10c97d98a69723ec [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x5576a3918e68 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0dc62d4cd77dd031 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x5576a39cf5b3 - as core::ops::function::FnOnce>::call_once::h94b91777dd72cf4b [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 39: 0x5576a39cf5b3 - as core::ops::function::FnOnce>::call_once::hc38439f882108053 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 40: 0x5576a39cf5b3 - std::sys::unix::thread::Thread::new::thread_start::haa68127701babb00 [INFO] [stdout] at /rustc/0d13f6afeba4935499abe0c9a07426c94492c94e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f3c99131609 - start_thread [INFO] [stdout] 42: 0x7f3c98f01163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] blockchain::tests::verify_several [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin bitcoin' [INFO] running `Command { std: "docker" "inspect" "6a0e3634230418d95d9da975448b0fdd2443bb3cdfc9bc84751de7318d9aefec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0e3634230418d95d9da975448b0fdd2443bb3cdfc9bc84751de7318d9aefec", kill_on_drop: false }` [INFO] [stdout] 6a0e3634230418d95d9da975448b0fdd2443bb3cdfc9bc84751de7318d9aefec