[INFO] cloning repository https://github.com/melonges/moodchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melonges/moodchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelonges%2Fmoodchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelonges%2Fmoodchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 61c230386dc87c0e43c1a61d43722417631b3fcf
[INFO] testing melonges/moodchain against beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelonges%2Fmoodchain" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/melonges/moodchain
[INFO] finished tweaking git repo https://github.com/melonges/moodchain
[INFO] tweaked toml for git repo https://github.com/melonges/moodchain written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/melonges/moodchain on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/melonges/moodchain 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-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] df1b0efcbfd3d2f2e50e49c342142526c4f59693ccf91b9b1f8b2205fed33ba3
[INFO] running `Command { std: "docker" "start" "-a" "df1b0efcbfd3d2f2e50e49c342142526c4f59693ccf91b9b1f8b2205fed33ba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "df1b0efcbfd3d2f2e50e49c342142526c4f59693ccf91b9b1f8b2205fed33ba3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df1b0efcbfd3d2f2e50e49c342142526c4f59693ccf91b9b1f8b2205fed33ba3", kill_on_drop: false }`
[INFO] [stdout] df1b0efcbfd3d2f2e50e49c342142526c4f59693ccf91b9b1f8b2205fed33ba3
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 74ec005bc8e957bd7f53b042bbee1aa864b8fd8a595ff8f0d808f45c9ca7a3ef
[INFO] running `Command { std: "docker" "start" "-a" "74ec005bc8e957bd7f53b042bbee1aa864b8fd8a595ff8f0d808f45c9ca7a3ef", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling paste v1.0.11
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling time-macros v0.2.6
[INFO] [stderr]    Compiling brotli-decompressor v2.3.4
[INFO] [stderr]    Compiling jobserver v0.1.25
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling bytestring v1.2.0
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling zstd-sys v2.0.5+zstd.1.5.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling block-buffer v0.10.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling sha1 v0.10.5
[INFO] [stderr]    Compiling time v0.3.17
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling primitive-types v0.12.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling actix-router v0.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling actix-rt v2.7.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-web-codegen v4.1.0
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling actix-server v2.1.1
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.2.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-web v4.2.1
[INFO] [stderr]    Compiling moodchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/block.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str::FromStr`
[INFO] [stdout]  --> src/block.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     str::FromStr,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mine`
[INFO] [stdout]  --> src/main.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use communication::{get_blockchain, mine};
[INFO] [stdout]   |                                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `SharedState`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use types::{Blockchain, SharedState};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/communication.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `block`
[INFO] [stdout]  --> src/communication.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     web::{self, block},
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `block::Block`
[INFO] [stdout]   --> src/communication.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     block::Block,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 11 |     types::{Blockchain, SharedState},
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SharedState`
[INFO] [stdout]  --> src/utils.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::types::{Blockchain, SharedState};
[INFO] [stdout]   |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `generate_next_block`, `hash`, and `validate_new_block` are never used
[INFO] [stdout]   --> src/block.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Block {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 21 |     pub fn generate_next_block(prev_block: &Block, data: String) -> Block {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn hash(index: u32, prev_hash: &BlockHash, timestamp: UnixTimeStamp, data: &str) -> BlockHash {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn validate_new_block(new_block: &Block, prev_block: &Block) -> Result<(), &'static str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_chain` is never used
[INFO] [stdout]  --> src/utils.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_valid_chain(blockchain_to_validate: &[Block], genesis_block: Block) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_chain` is never used
[INFO] [stdout]   --> src/utils.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn replace_chain(
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.03s
[INFO] running `Command { std: "docker" "inspect" "74ec005bc8e957bd7f53b042bbee1aa864b8fd8a595ff8f0d808f45c9ca7a3ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74ec005bc8e957bd7f53b042bbee1aa864b8fd8a595ff8f0d808f45c9ca7a3ef", kill_on_drop: false }`
[INFO] [stdout] 74ec005bc8e957bd7f53b042bbee1aa864b8fd8a595ff8f0d808f45c9ca7a3ef
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2613730dd14cc0071a7df14328ab7abc9c3e58d333188fc6d8192eea48fb2db
[INFO] running `Command { std: "docker" "start" "-a" "c2613730dd14cc0071a7df14328ab7abc9c3e58d333188fc6d8192eea48fb2db", kill_on_drop: false }`
[INFO] [stderr]    Compiling moodchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/block.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str::FromStr`
[INFO] [stdout]  --> src/block.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     str::FromStr,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mine`
[INFO] [stdout]  --> src/main.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | use communication::{get_blockchain, mine};
[INFO] [stdout]   |                                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `SharedState`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use types::{Blockchain, SharedState};
[INFO] [stdout]   |             ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> src/communication.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `block`
[INFO] [stdout]  --> src/communication.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     web::{self, block},
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `block::Block`
[INFO] [stdout]   --> src/communication.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     block::Block,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 11 |     types::{Blockchain, SharedState},
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::web`
[INFO] [stdout]  --> src/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::web;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SharedState`
[INFO] [stdout]  --> src/utils.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::types::{Blockchain, SharedState};
[INFO] [stdout]   |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `generate_next_block`, `hash`, and `validate_new_block` are never used
[INFO] [stdout]   --> src/block.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Block {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 21 |     pub fn generate_next_block(prev_block: &Block, data: String) -> Block {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn hash(index: u32, prev_hash: &BlockHash, timestamp: UnixTimeStamp, data: &str) -> BlockHash {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn validate_new_block(new_block: &Block, prev_block: &Block) -> Result<(), &'static str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_chain` is never used
[INFO] [stdout]  --> src/utils.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn is_valid_chain(blockchain_to_validate: &[Block], genesis_block: Block) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_chain` is never used
[INFO] [stdout]   --> src/utils.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn replace_chain(
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "c2613730dd14cc0071a7df14328ab7abc9c3e58d333188fc6d8192eea48fb2db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2613730dd14cc0071a7df14328ab7abc9c3e58d333188fc6d8192eea48fb2db", kill_on_drop: false }`
[INFO] [stdout] c2613730dd14cc0071a7df14328ab7abc9c3e58d333188fc6d8192eea48fb2db
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9e4dff3a39c55f039f6076e5c57910c9625a1f41d6aa451ed09375d7f3e6f943
[INFO] running `Command { std: "docker" "start" "-a" "9e4dff3a39c55f039f6076e5c57910c9625a1f41d6aa451ed09375d7f3e6f943", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]  --> src/block.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::{DateTime, Utc};
[INFO] [stderr]   |              ^^^^^^^^  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `str::FromStr`
[INFO] [stderr]  --> src/block.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     str::FromStr,
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `mine`
[INFO] [stderr]  --> src/main.rs:6:37
[INFO] [stderr]   |
[INFO] [stderr] 6 | use communication::{get_blockchain, mine};
[INFO] [stderr]   |                                     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Blockchain` and `SharedState`
[INFO] [stderr]  --> src/main.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use types::{Blockchain, SharedState};
[INFO] [stderr]   |             ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Mutex`
[INFO] [stderr]  --> src/communication.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::sync::Mutex;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `block`
[INFO] [stderr]  --> src/communication.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 |     web::{self, block},
[INFO] [stderr]   |                 ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Blockchain` and `block::Block`
[INFO] [stderr]   --> src/communication.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     block::Block,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 11 |     types::{Blockchain, SharedState},
[INFO] [stderr]    |             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `actix_web::web`
[INFO] [stderr]  --> src/utils.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::web;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SharedState`
[INFO] [stderr]  --> src/utils.rs:4:32
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::types::{Blockchain, SharedState};
[INFO] [stderr]   |                                ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `generate_next_block`, `hash`, and `validate_new_block` are never used
[INFO] [stderr]   --> src/block.rs:21:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | impl Block {
[INFO] [stderr]    | ---------- associated functions in this implementation
[INFO] [stderr] 21 |     pub fn generate_next_block(prev_block: &Block, data: String) -> Block {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     fn hash(index: u32, prev_hash: &BlockHash, timestamp: UnixTimeStamp, data: &str) -> BlockHash {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     pub fn validate_new_block(new_block: &Block, prev_block: &Block) -> Result<(), &'static str> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_valid_chain` is never used
[INFO] [stderr]  --> src/utils.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn is_valid_chain(blockchain_to_validate: &[Block], genesis_block: Block) -> bool {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `replace_chain` is never used
[INFO] [stderr]   --> src/utils.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub fn replace_chain(
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `moodchain` (bin "moodchain" test) generated 12 warnings (run `cargo fix --bin "moodchain" --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/moodchain-689f5e772444e038)
[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" "9e4dff3a39c55f039f6076e5c57910c9625a1f41d6aa451ed09375d7f3e6f943", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e4dff3a39c55f039f6076e5c57910c9625a1f41d6aa451ed09375d7f3e6f943", kill_on_drop: false }`
[INFO] [stdout] 9e4dff3a39c55f039f6076e5c57910c9625a1f41d6aa451ed09375d7f3e6f943
