[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyango%2Frust-blockchain" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Banyango/rust-blockchain on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-23/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" "+1.59.0" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 392edc438f9985f4626a1b212c185aa2ca6f26b1225ca1a78a7c591bb273819f [INFO] running `Command { std: "docker" "start" "-a" "392edc438f9985f4626a1b212c185aa2ca6f26b1225ca1a78a7c591bb273819f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "392edc438f9985f4626a1b212c185aa2ca6f26b1225ca1a78a7c591bb273819f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392edc438f9985f4626a1b212c185aa2ca6f26b1225ca1a78a7c591bb273819f", kill_on_drop: false }` [INFO] [stdout] 392edc438f9985f4626a1b212c185aa2ca6f26b1225ca1a78a7c591bb273819f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d52514abf28b6f9c74b71a7468a56667dcd614cf8d7fe93f20afe17fe5dd646c [INFO] running `Command { std: "docker" "start" "-a" "d52514abf28b6f9c74b71a7468a56667dcd614cf8d7fe93f20afe17fe5dd646c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling route-recognizer v0.1.12 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling pad v0.1.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [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 quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.3.22 [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 14.21s [INFO] running `Command { std: "docker" "inspect" "d52514abf28b6f9c74b71a7468a56667dcd614cf8d7fe93f20afe17fe5dd646c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52514abf28b6f9c74b71a7468a56667dcd614cf8d7fe93f20afe17fe5dd646c", kill_on_drop: false }` [INFO] [stdout] d52514abf28b6f9c74b71a7468a56667dcd614cf8d7fe93f20afe17fe5dd646c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af9616b8eef3c66d212f958f0cc57c0724363e38f100a2f10b21a2e37ca132e [INFO] running `Command { std: "docker" "start" "-a" "7af9616b8eef3c66d212f958f0cc57c0724363e38f100a2f10b21a2e37ca132e", 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 0.99s [INFO] running `Command { std: "docker" "inspect" "7af9616b8eef3c66d212f958f0cc57c0724363e38f100a2f10b21a2e37ca132e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af9616b8eef3c66d212f958f0cc57c0724363e38f100a2f10b21a2e37ca132e", kill_on_drop: false }` [INFO] [stdout] 7af9616b8eef3c66d212f958f0cc57c0724363e38f100a2f10b21a2e37ca132e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e9e5addc8bcba73c8e1a8d18e3d48a23528ffbd9c2c51396be6c7d93d138410 [INFO] running `Command { std: "docker" "start" "-a" "7e9e5addc8bcba73c8e1a8d18e3d48a23528ffbd9c2c51396be6c7d93d138410", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [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: `rust-blockchain` (bin "rust-blockchain" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_blockchain-850508669a266aaa) [INFO] [stdout] [INFO] [stdout] running 7 tests [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_block_valid_new_hash_is_none ... ok [INFO] [stdout] test miner::tests::test_is_block_valid_index_wrong ... ok [INFO] [stdout] test miner::tests::test_is_hash_valid_invalid_hash ... ok [INFO] [stdout] test miner::tests::test_is_hash_valid_valid_hash ... ok [INFO] [stdout] test miner::tests::test_prefix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e9e5addc8bcba73c8e1a8d18e3d48a23528ffbd9c2c51396be6c7d93d138410", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9e5addc8bcba73c8e1a8d18e3d48a23528ffbd9c2c51396be6c7d93d138410", kill_on_drop: false }` [INFO] [stdout] 7e9e5addc8bcba73c8e1a8d18e3d48a23528ffbd9c2c51396be6c7d93d138410