[INFO] cloning repository https://github.com/h-wal/blockchian_dummy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/h-wal/blockchian_dummy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh-wal%2Fblockchian_dummy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh-wal%2Fblockchian_dummy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a0697d3a0b23d00a7f7492cd1e1d8f44158545a
[INFO] testing h-wal/blockchian_dummy against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh-wal%2Fblockchian_dummy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/h-wal/blockchian_dummy
[INFO] finished tweaking git repo https://github.com/h-wal/blockchian_dummy
[INFO] tweaked toml for git repo https://github.com/h-wal/blockchian_dummy written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/h-wal/blockchian_dummy on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/h-wal/blockchian_dummy 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded impl-more v0.1.9
[INFO] [stderr]   Downloaded is-terminal v0.4.17
[INFO] [stderr]   Downloaded iana-time-zone v0.1.64
[INFO] [stderr]   Downloaded bytestring v1.5.0
[INFO] [stderr]   Downloaded actix-cors v0.6.5
[INFO] [stderr]   Downloaded actix-server v2.6.0
[INFO] [stderr]   Downloaded mio v1.1.0
[INFO] [stderr]   Downloaded derive_more v2.0.1
[INFO] [stderr]   Downloaded derive_more-impl v2.0.1
[INFO] [stderr]   Downloaded regex-lite v0.1.8
[INFO] [stderr]   Downloaded serde_json v1.0.145
[INFO] [stderr]   Downloaded tokio-util v0.7.17
[INFO] [stderr]   Downloaded actix-rt v2.11.0
[INFO] [stderr]   Downloaded actix-service v2.0.3
[INFO] [stderr]   Downloaded actix-http v3.11.2
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded chrono v0.4.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a87020aac246f51efae3a9b1064690bd55dc33ff864fbd621408fafd4b1bb515
[INFO] running `Command { std: "docker" "start" "-a" "a87020aac246f51efae3a9b1064690bd55dc33ff864fbd621408fafd4b1bb515", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a87020aac246f51efae3a9b1064690bd55dc33ff864fbd621408fafd4b1bb515", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a87020aac246f51efae3a9b1064690bd55dc33ff864fbd621408fafd4b1bb515", kill_on_drop: false }`
[INFO] [stdout] a87020aac246f51efae3a9b1064690bd55dc33ff864fbd621408fafd4b1bb515
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0cdfa5b1361dde2a24bb5e650c940fbf8c7309efcd9a007db8af295b3434e89e
[INFO] running `Command { std: "docker" "start" "-a" "0cdfa5b1361dde2a24bb5e650c940fbf8c7309efcd9a007db8af295b3434e89e", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling humantime v2.3.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling actix-rt v2.11.0
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-http v3.11.2
[INFO] [stderr]    Compiling actix-web v4.11.0
[INFO] [stderr]    Compiling actix-cors v0.6.5
[INFO] [stderr]    Compiling blockchian_dummy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut block =Block {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]   --> src/main.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let timestamp = Utc::now().timestamp();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transactions`
[INFO] [stdout]   --> src/main.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn add_block(&mut self, transactions: Vec<Transaction>) {
[INFO] [stdout]    |                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/main.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn save_to_file(&self, filename: &str) -> std::io::Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/main.rs:95:23
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn load_from_file(filename: &str) -> std::io::Result<Self> {
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let filename = "blockchain.json";
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mine_block` is never used
[INFO] [stdout]   --> src/main.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn mine_block(&mut self, difficulty: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `save_to_file` and `load_from_file` are never used
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Blockchain {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn save_to_file(&self, filename: &str) -> std::io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     fn load_from_file(filename: &str) -> std::io::Result<Self> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s
[INFO] running `Command { std: "docker" "inspect" "0cdfa5b1361dde2a24bb5e650c940fbf8c7309efcd9a007db8af295b3434e89e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cdfa5b1361dde2a24bb5e650c940fbf8c7309efcd9a007db8af295b3434e89e", kill_on_drop: false }`
[INFO] [stdout] 0cdfa5b1361dde2a24bb5e650c940fbf8c7309efcd9a007db8af295b3434e89e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff6bed9736b9363f017ee1abd8061ea0616bc36337d937cf091286cf93b68345
[INFO] running `Command { std: "docker" "start" "-a" "ff6bed9736b9363f017ee1abd8061ea0616bc36337d937cf091286cf93b68345", kill_on_drop: false }`
[INFO] [stderr]    Compiling blockchian_dummy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let mut block =Block {
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]   --> src/main.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let timestamp = Utc::now().timestamp();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transactions`
[INFO] [stdout]   --> src/main.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn add_block(&mut self, transactions: Vec<Transaction>) {
[INFO] [stdout]    |                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transactions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/main.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn save_to_file(&self, filename: &str) -> std::io::Result<()> {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]   --> src/main.rs:95:23
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn load_from_file(filename: &str) -> std::io::Result<Self> {
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let filename = "blockchain.json";
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mine_block` is never used
[INFO] [stdout]   --> src/main.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn mine_block(&mut self, difficulty: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `save_to_file` and `load_from_file` are never used
[INFO] [stdout]   --> src/main.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Blockchain {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn save_to_file(&self, filename: &str) -> std::io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     fn load_from_file(filename: &str) -> std::io::Result<Self> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] running `Command { std: "docker" "inspect" "ff6bed9736b9363f017ee1abd8061ea0616bc36337d937cf091286cf93b68345", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff6bed9736b9363f017ee1abd8061ea0616bc36337d937cf091286cf93b68345", kill_on_drop: false }`
[INFO] [stdout] ff6bed9736b9363f017ee1abd8061ea0616bc36337d937cf091286cf93b68345
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f0983d37dfdf69a6a3853a2a76d4e6bd02c6dd09bdb9037e703418134832a21c
[INFO] running `Command { std: "docker" "start" "-a" "f0983d37dfdf69a6a3853a2a76d4e6bd02c6dd09bdb9037e703418134832a21c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::fs`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fs;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:35:13
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let mut block =Block {
[INFO] [stderr]    |             ----^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `timestamp`
[INFO] [stderr]   --> src/main.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 |         let timestamp = Utc::now().timestamp();
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `transactions`
[INFO] [stderr]   --> src/main.rs:81:29
[INFO] [stderr]    |
[INFO] [stderr] 81 |     fn add_block(&mut self, transactions: Vec<Transaction>) {
[INFO] [stderr]    |                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transactions`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filename`
[INFO] [stderr]   --> src/main.rs:90:28
[INFO] [stderr]    |
[INFO] [stderr] 90 |     fn save_to_file(&self, filename: &str) -> std::io::Result<()> {
[INFO] [stderr]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filename`
[INFO] [stderr]   --> src/main.rs:95:23
[INFO] [stderr]    |
[INFO] [stderr] 95 |     fn load_from_file(filename: &str) -> std::io::Result<Self> {
[INFO] [stderr]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `filename`
[INFO] [stderr]    --> src/main.rs:159:9
[INFO] [stderr]     |
[INFO] [stderr] 159 |     let filename = "blockchain.json";
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stderr] 
[INFO] [stderr] warning: method `mine_block` is never used
[INFO] [stderr]   --> src/main.rs:53:8
[INFO] [stderr]    |
[INFO] [stderr] 31 | impl Block {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     fn mine_block(&mut self, difficulty: usize) {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `save_to_file` and `load_from_file` are never used
[INFO] [stderr]   --> src/main.rs:90:8
[INFO] [stderr]    |
[INFO] [stderr] 71 | impl Blockchain {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 90 |     fn save_to_file(&self, filename: &str) -> std::io::Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 95 |     fn load_from_file(filename: &str) -> std::io::Result<Self> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `blockchian_dummy` (bin "blockchian_dummy" test) generated 9 warnings (run `cargo fix --bin "blockchian_dummy" -p blockchian_dummy --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blockchian_dummy-2c736cd0c5fcdb59)
[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" "f0983d37dfdf69a6a3853a2a76d4e6bd02c6dd09bdb9037e703418134832a21c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0983d37dfdf69a6a3853a2a76d4e6bd02c6dd09bdb9037e703418134832a21c", kill_on_drop: false }`
[INFO] [stdout] f0983d37dfdf69a6a3853a2a76d4e6bd02c6dd09bdb9037e703418134832a21c
