[INFO] cloning repository https://github.com/thisisnohi/RustBlockChain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thisisnohi/RustBlockChain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisnohi%2FRustBlockChain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisnohi%2FRustBlockChain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c8509a11d6d3f39947c5f264c53352d0407946b
[INFO] checking thisisnohi/RustBlockChain/9c8509a11d6d3f39947c5f264c53352d0407946b against master#df1ae0f7dd168513de2d89beb2cb7a95d4fdc118 for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisnohi%2FRustBlockChain" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thisisnohi/RustBlockChain
[INFO] finished tweaking git repo https://github.com/thisisnohi/RustBlockChain
[INFO] tweaked toml for git repo https://github.com/thisisnohi/RustBlockChain written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thisisnohi/RustBlockChain on toolchain df1ae0f7dd168513de2d89beb2cb7a95d4fdc118
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thisisnohi/RustBlockChain 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" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-core v0.8.2
[INFO] [stderr]   Downloaded thiserror-impl v1.0.65
[INFO] [stderr]   Downloaded thiserror v1.0.65
[INFO] [stderr]   Downloaded serde_derive v1.0.213
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.2
[INFO] [stderr]   Downloaded serde v1.0.213
[INFO] [stderr]   Downloaded cc v1.1.30
[INFO] [stderr]   Downloaded sqlx-macros v0.8.2
[INFO] [stderr]   Downloaded sha256 v1.5.0
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.2
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.2
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.2
[INFO] [stderr]   Downloaded sqlx v0.8.2
[INFO] [stderr]   Downloaded webpki-roots v0.26.6
[INFO] [stderr]   Downloaded hyper-util v0.1.9
[INFO] [stderr]   Downloaded reqwest v0.12.8
[INFO] [stderr]   Downloaded hyper v1.5.0
[INFO] [stderr]   Downloaded rustls v0.23.15
[INFO] [stderr]   Downloaded regex v1.11.0
[INFO] [stderr]   Downloaded libc v0.2.160
[INFO] [stderr]   Downloaded actix-cors v0.7.0
[INFO] [stderr]   Downloaded openssl-src v300.4.0+3.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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] 6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e
[INFO] running `Command { std: "docker" "start" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e", 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" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e", 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" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e" "/opt/rustwide/cargo-home/bin/cargo" "+df1ae0f7dd168513de2d89beb2cb7a95d4fdc118" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.160
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]     Checking hashbrown v0.15.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling rustls v0.23.15
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]     Checking unicode-bidi v0.3.17
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling cc v1.1.30
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling openssl-src v300.4.0+3.4.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking bytestring v1.3.1
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking flate2 v1.0.34
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]     Checking regex v1.11.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking impl-more v0.1.8
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking sha256 v1.5.0
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-stream v0.1.16
[INFO] [stderr]     Checking block_two v0.1.0 (/opt/rustwide/workdir/block_two)
[INFO] [stderr]     Checking block_one v0.1.0 (/opt/rustwide/workdir/block_one)
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stdout] warning: associated function `is_valid_block` is never used
[INFO] [stdout]   --> block_two/src/lib.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn is_valid_block(new_block: &Block) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> block_two/src/lib.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         new_block.index >= 0
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> block_two/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[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] 65 |         let _ = f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> block_two/src/lib.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         f.write_str(&*format!("index[{}]\n", self.index));
[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] 66 |         let _ = f.write_str(&*format!("index[{}]\n", self.index));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> block_two/src/lib.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[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] 67 |         let _ = f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid_block` is never used
[INFO] [stdout]   --> block_two/src/lib.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn is_valid_block(new_block: &Block) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> block_two/src/lib.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         new_block.index >= 0
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> block_two/src/lib.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[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] 65 |         let _ = f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> block_two/src/lib.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         f.write_str(&*format!("index[{}]\n", self.index));
[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] 66 |         let _ = f.write_str(&*format!("index[{}]\n", self.index));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> block_two/src/lib.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[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] 67 |         let _ = f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> block_two/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Display;
[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: `std::fmt::Display`
[INFO] [stdout]  --> block_two/src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]  --> block_one/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Block {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 6 |     timestamp: DateTime<Local>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Block` 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: unused `Result` that must be used
[INFO] [stdout]   --> block_one/src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[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] 49 |         let _ = f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockChain` should have a snake case name
[INFO] [stdout]   --> block_one/src/main.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut blockChain = BlockChain::init();
[INFO] [stdout]    |             ^^^^^^^^^^ help: convert the identifier to snake case: `block_chain`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timestamp` is never read
[INFO] [stdout]  --> block_one/src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Block {
[INFO] [stdout]   |        ----- field in this struct
[INFO] [stdout] 6 |     timestamp: DateTime<Local>,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Block` 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: unused `Result` that must be used
[INFO] [stdout]   --> block_one/src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[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] 49 |         let _ = f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockChain` should have a snake case name
[INFO] [stdout]   --> block_one/src/main.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut blockChain = BlockChain::init();
[INFO] [stdout]    |             ^^^^^^^^^^ help: convert the identifier to snake case: `block_chain`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking sqlx-core v0.8.2
[INFO] [stderr]     Checking sqlx-postgres v0.8.2
[INFO] [stderr]     Checking hyper v1.5.0
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking hyper-util v0.1.9
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]     Checking actix-cors v0.7.0
[INFO] [stderr]     Checking sqlx v0.8.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.8
[INFO] [stderr]     Checking webservice v0.1.0 (/opt/rustwide/workdir/webserver)
[INFO] [stdout] warning: unused imports: `info` and `warn`
[INFO] [stdout]  --> webserver/src/main.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, info, log, log_enabled, trace, warn, Level};
[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: `info` and `warn`
[INFO] [stdout]  --> webserver/src/main.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{debug, info, log, log_enabled, trace, warn, Level};
[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 doc comment
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | /// lazy_static 宏创建一个全局可访问的app_state：
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> webserver/src/bin/block-chain.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, info, 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: `sqlx::postgres::PgPoolOptions`
[INFO] [stdout]  --> webserver/src/bin/block-chain.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> webserver/src/bin/block-chain.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ptr::null;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> webserver/src/bin/../errors.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{error, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db_access::block_chain_db::all_blocks`
[INFO] [stdout]  --> webserver/src/bin/../handles/block_chain_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::db_access::block_chain_db::all_blocks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::AppState`
[INFO] [stdout]  --> webserver/src/bin/../handles/block_chain_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::state::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if (BlockChain::is_valid_new_block(&form.block, &chain.get_last_block().unwrap())) {
[INFO] [stdout]    |        ^                                                                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -     if (BlockChain::is_valid_new_block(&form.block, &chain.get_last_block().unwrap())) {
[INFO] [stdout] 70 +     if BlockChain::is_valid_new_block(&form.block, &chain.get_last_block().unwrap()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::AppState`
[INFO] [stdout]  --> webserver/src/bin/../handles/general.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::state::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> webserver/src/bin/../handles/general.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{web, HttpResponse};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db_access::block_chain_db::all_blocks`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::db_access::block_chain_db::all_blocks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::block_chain_model::BlockChain`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::block_chain_model::BlockChain;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::block_form::BlockForm`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::block_form::BlockForm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::AppState`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::state::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> webserver/src/bin/../handles/node_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> webserver/src/bin/../models/block_chain_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::block_chain_model::BlockChain`
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::models::block_chain_model::BlockChain;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | /// lazy_static 宏创建一个全局可访问的app_state：
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]    |
[INFO] [stdout]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug` and `warn`
[INFO] [stdout]  --> webserver/src/bin/block-chain.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, info, 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: `sqlx::postgres::PgPoolOptions`
[INFO] [stdout]  --> webserver/src/bin/block-chain.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sqlx::postgres::PgPoolOptions;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> webserver/src/bin/block-chain.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ptr::null;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> webserver/src/bin/../errors.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{error, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db_access::block_chain_db::all_blocks`
[INFO] [stdout]  --> webserver/src/bin/../handles/block_chain_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::db_access::block_chain_db::all_blocks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::AppState`
[INFO] [stdout]  --> webserver/src/bin/../handles/block_chain_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::state::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if (BlockChain::is_valid_new_block(&form.block, &chain.get_last_block().unwrap())) {
[INFO] [stdout]    |        ^                                                                             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -     if (BlockChain::is_valid_new_block(&form.block, &chain.get_last_block().unwrap())) {
[INFO] [stdout] 70 +     if BlockChain::is_valid_new_block(&form.block, &chain.get_last_block().unwrap()) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::AppState`
[INFO] [stdout]  --> webserver/src/bin/../handles/general.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::state::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> webserver/src/bin/../handles/general.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{web, HttpResponse};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::db_access::block_chain_db::all_blocks`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::db_access::block_chain_db::all_blocks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::block_chain_model::BlockChain`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::block_chain_model::BlockChain;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::block_form::BlockForm`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::block_form::BlockForm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::AppState`
[INFO] [stdout]  --> webserver/src/bin/../handles/node_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::state::AppState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> webserver/src/bin/../handles/node_service.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::info`
[INFO] [stdout]  --> webserver/src/bin/../models/block_chain_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::info;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::block_chain_model::BlockChain`
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use crate::models::block_chain_model::BlockChain;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]    --> webserver/src/bin/../handles/block_chain_service.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]  --> webserver/src/bin/../handles/general.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/node_service.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/block_chain_service.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/node_service.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]    --> webserver/src/bin/../handles/block_chain_service.rs:114:21
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]  --> webserver/src/bin/../handles/general.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/node_service.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[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]   --> webserver/src/bin/../handles/node_service.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut app_state = GLOBAL_APP_STATE.lock().unwrap().clone();
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cloned_broad_block` is assigned to, but never used
[INFO] [stdout]    --> webserver/src/bin/../handles/block_chain_service.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let cloned_broad_block;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cloned_broad_block` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cloned_broad_block` is never read
[INFO] [stdout]    --> webserver/src/bin/../handles/block_chain_service.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 cloned_broad_block = broad_block.clone();
[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: variable `cloned_broad_block` is assigned to, but never used
[INFO] [stdout]    --> webserver/src/bin/../handles/block_chain_service.rs:110:17
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let cloned_broad_block;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_cloned_broad_block` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cloned_broad_block` is never read
[INFO] [stdout]    --> webserver/src/bin/../handles/block_chain_service.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 cloned_broad_block = broad_block.clone();
[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: `cors`
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let cors = Cors::default()
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `LoadError`, and `NodeError` are never constructed
[INFO] [stdout]   --> webserver/src/bin/../errors.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum MyError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     LoadError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     NodeExist(String),
[INFO] [stdout] 15 |     NodeError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` 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: function `last_block` is never used
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub async fn last_block() -> Result<HttpResponse, MyError> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_valid_chain` and `replace_chain` are never used
[INFO] [stdout]    --> webserver/src/bin/../handles/block_chain_service.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl BlockChain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn is_valid_chain(blocks: &Vec<Block>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn replace_chain(&mut self, blocks: Vec<Block>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `all_blocks` is never used
[INFO] [stdout]  --> webserver/src/bin/../dbaccess/block_chain_db.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn all_blocks() -> Result<Vec<Block>, MyError> {
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_block_chain` is never used
[INFO] [stdout]   --> webserver/src/bin/../dbaccess/block_chain_db.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn init_block_chain() -> Result<Vec<Block>, MyError> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid_block` is never used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn is_valid_block(new_block: &Block) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         new_block.index >= 0
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[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] 70 |         let _ = f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         f.write_str(&*format!("index[{}]\n", self.index));
[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] 71 |         let _ = f.write_str(&*format!("index[{}]\n", self.index));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[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] 72 |         let _ = f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cors`
[INFO] [stdout]   --> webserver/src/bin/block-chain.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let cors = Cors::default()
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `LoadError`, and `NodeError` are never constructed
[INFO] [stdout]   --> webserver/src/bin/../errors.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum MyError {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 13 |     LoadError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     NodeExist(String),
[INFO] [stdout] 15 |     NodeError(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` 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: function `last_block` is never used
[INFO] [stdout]   --> webserver/src/bin/../handles/block_chain_service.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub async fn last_block() -> Result<HttpResponse, MyError> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_valid_chain` and `replace_chain` are never used
[INFO] [stdout]    --> webserver/src/bin/../handles/block_chain_service.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl BlockChain {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn is_valid_chain(blocks: &Vec<Block>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn replace_chain(&mut self, blocks: Vec<Block>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `all_blocks` is never used
[INFO] [stdout]  --> webserver/src/bin/../dbaccess/block_chain_db.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub async fn all_blocks() -> Result<Vec<Block>, MyError> {
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_block_chain` is never used
[INFO] [stdout]   --> webserver/src/bin/../dbaccess/block_chain_db.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn init_block_chain() -> Result<Vec<Block>, MyError> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `is_valid_block` is never used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn is_valid_block(new_block: &Block) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         new_block.index >= 0
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[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] 70 |         let _ = f.write_str(&*format!("prev_block_hash[{}]\n", self.prev_block_hash));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         f.write_str(&*format!("index[{}]\n", self.index));
[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] 71 |         let _ = f.write_str(&*format!("index[{}]\n", self.index));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> webserver/src/bin/../models/block_model.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[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] 72 |         let _ = f.write_str(&*format!("timestamp[{}]\n", self.timestamp));
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 49s
[INFO] running `Command { std: "docker" "inspect" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e", kill_on_drop: false }`
[INFO] [stdout] 6609bfa7fe50eb3f9f3fc4fe34c2f929ab6c02e535111e6011f1b72fb107125e
