[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 against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthisisnohi%2FRustBlockChain" "/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/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thisisnohi/RustBlockChain on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5f672f65f9dd4b89495fe5f68f2656c51b2152f0df07b18971f6fab8eff0bc3 [INFO] running `Command { std: "docker" "start" "-a" "f5f672f65f9dd4b89495fe5f68f2656c51b2152f0df07b18971f6fab8eff0bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5f672f65f9dd4b89495fe5f68f2656c51b2152f0df07b18971f6fab8eff0bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f672f65f9dd4b89495fe5f68f2656c51b2152f0df07b18971f6fab8eff0bc3", kill_on_drop: false }` [INFO] [stdout] f5f672f65f9dd4b89495fe5f68f2656c51b2152f0df07b18971f6fab8eff0bc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c30a686508e4e2606265943880758ba9417c18f27e7ef88ca7c132fb802a8cf [INFO] running `Command { std: "docker" "start" "-a" "0c30a686508e4e2606265943880758ba9417c18f27e7ef88ca7c132fb802a8cf", 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 serde v1.0.213 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling rustls v0.23.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling openssl-src v300.4.0+3.4.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustix v0.38.37 [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 hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking impl-more v0.1.8 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [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 thiserror-impl v1.0.65 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking zstd v0.13.2 [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 actix-server v2.5.0 [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] [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: 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 `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: 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, [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: 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: 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: 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] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [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, [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 sqlx-core v0.8.2 [INFO] [stderr] Checking sqlx-postgres v0.8.2 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stdout] error: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-1.5.0/src/proto/h2/mod.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | impossible: Impossible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this field contains `Impossible`, which is not inhabited, and makes it not a breaking change to become non-zero-sized in the future. [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0c30a686508e4e2606265943880758ba9417c18f27e7ef88ca7c132fb802a8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c30a686508e4e2606265943880758ba9417c18f27e7ef88ca7c132fb802a8cf", kill_on_drop: false }` [INFO] [stdout] 0c30a686508e4e2606265943880758ba9417c18f27e7ef88ca7c132fb802a8cf