[INFO] cloning repository https://github.com/Banyango/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/Banyango/rust-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyango%2Frust-blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyango%2Frust-blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b2b0bc7b2b8bdf9c699e1c6d43edfbba2f9c7d8 [INFO] testing Banyango/rust-blockchain against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyango%2Frust-blockchain" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Banyango/rust-blockchain on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Banyango/rust-blockchain [INFO] finished tweaking git repo https://github.com/Banyango/rust-blockchain [INFO] tweaked toml for git repo https://github.com/Banyango/rust-blockchain written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Banyango/rust-blockchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7d12c786e6268e55259d7e1a61aeb714aacf8e2b3c57e9f7bb53e8bc5a6bc22 [INFO] running `Command { std: "docker" "start" "-a" "f7d12c786e6268e55259d7e1a61aeb714aacf8e2b3c57e9f7bb53e8bc5a6bc22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7d12c786e6268e55259d7e1a61aeb714aacf8e2b3c57e9f7bb53e8bc5a6bc22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7d12c786e6268e55259d7e1a61aeb714aacf8e2b3c57e9f7bb53e8bc5a6bc22", kill_on_drop: false }` [INFO] [stdout] f7d12c786e6268e55259d7e1a61aeb714aacf8e2b3c57e9f7bb53e8bc5a6bc22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf20c01dabce7f7f771e0df1d8ab593afc44f1258040339f4ce44f97574e74e9 [INFO] running `Command { std: "docker" "start" "-a" "bf20c01dabce7f7f771e0df1d8ab593afc44f1258040339f4ce44f97574e74e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling route-recognizer v0.1.12 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling pad v0.1.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.4.5 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling serde_json v1.0.36 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling iron v0.6.0 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling rust-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/block.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.94s [INFO] running `Command { std: "docker" "inspect" "bf20c01dabce7f7f771e0df1d8ab593afc44f1258040339f4ce44f97574e74e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf20c01dabce7f7f771e0df1d8ab593afc44f1258040339f4ce44f97574e74e9", kill_on_drop: false }` [INFO] [stdout] bf20c01dabce7f7f771e0df1d8ab593afc44f1258040339f4ce44f97574e74e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7066542b8f08d6497a340a378a6ed413bdcddf56d2bd903d7ff1f0ed921236 [INFO] running `Command { std: "docker" "start" "-a" "1a7066542b8f08d6497a340a378a6ed413bdcddf56d2bd903d7ff1f0ed921236", kill_on_drop: false }` [INFO] [stderr] Compiling rust-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/block.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "1a7066542b8f08d6497a340a378a6ed413bdcddf56d2bd903d7ff1f0ed921236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7066542b8f08d6497a340a378a6ed413bdcddf56d2bd903d7ff1f0ed921236", kill_on_drop: false }` [INFO] [stdout] 1a7066542b8f08d6497a340a378a6ed413bdcddf56d2bd903d7ff1f0ed921236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2bf989321b3b94176e55a7eb0b7a71f3381a15f9f860b47901e79ee3a3de969 [INFO] running `Command { std: "docker" "start" "-a" "b2bf989321b3b94176e55a7eb0b7a71f3381a15f9f860b47901e79ee3a3de969", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] running 7 tests [INFO] [stderr] --> src/block.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_blockchain-ceeaef0831fa5c82) [INFO] [stdout] test miner::tests::test_is_block_valid_index_wrong ... ok [INFO] [stdout] test miner::tests::test_is_block_valid_new_hash_is_none ... ok [INFO] [stdout] test miner::tests::test_prefix ... ok [INFO] [stdout] test miner::tests::test_is_hash_valid_valid_hash ... ok [INFO] [stdout] test miner::tests::test_is_block_valid_prev_hash_not_equal_to_hash ... ok [INFO] [stdout] test miner::tests::test_is_hash_valid ... ok [INFO] [stdout] test miner::tests::test_is_hash_valid_invalid_hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2bf989321b3b94176e55a7eb0b7a71f3381a15f9f860b47901e79ee3a3de969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2bf989321b3b94176e55a7eb0b7a71f3381a15f9f860b47901e79ee3a3de969", kill_on_drop: false }` [INFO] [stdout] b2bf989321b3b94176e55a7eb0b7a71f3381a15f9f860b47901e79ee3a3de969