[INFO] cloning repository https://github.com/chokey2nv/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/chokey2nv/rust_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchokey2nv%2Frust_blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchokey2nv%2Frust_blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 19fc21a867bfdbee41be9a55d9646329364035a2
[INFO] checking chokey2nv/rust_blockchain against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchokey2nv%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] validating manifest of git repo https://github.com/chokey2nv/rust_blockchain on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chokey2nv/rust_blockchain
[INFO] finished tweaking git repo https://github.com/chokey2nv/rust_blockchain
[INFO] tweaked toml for git repo https://github.com/chokey2nv/rust_blockchain written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/chokey2nv/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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded phf_codegen v0.11.2
[INFO] [stderr]   Downloaded quote v1.0.31
[INFO] [stderr]   Downloaded async-executor v1.5.1
[INFO] [stderr]   Downloaded mio-extras v2.0.6
[INFO] [stderr]   Downloaded inotify-sys v0.1.5
[INFO] [stderr]   Downloaded commoncrypto-sys v0.2.0
[INFO] [stderr]   Downloaded askama_actix v0.14.0
[INFO] [stderr]   Downloaded mac-notification-sys v0.5.6
[INFO] [stderr]   Downloaded hex v0.3.2
[INFO] [stderr]   Downloaded globset v0.4.6
[INFO] [stderr]   Downloaded watchexec v1.17.2
[INFO] [stderr]   Downloaded terminfo v0.7.5
[INFO] [stderr]   Downloaded windows_i686_msvc v0.39.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.3
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.39.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.39.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.39.0
[INFO] [stderr]   Downloaded regex-automata v0.3.3
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.39.0
[INFO] [stderr]   Downloaded aho-corasick v1.0.2
[INFO] [stderr]   Downloaded windows v0.39.0
[INFO] [stderr]   Downloaded serde_json v1.0.103
[INFO] [stderr]   Downloaded syn v2.0.26
[INFO] [stderr]   Downloaded serde_derive v1.0.173
[INFO] [stderr]   Downloaded cargo-watch v8.4.0
[INFO] [stderr]   Downloaded winnow v0.5.0
[INFO] [stderr]   Downloaded rustix v0.37.23
[INFO] [stderr]   Downloaded clearscreen v1.0.11
[INFO] [stderr]   Downloaded command-group v1.0.8
[INFO] [stderr]   Downloaded regex v1.9.1
[INFO] [stderr]   Downloaded time v0.3.23
[INFO] [stderr]   Downloaded security-framework v2.9.1
[INFO] [stderr]   Downloaded serde v1.0.173
[INFO] [stderr]   Downloaded basic-toml v0.1.4
[INFO] [stderr]   Downloaded tempfile v3.7.0
[INFO] [stderr]   Downloaded pin-project-lite v0.2.10
[INFO] [stderr]   Downloaded tauri-winrt-notification v0.1.2
[INFO] [stderr]   Downloaded notify v4.0.17
[INFO] [stderr]   Downloaded notify-rust v4.8.0
[INFO] [stderr]   Downloaded stderrlog v0.5.4
[INFO] [stderr]   Downloaded flate2 v1.0.26
[INFO] [stderr]   Downloaded async-process v1.7.0
[INFO] [stderr]   Downloaded darling_core v0.12.4
[INFO] [stderr]   Downloaded derive_builder_core v0.10.2
[INFO] [stderr]   Downloaded async-trait v0.1.72
[INFO] [stderr]   Downloaded atomic-waker v1.1.1
[INFO] [stderr]   Downloaded askama_derive v0.12.1
[INFO] [stderr]   Downloaded darling v0.12.4
[INFO] [stderr]   Downloaded derive_builder v0.10.2
[INFO] [stderr]   Downloaded filetime v0.2.21
[INFO] [stderr]   Downloaded async-recursion v1.0.4
[INFO] [stderr]   Downloaded cargo_metadata v0.15.4
[INFO] [stderr]   Downloaded blocking v1.3.1
[INFO] [stderr]   Downloaded askama v0.12.0
[INFO] [stderr]   Downloaded crypto-hash v0.3.4
[INFO] [stderr]   Downloaded async-lock v2.7.0
[INFO] [stderr]   Downloaded fsevent-sys v2.0.1
[INFO] [stderr]   Downloaded commoncrypto v0.2.0
[INFO] [stderr]   Downloaded phf_generator v0.11.2
[INFO] [stderr]   Downloaded askama_escape v0.10.3
[INFO] [stderr]   Downloaded humansize v2.1.3
[INFO] [stderr]   Downloaded cargo-platform v0.1.3
[INFO] [stderr]   Downloaded walkdir v2.3.3
[INFO] [stderr]   Downloaded fsevent v0.4.0
[INFO] [stderr]   Downloaded inotify v0.7.1
[INFO] [stderr]   Downloaded serde_repr v0.1.15
[INFO] [stderr]   Downloaded darling_macro v0.12.4
[INFO] [stderr]   Downloaded derive_builder_macro v0.10.2
[INFO] [stderr]   Downloaded time-macros v0.2.10
[INFO] [stderr]   Downloaded shell-escape v0.1.5
[INFO] [stderr]   Downloaded async-task v4.4.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a069c1458fb269d236f4ac6f952a6c60e62bcc39b1650e0db6ddb27ee50f52ea
[INFO] running `Command { std: "docker" "start" "-a" "a069c1458fb269d236f4ac6f952a6c60e62bcc39b1650e0db6ddb27ee50f52ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a069c1458fb269d236f4ac6f952a6c60e62bcc39b1650e0db6ddb27ee50f52ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a069c1458fb269d236f4ac6f952a6c60e62bcc39b1650e0db6ddb27ee50f52ea", kill_on_drop: false }`
[INFO] [stdout] a069c1458fb269d236f4ac6f952a6c60e62bcc39b1650e0db6ddb27ee50f52ea
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63be961ea363ababbbc57323e8f7fc4f8da65c3702b4663d05cfed39a26931a3
[INFO] running `Command { std: "docker" "start" "-a" "63be961ea363ababbbc57323e8f7fc4f8da65c3702b4663d05cfed39a26931a3", kill_on_drop: false }`
[INFO] [stderr] warning: ultra_blockchain v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target
[INFO] [stderr]     Checking pin-project-lite v0.2.10
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling serde v1.0.173
[INFO] [stderr]    Compiling serde_derive v1.0.173
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]    Compiling quote v1.0.31
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling syn v2.0.26
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling zstd-safe v6.0.6
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling libm v0.2.7
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling time-macros v0.2.10
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking brotli-decompressor v2.3.4
[INFO] [stderr]    Compiling bytestring v1.3.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking encoding_rs v0.8.32
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking base64 v0.21.2
[INFO] [stderr]    Compiling serde_json v1.0.103
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling zstd-sys v2.0.8+zstd.1.5.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]    Compiling regex-automata v0.3.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking flate2 v1.0.26
[INFO] [stderr]    Compiling basic-toml v0.1.4
[INFO] [stderr]     Checking time v0.3.23
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking ipnet v2.8.0
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking humansize v2.1.3
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling regex v1.9.1
[INFO] [stderr]    Compiling askama_derive v0.12.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking actix-router v0.5.1
[INFO] [stderr]    Compiling actix-web-codegen v4.2.0
[INFO] [stderr]     Checking crypto-hash v0.3.4
[INFO] [stderr]     Checking askama v0.12.0
[INFO] [stderr]     Checking zstd v0.12.4
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking actix-rt v2.8.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking actix-server v2.2.0
[INFO] [stderr]     Checking h2 v0.3.20
[INFO] [stderr]     Checking actix-codec v0.5.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking actix-http v3.3.1
[INFO] [stderr]     Checking actix-web v4.3.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking askama_actix v0.14.0
[INFO] [stderr]     Checking ultra_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/modules/app.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{error::Error, io, sync::Mutex};
[INFO] [stdout]   |                         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/modules/app.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{error::Error, io, sync::Mutex};
[INFO] [stdout]   |                         ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dev::Server`
[INFO] [stdout]  --> src/modules/client.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{dev::Server, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/modules/client.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{json, Value};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `select`, `signal::ctrl_c`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::{select, signal::ctrl_c};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `app::start_node`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     app::start_node,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dev::Server`
[INFO] [stdout]  --> src/modules/client.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use actix_web::{dev::Server, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/modules/client.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{json, Value};
[INFO] [stdout]   |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `select`, `signal::ctrl_c`
[INFO] [stdout]  --> src/main.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::{select, signal::ctrl_c};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `app::start_node`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     app::start_node,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Application` is never constructed
[INFO] [stdout]  --> src/modules/app.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Application {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/modules/app.rs:15:12
[INFO] [stdout]     |
[INFO] [stdout] 13  | impl Application {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 14  |     // Create a new blockchain application.
[INFO] [stdout] 15  |     pub fn new() -> Result<Application, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22  |     async fn handle_mine(blockchain: web::Data<Mutex<Blockchain>>) -> impl Responder {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64  |     async fn handle_verify_and_add_block(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     pub async fn handle_register_node_with(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub async fn handle_register_node(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub async fn handle_get_pending_transactions(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub async fn handle_new_transaction(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub async fn get_chain(blchain: web::Data<Blockchain>) -> impl Responder {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     fn config(cfg: &mut web::ServiceConfig) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_node` is never used
[INFO] [stdout]    --> src/modules/app.rs:250:14
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub async fn start_node() -> Server {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_hash` and `with_modified_hash` are never used
[INFO] [stdout]   --> src/modules/blockchain/block.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Block {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 19 |     // A function that returns the hash of the block contents.
[INFO] [stdout] 20 |     pub fn compute_hash(&self) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn with_modified_hash(&self, modified_hash: &str) -> Block {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/modules/blockchain/chain.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 32  | impl Blockchain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 33  |     // Create a new blockchain with a genesis block.
[INFO] [stdout] 34  |     pub fn new_blockchain() -> Result<Blockchain, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     pub fn create_chain_from_file(dump: &str) -> Result<Blockchain, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn create_chain_from_dump(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn parse_transactions(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn create_genesis_block(&mut self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn get_last_block(&self) -> &Block {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn add_block(&mut self, block: Block) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn mine_block(&mut self) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn add_node_peer(&mut self, node: NodePeer) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn add_new_transaction(&mut self, transaction: Transaction) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn proof_of_work(&self, block: &mut Block) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn announce_new_block(&self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub async fn consensus(&mut self) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn is_valid_proof(&self, block: &Block, block_hash: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 265 |     pub fn check_chain_validity(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | /     HttpServer::new(move || App::new().route("/", web::get().to(Client::handle_index)))
[INFO] [stdout] 20 | |         .bind("127.0.0.1:8000")
[INFO] [stdout] 21 | |         .unwrap()
[INFO] [stdout] 22 | |         .run()
[INFO] [stdout] 23 | |         .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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let _ = HttpServer::new(move || App::new().route("/", web::get().to(Client::handle_index)))
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     start_client().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] 24 |     let _ = start_client().await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Application` is never constructed
[INFO] [stdout]  --> src/modules/app.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Application {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/modules/app.rs:15:12
[INFO] [stdout]     |
[INFO] [stdout] 13  | impl Application {
[INFO] [stdout]     | ---------------- associated functions in this implementation
[INFO] [stdout] 14  |     // Create a new blockchain application.
[INFO] [stdout] 15  |     pub fn new() -> Result<Application, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22  |     async fn handle_mine(blockchain: web::Data<Mutex<Blockchain>>) -> impl Responder {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64  |     async fn handle_verify_and_add_block(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     pub async fn handle_register_node_with(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub async fn handle_register_node(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub async fn handle_get_pending_transactions(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub async fn handle_new_transaction(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub async fn get_chain(blchain: web::Data<Blockchain>) -> impl Responder {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     fn config(cfg: &mut web::ServiceConfig) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_node` is never used
[INFO] [stdout]    --> src/modules/app.rs:250:14
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub async fn start_node() -> Server {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_hash` and `with_modified_hash` are never used
[INFO] [stdout]   --> src/modules/blockchain/block.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Block {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] 19 |     // A function that returns the hash of the block contents.
[INFO] [stdout] 20 |     pub fn compute_hash(&self) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn with_modified_hash(&self, modified_hash: &str) -> Block {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/modules/blockchain/chain.rs:34:12
[INFO] [stdout]     |
[INFO] [stdout] 32  | impl Blockchain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 33  |     // Create a new blockchain with a genesis block.
[INFO] [stdout] 34  |     pub fn new_blockchain() -> Result<Blockchain, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     pub fn create_chain_from_file(dump: &str) -> Result<Blockchain, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55  |     pub fn create_chain_from_dump(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn parse_transactions(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn create_genesis_block(&mut self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn get_last_block(&self) -> &Block {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn add_block(&mut self, block: Block) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn mine_block(&mut self) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn add_node_peer(&mut self, node: NodePeer) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn add_new_transaction(&mut self, transaction: Transaction) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn proof_of_work(&self, block: &mut Block) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub async fn announce_new_block(&self) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub async fn consensus(&mut self) -> Result<bool, Box<dyn Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn is_valid_proof(&self, block: &Block, block_hash: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 265 |     pub fn check_chain_validity(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | /     HttpServer::new(move || App::new().route("/", web::get().to(Client::handle_index)))
[INFO] [stdout] 20 | |         .bind("127.0.0.1:8000")
[INFO] [stdout] 21 | |         .unwrap()
[INFO] [stdout] 22 | |         .run()
[INFO] [stdout] 23 | |         .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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let _ = HttpServer::new(move || App::new().route("/", web::get().to(Client::handle_index)))
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     start_client().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] 24 |     let _ = start_client().await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 29.24s
[INFO] running `Command { std: "docker" "inspect" "63be961ea363ababbbc57323e8f7fc4f8da65c3702b4663d05cfed39a26931a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63be961ea363ababbbc57323e8f7fc4f8da65c3702b4663d05cfed39a26931a3", kill_on_drop: false }`
[INFO] [stdout] 63be961ea363ababbbc57323e8f7fc4f8da65c3702b4663d05cfed39a26931a3
