[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] checking robertolima-dev/rust_blockchain against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertolima-dev%2Frust_blockchain" "/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/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robertolima-dev/rust_blockchain on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded secp256k1 v0.28.2
[INFO] [stderr]   Downloaded secp256k1-sys v0.9.2
[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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a2e2ab483bc9a40703e1e3e468890b0e3c76f5a420f2c6cc163febd7d506992
[INFO] running `Command { std: "docker" "start" "-a" "2a2e2ab483bc9a40703e1e3e468890b0e3c76f5a420f2c6cc163febd7d506992", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a2e2ab483bc9a40703e1e3e468890b0e3c76f5a420f2c6cc163febd7d506992", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a2e2ab483bc9a40703e1e3e468890b0e3c76f5a420f2c6cc163febd7d506992", kill_on_drop: false }`
[INFO] [stdout] 2a2e2ab483bc9a40703e1e3e468890b0e3c76f5a420f2c6cc163febd7d506992
[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=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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c5f9251830c911acfa682515e8daf457067a85d27bd88061510c529bcbc5f432
[INFO] running `Command { std: "docker" "start" "-a" "c5f9251830c911acfa682515e8daf457067a85d27bd88061510c529bcbc5f432", kill_on_drop: false }`
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking uuid v1.18.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking secp256k1 v0.28.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[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]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking 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: 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: 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] [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 31.25s
[INFO] running `Command { std: "docker" "inspect" "c5f9251830c911acfa682515e8daf457067a85d27bd88061510c529bcbc5f432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5f9251830c911acfa682515e8daf457067a85d27bd88061510c529bcbc5f432", kill_on_drop: false }`
[INFO] [stdout] c5f9251830c911acfa682515e8daf457067a85d27bd88061510c529bcbc5f432
