[INFO] cloning repository https://github.com/raventid/blokhain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raventid/blokhain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraventid%2Fblokhain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraventid%2Fblokhain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2109b7a1e1094190a907c1a68f36a862e2df8e05 [INFO] testing raventid/blokhain against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraventid%2Fblokhain" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raventid/blokhain on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raventid/blokhain [INFO] finished tweaking git repo https://github.com/raventid/blokhain [INFO] tweaked toml for git repo https://github.com/raventid/blokhain written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/raventid/blokhain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 705d2385c850ee708a82936d6dfd49ebe7a6cbcb1c3f7911776e1912c70470fb [INFO] running `Command { std: "docker" "start" "-a" "705d2385c850ee708a82936d6dfd49ebe7a6cbcb1c3f7911776e1912c70470fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "705d2385c850ee708a82936d6dfd49ebe7a6cbcb1c3f7911776e1912c70470fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705d2385c850ee708a82936d6dfd49ebe7a6cbcb1c3f7911776e1912c70470fb", kill_on_drop: false }` [INFO] [stdout] 705d2385c850ee708a82936d6dfd49ebe7a6cbcb1c3f7911776e1912c70470fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 246d0bd31ee7d67b264f72efaa0c063d3b145202ed3621ffc6a932dc5d08ffa5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "246d0bd31ee7d67b264f72efaa0c063d3b145202ed3621ffc6a932dc5d08ffa5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling blokhain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/block.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(timestamp : SystemTime, last_hash: Vec, hash: Vec, data: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `genesis` [INFO] [stdout] --> src/block.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn genesis() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mine_block` [INFO] [stdout] --> src/block.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn mine_block(last_block: Block, data: u8) -> Block { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recalculate_hash` [INFO] [stdout] --> src/block.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn recalculate_hash(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_hash` [INFO] [stdout] --> src/block.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn calculate_hash(last_hash: &Vec, timestamp: SystemTime, data: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Blokhain` [INFO] [stdout] --> src/blokhain.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Blokhain { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/blokhain.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_block` [INFO] [stdout] --> src/blokhain.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn add_block(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_chain` [INFO] [stdout] --> src/blokhain.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_valid_chain(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.24s [INFO] running `Command { std: "docker" "inspect" "246d0bd31ee7d67b264f72efaa0c063d3b145202ed3621ffc6a932dc5d08ffa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246d0bd31ee7d67b264f72efaa0c063d3b145202ed3621ffc6a932dc5d08ffa5", kill_on_drop: false }` [INFO] [stdout] 246d0bd31ee7d67b264f72efaa0c063d3b145202ed3621ffc6a932dc5d08ffa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ade8c18f36e05298fc59e5e0b0f95cf9e46fd8249fbdd45e0e410f7326513173 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ade8c18f36e05298fc59e5e0b0f95cf9e46fd8249fbdd45e0e410f7326513173", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling blokhain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Blokhain` [INFO] [stdout] --> src/blokhain.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Blokhain { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/blokhain.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_block` [INFO] [stdout] --> src/blokhain.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn add_block(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_chain` [INFO] [stdout] --> src/blokhain.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn is_valid_chain(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 23.62s [INFO] running `Command { std: "docker" "inspect" "ade8c18f36e05298fc59e5e0b0f95cf9e46fd8249fbdd45e0e410f7326513173", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade8c18f36e05298fc59e5e0b0f95cf9e46fd8249fbdd45e0e410f7326513173", kill_on_drop: false }` [INFO] [stdout] ade8c18f36e05298fc59e5e0b0f95cf9e46fd8249fbdd45e0e410f7326513173 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3ac4c198b9efbb23da8a99f8dcaae6e2828d2dcb5a5832104b363279a3c1b41 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c3ac4c198b9efbb23da8a99f8dcaae6e2828d2dcb5a5832104b363279a3c1b41", kill_on_drop: false }` [INFO] [stderr] warning: struct is never constructed: `Blokhain` [INFO] [stderr] --> src/blokhain.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Blokhain { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/blokhain.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_block` [INFO] [stderr] --> src/blokhain.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | fn add_block(&mut self, data: u8) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_valid_chain` [INFO] [stderr] --> src/blokhain.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn is_valid_chain(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blokhain-8ce7663032175629) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test block::tests::test_block_creation ... ok [INFO] [stdout] test block::tests::new_block_hash_is_a_hash_from_timestamp_and_previous_hash_and_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c3ac4c198b9efbb23da8a99f8dcaae6e2828d2dcb5a5832104b363279a3c1b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ac4c198b9efbb23da8a99f8dcaae6e2828d2dcb5a5832104b363279a3c1b41", kill_on_drop: false }` [INFO] [stdout] c3ac4c198b9efbb23da8a99f8dcaae6e2828d2dcb5a5832104b363279a3c1b41