[INFO] cloning repository https://github.com/annikoff/hmbc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/annikoff/hmbc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannikoff%2Fhmbc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannikoff%2Fhmbc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72f75e1920bc90f0f3aa1f01c3b3bd3b34664090 [INFO] testing annikoff/hmbc against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannikoff%2Fhmbc" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/annikoff/hmbc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/annikoff/hmbc [INFO] finished tweaking git repo https://github.com/annikoff/hmbc [INFO] tweaked toml for git repo https://github.com/annikoff/hmbc written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/annikoff/hmbc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1ed7d26d4028142ad4b09e090e6adf797104857f1a622156a93e11d5fe6a6e2 [INFO] running `Command { std: "docker" "start" "-a" "f1ed7d26d4028142ad4b09e090e6adf797104857f1a622156a93e11d5fe6a6e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1ed7d26d4028142ad4b09e090e6adf797104857f1a622156a93e11d5fe6a6e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ed7d26d4028142ad4b09e090e6adf797104857f1a622156a93e11d5fe6a6e2", kill_on_drop: false }` [INFO] [stdout] f1ed7d26d4028142ad4b09e090e6adf797104857f1a622156a93e11d5fe6a6e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fe61d6f45374473ce7360ced16e2209bf75d3918b7d47ae5b5342607507f843 [INFO] running `Command { std: "docker" "start" "-a" "7fe61d6f45374473ce7360ced16e2209bf75d3918b7d47ae5b5342607507f843", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling hmbc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/block.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `previous_hash` [INFO] [stdout] --> src/block.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | previous_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/block.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | content: BlockContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timestamp` [INFO] [stdout] --> src/block.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn timestamp(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `previous_hash` [INFO] [stdout] --> src/block.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn previous_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content` [INFO] [stdout] --> src/block.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn content(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/block_content.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | content: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BlockContent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/block_content.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `content` [INFO] [stdout] --> src/block_content.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn content(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block` [INFO] [stdout] --> src/blockchain.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn block(&self, index: usize) -> Option<&Block> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/blockchain.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "7fe61d6f45374473ce7360ced16e2209bf75d3918b7d47ae5b5342607507f843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fe61d6f45374473ce7360ced16e2209bf75d3918b7d47ae5b5342607507f843", kill_on_drop: false }` [INFO] [stdout] 7fe61d6f45374473ce7360ced16e2209bf75d3918b7d47ae5b5342607507f843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d831bbfe63d93d6d8ec8ca329f3c210e4ca2344e93b25d54062829c841362b4f [INFO] running `Command { std: "docker" "start" "-a" "d831bbfe63d93d6d8ec8ca329f3c210e4ca2344e93b25d54062829c841362b4f", kill_on_drop: false }` [INFO] [stderr] Compiling hmbc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `timestamp` [INFO] [stdout] --> src/block.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timestamp` [INFO] [stdout] --> src/block.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn timestamp(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hmbc-a12bfb2ad43cab94) [INFO] running `Command { std: "docker" "inspect" "d831bbfe63d93d6d8ec8ca329f3c210e4ca2344e93b25d54062829c841362b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d831bbfe63d93d6d8ec8ca329f3c210e4ca2344e93b25d54062829c841362b4f", kill_on_drop: false }` [INFO] [stdout] d831bbfe63d93d6d8ec8ca329f3c210e4ca2344e93b25d54062829c841362b4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f492ed1fdbbbe46fa7498c99b0d1da732cf6f04f0a02d0cad55135323e462426 [INFO] running `Command { std: "docker" "start" "-a" "f492ed1fdbbbe46fa7498c99b0d1da732cf6f04f0a02d0cad55135323e462426", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `timestamp` [INFO] [stderr] --> src/block.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | timestamp: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Block` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/block.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `timestamp` [INFO] [stderr] --> src/block.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn timestamp(&self) -> i64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hmbc` (bin "hmbc" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hmbc-a12bfb2ad43cab94) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test block_content::tests::create_block_content ... ok [INFO] [stdout] test block::tests::create_block ... ok [INFO] [stdout] test blockchain::tests::create_blockchain_with_genesis_block ... ok [INFO] [stdout] test blockchain::tests::create_block ... ok [INFO] [stdout] test blockchain::tests::last_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f492ed1fdbbbe46fa7498c99b0d1da732cf6f04f0a02d0cad55135323e462426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f492ed1fdbbbe46fa7498c99b0d1da732cf6f04f0a02d0cad55135323e462426", kill_on_drop: false }` [INFO] [stdout] f492ed1fdbbbe46fa7498c99b0d1da732cf6f04f0a02d0cad55135323e462426