[INFO] cloning repository https://github.com/vinay1668/blockchain-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vinay1668/blockchain-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinay1668%2Fblockchain-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinay1668%2Fblockchain-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cc65a88ac257e6419766aff53ea3735af35b6aa [INFO] testing vinay1668/blockchain-rust against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvinay1668%2Fblockchain-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vinay1668/blockchain-rust on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vinay1668/blockchain-rust [INFO] finished tweaking git repo https://github.com/vinay1668/blockchain-rust [INFO] tweaked toml for git repo https://github.com/vinay1668/blockchain-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vinay1668/blockchain-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c25f53a4556c71cee2d4be9020e09f202712b47634eb99f49a9cfd02a4fcbc7b [INFO] running `Command { std: "docker" "start" "-a" "c25f53a4556c71cee2d4be9020e09f202712b47634eb99f49a9cfd02a4fcbc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c25f53a4556c71cee2d4be9020e09f202712b47634eb99f49a9cfd02a4fcbc7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25f53a4556c71cee2d4be9020e09f202712b47634eb99f49a9cfd02a4fcbc7b", kill_on_drop: false }` [INFO] [stdout] c25f53a4556c71cee2d4be9020e09f202712b47634eb99f49a9cfd02a4fcbc7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b561767987681df505da7a3d79b8020081a4b5dda8b5b57f5621674b938178a [INFO] running `Command { std: "docker" "start" "-a" "3b561767987681df505da7a3d79b8020081a4b5dda8b5b57f5621674b938178a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/models/block.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(index: u64, previous_hash:String) -> Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_hash` [INFO] [stdout] --> src/models/block.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(index: u64, previous_hash:String) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/block.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut block = Block{ [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: variable does not need to be mutable [INFO] [stdout] --> src/models/blockchain.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut genesis_block = Block { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `genesis_block` is never read [INFO] [stdout] --> src/models/blockchain.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Blockchain{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | pub genesis_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.69s [INFO] running `Command { std: "docker" "inspect" "3b561767987681df505da7a3d79b8020081a4b5dda8b5b57f5621674b938178a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b561767987681df505da7a3d79b8020081a4b5dda8b5b57f5621674b938178a", kill_on_drop: false }` [INFO] [stdout] 3b561767987681df505da7a3d79b8020081a4b5dda8b5b57f5621674b938178a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f454d232c4cb459321f17bad478a5227a506b6388d61256cd1ea250e2f5e70d8 [INFO] running `Command { std: "docker" "start" "-a" "f454d232c4cb459321f17bad478a5227a506b6388d61256cd1ea250e2f5e70d8", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/models/block.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(index: u64, previous_hash:String) -> Self{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_hash` [INFO] [stdout] --> src/models/block.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(index: u64, previous_hash:String) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/block.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut block = Block{ [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: variable does not need to be mutable [INFO] [stdout] --> src/models/blockchain.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut genesis_block = Block { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `genesis_block` is never read [INFO] [stdout] --> src/models/blockchain.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Blockchain{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 11 | pub genesis_block: Block, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "f454d232c4cb459321f17bad478a5227a506b6388d61256cd1ea250e2f5e70d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f454d232c4cb459321f17bad478a5227a506b6388d61256cd1ea250e2f5e70d8", kill_on_drop: false }` [INFO] [stdout] f454d232c4cb459321f17bad478a5227a506b6388d61256cd1ea250e2f5e70d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27ee8ce74790a1a18443580fb6547d1ac657e51bdf4a53bdb38a94a21c90a2b8 [INFO] running `Command { std: "docker" "start" "-a" "27ee8ce74790a1a18443580fb6547d1ac657e51bdf4a53bdb38a94a21c90a2b8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/models/block.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(index: u64, previous_hash:String) -> Self{ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `previous_hash` [INFO] [stderr] --> src/models/block.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(index: u64, previous_hash:String) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_hash` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/models/block.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let mut block = Block{ [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: variable does not need to be mutable [INFO] [stderr] --> src/models/blockchain.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut genesis_block = Block { [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `genesis_block` is never read [INFO] [stderr] --> src/models/blockchain.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Blockchain{ [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 11 | pub genesis_block: Block, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `blockchain` (bin "blockchain" test) generated 5 warnings (run `cargo fix --bin "blockchain" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchain-15e4f41e9234670a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27ee8ce74790a1a18443580fb6547d1ac657e51bdf4a53bdb38a94a21c90a2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ee8ce74790a1a18443580fb6547d1ac657e51bdf4a53bdb38a94a21c90a2b8", kill_on_drop: false }` [INFO] [stdout] 27ee8ce74790a1a18443580fb6547d1ac657e51bdf4a53bdb38a94a21c90a2b8