[INFO] cloning repository https://github.com/kibhum/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/kibhum/rust_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkibhum%2Frust_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkibhum%2Frust_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 95eaa88f3825d5b658f7cf5d8237b1731038e016
[INFO] checking kibhum/rust_blockchain against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkibhum%2Frust_blockchain" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kibhum/rust_blockchain
[INFO] finished tweaking git repo https://github.com/kibhum/rust_blockchain
[INFO] tweaked toml for git repo https://github.com/kibhum/rust_blockchain written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kibhum/rust_blockchain on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kibhum/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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952
[INFO] running `Command { std: "docker" "start" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking miniz_oxide v0.8.3
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling httparse v1.10.0
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking brotli-decompressor v4.0.2
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking flate2 v1.0.35
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking is-terminal v0.4.15
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking ripemd160 v0.9.1
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling derive-error-chain v0.10.1
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking error-chain v0.10.0
[INFO] [stderr]     Checking dotenv v0.10.1
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout]  --> src/api_server/api_server.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, error, info, trace, warn};
[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 imports: `error`, `trace`, and `warn`
[INFO] [stdout]  --> src/api_server/api_server.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, error, info, trace, warn};
[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: `Serialize`
[INFO] [stdout]  --> src/api_server/api_server.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blockchain::transaction`
[INFO] [stdout]   --> src/wallet/wallet.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::blockchain::transaction;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `block_and_blockchain::BlockChain` and `transaction`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use blockchain::{block_and_blockchain::BlockChain, transaction};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/api_server/api_server.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wallet::wallet::Wallet`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wallet::wallet::Wallet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blockchain::transaction`
[INFO] [stdout]   --> src/wallet/wallet.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::blockchain::transaction;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `block_and_blockchain::BlockChain` and `transaction`
[INFO] [stdout]  --> src/main.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use blockchain::{block_and_blockchain::BlockChain, transaction};
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wallet::wallet::Wallet`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wallet::wallet::Wallet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `private_key`, `blockchain_address`, `public_key`, `recipient_address`, and `amount` are never read
[INFO] [stdout]   --> src/api_server/api_server.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 18 |     pub private_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 19 |     pub blockchain_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub public_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub recipient_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub amount: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transaction` has a derived impl for the trait `Debug`, 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: enum `BlockSearch` is never used
[INFO] [stdout]   --> src/blockchain/block_and_blockchain.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum BlockSearch {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BlockSearchResult` is never used
[INFO] [stdout]   --> src/blockchain/block_and_blockchain.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum BlockSearchResult<'a> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/blockchain/block_and_blockchain.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn print(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MINING_REWARD`, `print`, and `search_block` are never used
[INFO] [stdout]    --> src/blockchain/block_and_blockchain.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl BlockChain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     const MINING_REWARD: u64 = 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign_transaction` is never used
[INFO] [stdout]   --> src/wallet/wallet.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Wallet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn sign_transaction(&self, receiver: &String, amount: u64) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain/block_and_blockchain.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult {
[INFO] [stdout]     |                         ^^^^^                          ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult<'_> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `private_key`, `blockchain_address`, `public_key`, `recipient_address`, and `amount` are never read
[INFO] [stdout]   --> src/api_server/api_server.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Transaction {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 18 |     pub private_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 19 |     pub blockchain_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     pub public_key: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 21 |     pub recipient_address: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     pub amount: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transaction` has a derived impl for the trait `Debug`, 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: enum `BlockSearch` is never used
[INFO] [stdout]   --> src/blockchain/block_and_blockchain.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum BlockSearch {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BlockSearchResult` is never used
[INFO] [stdout]   --> src/blockchain/block_and_blockchain.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum BlockSearchResult<'a> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/blockchain/block_and_blockchain.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn print(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `MINING_REWARD`, `print`, and `search_block` are never used
[INFO] [stdout]    --> src/blockchain/block_and_blockchain.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl BlockChain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     const MINING_REWARD: u64 = 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign_transaction` is never used
[INFO] [stdout]   --> src/wallet/wallet.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Wallet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn sign_transaction(&self, receiver: &String, amount: u64) -> Transaction {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain/block_and_blockchain.rs:151:25
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult {
[INFO] [stdout]     |                         ^^^^^                          ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult<'_> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.95s
[INFO] running `Command { std: "docker" "inspect" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952", kill_on_drop: false }`
[INFO] [stdout] 70b9d78cb24cc4e10b50586065d8d0b2057d9e39e08641cf4d96b10f48ff8952
