[INFO] cloning repository https://github.com/robertolima-dev/rust_blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertolima-dev/rust_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f4da873087e658c406ee7943c4293e526e1b5a2
[INFO] testing robertolima-dev/rust_blockchain against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robertolima-dev/rust_blockchain
[INFO] finished tweaking git repo https://github.com/robertolima-dev/rust_blockchain
[INFO] tweaked toml for git repo https://github.com/robertolima-dev/rust_blockchain written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robertolima-dev/rust_blockchain on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robertolima-dev/rust_blockchain 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.18.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.95
[INFO] [stderr]   Downloaded time-core v0.1.4
[INFO] [stderr]   Downloaded windows-strings v0.4.2
[INFO] [stderr]   Downloaded windows-result v0.3.4
[INFO] [stderr]   Downloaded rustversion v1.0.21
[INFO] [stderr]   Downloaded env_filter v0.1.3
[INFO] [stderr]   Downloaded bytestring v1.4.0
[INFO] [stderr]   Downloaded potential_utf v0.1.2
[INFO] [stderr]   Downloaded jobserver v0.1.33
[INFO] [stderr]   Downloaded redox_syscall v0.5.17
[INFO] [stderr]   Downloaded actix-rt v2.10.0
[INFO] [stderr]   Downloaded windows-core v0.61.2
[INFO] [stderr]   Downloaded addr2line v0.24.2
[INFO] [stderr]   Downloaded deranged v0.4.0
[INFO] [stderr]   Downloaded time-macros v0.2.22
[INFO] [stderr]   Downloaded derive_more v2.0.1
[INFO] [stderr]   Downloaded derive_more-impl v2.0.1
[INFO] [stderr]   Downloaded backtrace v0.3.75
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded jiff-static v0.2.15
[INFO] [stderr]   Downloaded regex-lite v0.1.6
[INFO] [stderr]   Downloaded indexmap v2.10.0
[INFO] [stderr]   Downloaded io-uring v0.7.9
[INFO] [stderr]   Downloaded cc v1.2.32
[INFO] [stderr]   Downloaded secp256k1 v0.28.2
[INFO] [stderr]   Downloaded time v0.3.41
[INFO] [stderr]   Downloaded actix-http v3.11.0
[INFO] [stderr]   Downloaded idna v1.0.3
[INFO] [stderr]   Downloaded serde_json v1.0.142
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] [stderr]   Downloaded chrono v0.4.41
[INFO] [stderr]   Downloaded syn v2.0.104
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded gimli v0.31.1
[INFO] [stderr]   Downloaded object v0.36.7
[INFO] [stderr]   Downloaded brotli v8.0.1
[INFO] [stderr]   Downloaded jiff v0.2.15
[INFO] [stderr]   Downloaded libc v0.2.174
[INFO] [stderr]   Downloaded zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]   Downloaded secp256k1-sys v0.9.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dd96a95aa23c72b3ab9b0e97d3792cd5056b32f506259934531f82d1a527cb80
[INFO] running `Command { std: "docker" "start" "-a" "dd96a95aa23c72b3ab9b0e97d3792cd5056b32f506259934531f82d1a527cb80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd96a95aa23c72b3ab9b0e97d3792cd5056b32f506259934531f82d1a527cb80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd96a95aa23c72b3ab9b0e97d3792cd5056b32f506259934531f82d1a527cb80", kill_on_drop: false }`
[INFO] [stdout] dd96a95aa23c72b3ab9b0e97d3792cd5056b32f506259934531f82d1a527cb80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89d92f2bf1afd63acc27a8b3f7391245c1da507f751bf9a3f1e842c89fa5ec81
[INFO] running `Command { std: "docker" "start" "-a" "89d92f2bf1afd63acc27a8b3f7391245c1da507f751bf9a3f1e842c89fa5ec81", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[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 brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling secp256k1 v0.28.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling actix-web v4.11.0
[INFO] [stderr]    Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[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: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[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: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty` and `miner_address` are never read
[INFO] [stdout]   --> src/api/models.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct MiningTemplate {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub difficulty: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub miner_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MiningTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `is_empty` are never used
[INFO] [stdout]   --> src/transaction/utxo.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl UtxoSet {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn contains(&self, outpoint: &OutPoint) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "89d92f2bf1afd63acc27a8b3f7391245c1da507f751bf9a3f1e842c89fa5ec81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89d92f2bf1afd63acc27a8b3f7391245c1da507f751bf9a3f1e842c89fa5ec81", kill_on_drop: false }`
[INFO] [stdout] 89d92f2bf1afd63acc27a8b3f7391245c1da507f751bf9a3f1e842c89fa5ec81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aaac905f8e401fb19dde9620e1a45482e604bbafdb73291f15ea35ed595681ba
[INFO] running `Command { std: "docker" "start" "-a" "aaac905f8e401fb19dde9620e1a45482e604bbafdb73291f15ea35ed595681ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[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: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[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: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stdout]  --> src/api/chain.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[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: `warn`
[INFO] [stdout]  --> src/api/chain.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use log::{debug, info, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stdout]   --> src/api/chain.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/api/tx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TxInput`
[INFO] [stdout]   --> src/api/tx.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stdout]    |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/wallet/mod.rs:2:48
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stdout]   |                                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stdout]   --> src/wallet/mod.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/api/tx.rs:168:10
[INFO] [stdout]     |
[INFO] [stdout] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `difficulty` and `miner_address` are never read
[INFO] [stdout]   --> src/api/models.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct MiningTemplate {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub difficulty: u32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub miner_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MiningTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `is_empty` are never used
[INFO] [stdout]   --> src/transaction/utxo.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl UtxoSet {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn contains(&self, outpoint: &OutPoint) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.96s
[INFO] running `Command { std: "docker" "inspect" "aaac905f8e401fb19dde9620e1a45482e604bbafdb73291f15ea35ed595681ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaac905f8e401fb19dde9620e1a45482e604bbafdb73291f15ea35ed595681ba", kill_on_drop: false }`
[INFO] [stdout] aaac905f8e401fb19dde9620e1a45482e604bbafdb73291f15ea35ed595681ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f44f22029c607b12c2b749d2313c89f4699a5d488406e45ca8152896f31d3eb5
[INFO] running `Command { std: "docker" "start" "-a" "f44f22029c607b12c2b749d2313c89f4699a5d488406e45ca8152896f31d3eb5", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Blockchain` and `DEFAULT_DIFFICULTY`
[INFO] [stderr]  --> src/api/chain.rs:2:18
[INFO] [stderr]   |
[INFO] [stderr] 2 |     BASE_REWARD, Blockchain, DEFAULT_DIFFICULTY, MAX_BLOCK_BYTES, MAX_TXS_PER_BLOCK,
[INFO] [stderr]   |                  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/api/chain.rs:5:24
[INFO] [stderr]   |
[INFO] [stderr] 5 | use log::{debug, info, warn};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `OutPoint` and `TxInput`
[INFO] [stderr]   --> src/api/chain.rs:12:26
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stderr]    |                          ^^^^^^^^               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashSet`
[INFO] [stderr]  --> src/api/tx.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::HashSet;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TxInput`
[INFO] [stderr]   --> src/api/tx.rs:10:49
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::transaction::{OutPoint, Transaction, TxInput, TxOutput, UtxoSet};
[INFO] [stderr]    |                                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SecretKey`
[INFO] [stderr]  --> src/wallet/mod.rs:2:48
[INFO] [stderr]   |
[INFO] [stderr] 2 | use secp256k1::{Message, PublicKey, Secp256k1, SecretKey, ecdsa::Signature};
[INFO] [stderr]   |                                                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `secp256k1::Message::from_slice`: use from_digest_slice instead
[INFO] [stderr]   --> src/wallet/mod.rs:38:24
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let msg = Message::from_slice(&msg32).map_err(|_| "invalid message length")?;
[INFO] [stderr]    |                        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/api/tx.rs:168:10
[INFO] [stderr]     |
[INFO] [stderr] 168 |     for (i, input) in tx.inputs.iter().enumerate() {
[INFO] [stderr]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_blockchain` (lib) generated 8 warnings (run `cargo fix --lib -p rust_blockchain` to apply 7 suggestions)
[INFO] [stderr] warning: `rust_blockchain` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr] warning: fields `difficulty` and `miner_address` are never read
[INFO] [stderr]   --> src/api/models.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct MiningTemplate {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 13 |     pub difficulty: u32,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 14 |     pub miner_address: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MiningTemplate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `contains` and `is_empty` are never used
[INFO] [stderr]   --> src/transaction/utxo.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 34 | impl UtxoSet {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 55 |     pub fn contains(&self, outpoint: &OutPoint) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63 |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_blockchain` (bin "rust_blockchain" test) generated 10 warnings (8 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_blockchain-bd911560f0e6bdf9)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test blockchain::block::tests::genesis_has_valid_hash ... ok
[INFO] [stdout] test blockchain::block::tests::mining_produces_leading_zeros ... ok
[INFO] [stdout] test blockchain::block::tests::invalid_when_mutated ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_blockchain-7fe20fa28ae750a2)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test blockchain::block::tests::genesis_has_valid_hash ... ok
[INFO] [stdout] test blockchain::block::tests::mining_produces_leading_zeros ... ok
[INFO] [stderr]    Doc-tests rust_blockchain
[INFO] [stdout] test blockchain::block::tests::invalid_when_mutated ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[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" "f44f22029c607b12c2b749d2313c89f4699a5d488406e45ca8152896f31d3eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f44f22029c607b12c2b749d2313c89f4699a5d488406e45ca8152896f31d3eb5", kill_on_drop: false }`
[INFO] [stdout] f44f22029c607b12c2b749d2313c89f4699a5d488406e45ca8152896f31d3eb5
