[INFO] cloning repository https://github.com/exbucks/blockchain-fromscratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exbucks/blockchain-fromscratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/exbucks/blockchain-fromscratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exbucks/blockchain-fromscratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/exbucks/blockchain-fromscratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exbucks/blockchain-fromscratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d115234340f2f76266dad89603588bb2e690ba56 [INFO] checking exbucks/blockchain-fromscratch against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexbucks%2Fblockchain-fromscratch" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/exbucks/blockchain-fromscratch on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/exbucks/blockchain-fromscratch [INFO] finished tweaking git repo https://github.com/exbucks/blockchain-fromscratch [INFO] tweaked toml for git repo https://github.com/exbucks/blockchain-fromscratch written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/exbucks/blockchain-fromscratch 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fd83068caea8c0d26dfd7deeb84380f7f3e4f329919318494ecebdfca8771d7 [INFO] running `Command { std: "docker" "start" "-a" "3fd83068caea8c0d26dfd7deeb84380f7f3e4f329919318494ecebdfca8771d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fd83068caea8c0d26dfd7deeb84380f7f3e4f329919318494ecebdfca8771d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd83068caea8c0d26dfd7deeb84380f7f3e4f329919318494ecebdfca8771d7", kill_on_drop: false }` [INFO] [stdout] 3fd83068caea8c0d26dfd7deeb84380f7f3e4f329919318494ecebdfca8771d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da269d8c068802a8395023fd8944bf0fac27e11a2da300708bc4d810ff3d43e2 [INFO] running `Command { std: "docker" "start" "-a" "da269d8c068802a8395023fd8944bf0fac27e11a2da300708bc4d810ff3d43e2", kill_on_drop: false }` [INFO] [stderr] Checking diy-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Block` and `Header` [INFO] [stdout] --> src/c2_blockchain/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub use p6_rich_state::{Block, Header}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash` [INFO] [stdout] --> src/c2_blockchain/p1_header_chain.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::hash; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::hash; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::hash; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::hash; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::hash; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hash` [INFO] [stdout] --> src/c2_blockchain/p6_rich_state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::hash; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/c3_consensus/p4_even_only.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Header` [INFO] [stdout] --> src/c2_blockchain/mod.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub use p6_rich_state::{Block, Header}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/c3_consensus/p4_even_only.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / fn change_authorities( [INFO] [stdout] 47 | | fork_height: u64, [INFO] [stdout] 48 | | initial_authorities: Vec, [INFO] [stdout] 49 | | final_authorities: Vec, [INFO] [stdout] 50 | | ) -> impl Consensus { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | ) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fork_height: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_authorities` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | initial_authorities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_authorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_authorities` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | final_authorities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_authorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / fn change_difficulty( [INFO] [stdout] 56 | | fork_height: u64, [INFO] [stdout] 57 | | initial_difficulty: u64, [INFO] [stdout] 58 | | final_difficulty: u64, [INFO] [stdout] 59 | | ) -> impl Consensus { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fork_height: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_difficulty` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | initial_difficulty: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_difficulty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_difficulty` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | final_difficulty: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_difficulty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | fn even_after_given_height(fork_height: u64) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | fn even_after_given_height(fork_height: u64) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | fn even_after_given_height(fork_height: u64) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / fn pow_to_poa( [INFO] [stdout] 81 | | fork_height: u64, [INFO] [stdout] 82 | | difficulty: u64, [INFO] [stdout] 83 | | authorities: Vec, [INFO] [stdout] 84 | | ) -> impl Consensus { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | fork_height: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difficulty` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | difficulty: u64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorities` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | authorities: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / fn change_authorities( [INFO] [stdout] 47 | | fork_height: u64, [INFO] [stdout] 48 | | initial_authorities: Vec, [INFO] [stdout] 49 | | final_authorities: Vec, [INFO] [stdout] 50 | | ) -> impl Consensus { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | ) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fork_height: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_authorities` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | initial_authorities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_authorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_authorities` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | final_authorities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_authorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / fn change_difficulty( [INFO] [stdout] 56 | | fork_height: u64, [INFO] [stdout] 57 | | initial_difficulty: u64, [INFO] [stdout] 58 | | final_difficulty: u64, [INFO] [stdout] 59 | | ) -> impl Consensus { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fork_height: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_difficulty` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | initial_difficulty: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_difficulty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_difficulty` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | final_difficulty: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_difficulty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | fn even_after_given_height(fork_height: u64) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:70:70 [INFO] [stdout] | [INFO] [stdout] 70 | fn even_after_given_height(fork_height: u64) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | fn even_after_given_height(fork_height: u64) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / fn pow_to_poa( [INFO] [stdout] 81 | | fork_height: u64, [INFO] [stdout] 82 | | difficulty: u64, [INFO] [stdout] 83 | | authorities: Vec, [INFO] [stdout] 84 | | ) -> impl Consensus { [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Consensus` will fail [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:84:6 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> impl Consensus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fork_height` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | fork_height: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fork_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `difficulty` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | difficulty: u64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `authorities` [INFO] [stdout] --> src/c3_consensus/p6_forking.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | authorities: Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_authorities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(starting_state: &bool, t: &()) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(starting_state: &bool, t: &()) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn next_state(starting_state: &TwoSwitches, t: &Toggle) -> TwoSwitches { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | fn next_state(starting_state: &TwoSwitches, t: &Toggle) -> TwoSwitches { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p2_laundry_machine.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn next_state(starting_state: &ClothesState, t: &ClothesAction) -> ClothesState { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p2_laundry_machine.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn next_state(starting_state: &ClothesState, t: &ClothesAction) -> ClothesState { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p3_atm.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p3_atm.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p4_accounted_currency.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn next_state(starting_state: &Balances, t: &AccountingTransaction) -> Balances { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p4_accounted_currency.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | fn next_state(starting_state: &Balances, t: &AccountingTransaction) -> Balances { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p5_digital_cash.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p5_digital_cash.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p1_header_chain.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsic` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn child(&self, extrinsic: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn build_valid_chain(n: u64) -> Vec
{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsic` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn child(&self, extrinsic: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn verify_sub_chain_even(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | fn verify_sub_chain_odd(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsics_root` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn child(&self, extrinsics_root: Hash, state: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn child(&self, extrinsics_root: Hash, state: u64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn verify_child(&self, child: &Header) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsics` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn child(&self, extrinsics: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn verify_sub_chain(&self, chain: &[Block]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | fn build_invalid_child_block_with_valid_header(parent: &Header) -> Block { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_1` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_2` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | fn mine_extra_hard(block: &mut Block, threshold: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | fn mine_extra_hard(block: &mut Block, threshold: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_1` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_2` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_1` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_2` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_state_root` [INFO] [stdout] --> src/c2_blockchain/p6_rich_state.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | fn genesis(genesis_state_root: Hash) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_state_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsics_root` [INFO] [stdout] --> src/c2_blockchain/p6_rich_state.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | fn child(&self, extrinsics_root: Hash, state_root: Hash) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diy-blockchain` (lib); 63 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/1f5783cbeb5da8b38566d718631d016891e9c912/bin/rustc --crate-name diy_blockchain --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3a823535c72e1148 -C extra-filename=-c2fbe91aa0ca7d2b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 0) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(starting_state: &bool, t: &()) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn next_state(starting_state: &bool, t: &()) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | fn next_state(starting_state: &TwoSwitches, t: &Toggle) -> TwoSwitches { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p1_switches.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | fn next_state(starting_state: &TwoSwitches, t: &Toggle) -> TwoSwitches { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p2_laundry_machine.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn next_state(starting_state: &ClothesState, t: &ClothesAction) -> ClothesState { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p2_laundry_machine.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | fn next_state(starting_state: &ClothesState, t: &ClothesAction) -> ClothesState { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p3_atm.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p3_atm.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 60 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p4_accounted_currency.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | fn next_state(starting_state: &Balances, t: &AccountingTransaction) -> Balances { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p4_accounted_currency.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | fn next_state(starting_state: &Balances, t: &AccountingTransaction) -> Balances { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_state` [INFO] [stdout] --> src/c1_state_machine/p5_digital_cash.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/c1_state_machine/p5_digital_cash.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | fn next_state(starting_state: &Self::State, t: &Self::Transition) -> Self::State { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p1_header_chain.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsic` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn child(&self, extrinsic: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/c2_blockchain/p2_extrinsic_state.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | fn build_valid_chain(n: u64) -> Vec
{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsic` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | fn child(&self, extrinsic: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | fn verify_sub_chain_even(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p3_consensus.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | fn verify_sub_chain_odd(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsics_root` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn child(&self, extrinsics_root: Hash, state: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn child(&self, extrinsics_root: Hash, state: u64) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | fn verify_child(&self, child: &Header) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | fn verify_sub_chain(&self, chain: &[Header]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extrinsics` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn child(&self, extrinsics: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn verify_sub_chain(&self, chain: &[Block]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/c2_blockchain/p4_batched_extrinsics.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | fn build_invalid_child_block_with_valid_header(parent: &Header) -> Block { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_1` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_2` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | fn mine_extra_hard(block: &mut Block, threshold: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | fn mine_extra_hard(block: &mut Block, threshold: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_1` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_2` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_1` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_2` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | fn first_chain_is_better(chain_1: &[Header], chain_2: &[Header]) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate_chains` [INFO] [stdout] --> src/c2_blockchain/p5_fork_choice.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | fn best_chain<'a>(candidate_chains: &[&'a [Header]]) -> &'a [Header] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candidate_chains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genesis_state_root` [INFO] [stdout] --> src/c2_blockchain/p6_rich_state.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | fn genesis(genesis_state_root: Hash) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_state_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diy-blockchain` (lib test); 56 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/1f5783cbeb5da8b38566d718631d016891e9c912/bin/rustc --crate-name diy_blockchain --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=aa7867b094855bf3 -C extra-filename=-26ce6d20ee6cce9c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 0) [INFO] running `Command { std: "docker" "inspect" "da269d8c068802a8395023fd8944bf0fac27e11a2da300708bc4d810ff3d43e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da269d8c068802a8395023fd8944bf0fac27e11a2da300708bc4d810ff3d43e2", kill_on_drop: false }` [INFO] [stdout] da269d8c068802a8395023fd8944bf0fac27e11a2da300708bc4d810ff3d43e2