[INFO] cloning repository https://github.com/Whoami-id/Blockchain-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Whoami-id/Blockchain-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhoami-id%2FBlockchain-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhoami-id%2FBlockchain-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9c33f79c57c91a839df0b67182cc7b5657c657e
[INFO] checking Whoami-id/Blockchain-Rust against try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhoami-id%2FBlockchain-Rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Whoami-id/Blockchain-Rust
[INFO] finished tweaking git repo https://github.com/Whoami-id/Blockchain-Rust
[INFO] tweaked toml for git repo https://github.com/Whoami-id/Blockchain-Rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Whoami-id/Blockchain-Rust on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Whoami-id/Blockchain-Rust 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609
[INFO] running `Command { std: "docker" "start" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609", 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" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609", 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" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling find-msvc-tools v0.1.7
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zmij v1.0.14
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling time-core v0.1.7
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling time-macros v0.2.25
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]     Checking time v0.3.45
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ripemd160 v0.9.1
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking actix-web v4.12.1
[INFO] [stderr]     Checking Blockchain_in_Rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout]  --> src/api_server/server.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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: `reqwest::Error`
[INFO] [stdout]  --> src/api_server/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use reqwest::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/blockchain/blockchains.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/blockchain/transaction.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/blockchain/transaction.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `trace`, and `warn`
[INFO] [stdout]  --> src/api_server/server.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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: `reqwest::Error`
[INFO] [stdout]  --> src/api_server/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use reqwest::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/blockchain/blockchains.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/blockchain/transaction.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]  --> src/blockchain/transaction.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api_server/server.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut unlock_cache = api_server.cache.lock().unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/api_server/server.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut unlock_cache = api_server.cache.lock().unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/api_server/server.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut api_server = ApiServer {
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/api_server/server.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let mut api_server = ApiServer {
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pos` is never read
[INFO] [stdout]   --> src/blockchain/transaction.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         pos += len_value;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash3`
[INFO] [stdout]   --> src/blockchain/wallet.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 let hash3 = Sha256::digest(&hash2);
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BlockSearch` is never used
[INFO] [stdout]   --> src/blockchain/blockchains.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum BlockSearch {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BlockSearchResult` is never used
[INFO] [stdout]   --> src/blockchain/blockchains.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum BlockSearchResult<'a> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/blockchain/blockchains.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn print(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print` and `search_block` are never used
[INFO] [stdout]    --> src/blockchain/blockchains.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl BlockChain {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         Self::delete_neighbors_transaction_in_pool(api_server).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let _ = Self::delete_neighbors_transaction_in_pool(api_server).await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         Self::build_concensus(api_server).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let _ = Self::build_concensus(api_server).await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         Self::resolve_conflicts(&api).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 484 |         let _ = Self::resolve_conflicts(&api).await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:550:13
[INFO] [stdout]     |
[INFO] [stdout] 550 |             runtime.block_on(self.ping_neighbor(candidate, &mut neighbors));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 550 |             let _ = runtime.block_on(self.ping_neighbor(candidate, &mut neighbors));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain/blockchains.rs:196:25
[INFO] [stdout]     |
[INFO] [stdout] 196 |     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] 196 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult<'_> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/blockchain/blockchains.rs:315:46
[INFO] [stdout]     |
[INFO] [stdout] 315 |             sender: BlockChain::MINING_SENDER.clone().into(),
[INFO] [stdout]     |                                              ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pos` is never read
[INFO] [stdout]   --> src/blockchain/transaction.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         pos += len_value;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash3`
[INFO] [stdout]   --> src/blockchain/wallet.rs:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 let hash3 = Sha256::digest(&hash2);
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash3`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BlockSearch` is never used
[INFO] [stdout]   --> src/blockchain/blockchains.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum BlockSearch {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BlockSearchResult` is never used
[INFO] [stdout]   --> src/blockchain/blockchains.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub enum BlockSearchResult<'a> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]   --> src/blockchain/blockchains.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Block {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn print(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `print` and `search_block` are never used
[INFO] [stdout]    --> src/blockchain/blockchains.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 125 | impl BlockChain {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn print(&self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         Self::delete_neighbors_transaction_in_pool(api_server).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let _ = Self::delete_neighbors_transaction_in_pool(api_server).await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         Self::build_concensus(api_server).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let _ = Self::build_concensus(api_server).await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:484:9
[INFO] [stdout]     |
[INFO] [stdout] 484 |         Self::resolve_conflicts(&api).await;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 484 |         let _ = Self::resolve_conflicts(&api).await;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/api_server/server.rs:550:13
[INFO] [stdout]     |
[INFO] [stdout] 550 |             runtime.block_on(self.ping_neighbor(candidate, &mut neighbors));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 550 |             let _ = runtime.block_on(self.ping_neighbor(candidate, &mut neighbors));
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/blockchain/blockchains.rs:196:25
[INFO] [stdout]     |
[INFO] [stdout] 196 |     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] 196 |     pub fn search_block(&self, search: BlockSearch) -> BlockSearchResult<'_> {
[INFO] [stdout]     |                                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/blockchain/blockchains.rs:315:46
[INFO] [stdout]     |
[INFO] [stdout] 315 |             sender: BlockChain::MINING_SENDER.clone().into(),
[INFO] [stdout]     |                                              ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609", kill_on_drop: false }`
[INFO] [stdout] 90c0f6df69349c85f73d25c27a75670bf505b5210e90157ff6c6a7ef54135609
