[INFO] cloning repository https://github.com/Polkadot-Blockchain-Academy/blockchain-from-scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Polkadot-Blockchain-Academy/blockchain-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolkadot-Blockchain-Academy%2Fblockchain-from-scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolkadot-Blockchain-Academy%2Fblockchain-from-scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ece3aef9f5d4d2314a20dfa86809dcb067aa22b
[INFO] testing Polkadot-Blockchain-Academy/blockchain-from-scratch against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPolkadot-Blockchain-Academy%2Fblockchain-from-scratch" "/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/Polkadot-Blockchain-Academy/blockchain-from-scratch
[INFO] finished tweaking git repo https://github.com/Polkadot-Blockchain-Academy/blockchain-from-scratch
[INFO] tweaked toml for git repo https://github.com/Polkadot-Blockchain-Academy/blockchain-from-scratch written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Polkadot-Blockchain-Academy/blockchain-from-scratch on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Polkadot-Blockchain-Academy/blockchain-from-scratch 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c
[INFO] running `Command { std: "docker" "start" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c", 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" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling blockchain-from-scratch 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hash`
[INFO] [stdout]  --> src/c2_blockchain/p1_header_chain.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | 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:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::hash;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `!: Consensus` is not satisfied
[INFO] [stdout]   --> src/c3_consensus/p1_pow.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn moderate_difficulty_pow() -> impl Consensus {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^ the trait `Consensus` is not implemented for `!`
[INFO] [stdout] 36 |     todo!("Exercise 3")
[INFO] [stdout]    |     ------------------- return type was inferred to be `!` here
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `Consensus`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 | impl Consensus for () {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ `()`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p1_pow.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Consensus for PoW {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^ `PoW`
[INFO] [stdout]    = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]    = help: you might have intended to use the type `()` here instead
[INFO] [stdout] help: `!` can be coerced to any type; consider casting it to a concrete type that implements the trait
[INFO] [stdout]    |
[INFO] [stdout] 36 |     todo!("Exercise 3") as /* Type */
[INFO] [stdout]    |                         +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `!: Consensus` is not satisfied
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:51:6
[INFO] [stdout]    |
[INFO] [stdout] 51 | ) -> impl Consensus {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^ the trait `Consensus` is not implemented for `!`
[INFO] [stdout] 52 |     todo!("Exercise 3")
[INFO] [stdout]    |     ------------------- return type was inferred to be `!` here
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `Consensus`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 |   impl Consensus for () {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ `()`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p6_forking.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<D, B, A> Consensus for Forked<D, B, A>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     D: Clone + core::fmt::Debug + Eq + PartialEq + std::hash::Hash,
[INFO] [stdout] 24 | |     B: Consensus,
[INFO] [stdout] 25 | |     A: Consensus,
[INFO] [stdout] 26 | |     B::Digest: Into<D>,
[INFO] [stdout] 27 | |     A::Digest: Into<D>,
[INFO] [stdout]    | |_______________________^ `Forked<D, B, A>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p1_pow.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 |   impl Consensus for PoW {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ `PoW`
[INFO] [stdout]    = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]    = help: you might have intended to use the type `()` here instead
[INFO] [stdout] help: `!` can be coerced to any type; consider casting it to a concrete type that implements the trait
[INFO] [stdout]    |
[INFO] [stdout] 52 |     todo!("Exercise 3") as /* Type */
[INFO] [stdout]    |                         +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `!: Consensus` is not satisfied
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 | ) -> impl Consensus {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^ the trait `Consensus` is not implemented for `!`
[INFO] [stdout] 61 |     todo!("Exercise 4")
[INFO] [stdout]    |     ------------------- return type was inferred to be `!` here
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `Consensus`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 |   impl Consensus for () {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ `()`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p6_forking.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<D, B, A> Consensus for Forked<D, B, A>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     D: Clone + core::fmt::Debug + Eq + PartialEq + std::hash::Hash,
[INFO] [stdout] 24 | |     B: Consensus,
[INFO] [stdout] 25 | |     A: Consensus,
[INFO] [stdout] 26 | |     B::Digest: Into<D>,
[INFO] [stdout] 27 | |     A::Digest: Into<D>,
[INFO] [stdout]    | |_______________________^ `Forked<D, B, A>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p1_pow.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 |   impl Consensus for PoW {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ `PoW`
[INFO] [stdout]    = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]    = help: you might have intended to use the type `()` here instead
[INFO] [stdout] help: `!` can be coerced to any type; consider casting it to a concrete type that implements the trait
[INFO] [stdout]    |
[INFO] [stdout] 61 |     todo!("Exercise 4") as /* Type */
[INFO] [stdout]    |                         +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `!: Consensus` is not satisfied
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:72:70
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn even_after_given_height<Original: Consensus>(fork_height: u64) -> impl Consensus {
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^^^^ the trait `Consensus` is not implemented for `!`
[INFO] [stdout] 73 |     todo!("Exercise 5")
[INFO] [stdout]    |     ------------------- return type was inferred to be `!` here
[INFO] [stdout]    |
[INFO] [stdout] help: the following other types implement trait `Consensus`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:90:1
[INFO] [stdout]    |
[INFO] [stdout] 90 |   impl Consensus for () {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^ `()`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p6_forking.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<D, B, A> Consensus for Forked<D, B, A>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     D: Clone + core::fmt::Debug + Eq + PartialEq + std::hash::Hash,
[INFO] [stdout] 24 | |     B: Consensus,
[INFO] [stdout] 25 | |     A: Consensus,
[INFO] [stdout] 26 | |     B::Digest: Into<D>,
[INFO] [stdout] 27 | |     A::Digest: Into<D>,
[INFO] [stdout]    | |_______________________^ `Forked<D, B, A>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/c3_consensus/p1_pow.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 |   impl Consensus for PoW {
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^ `PoW`
[INFO] [stdout]    = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]    = help: you might have intended to use the type `()` here instead
[INFO] [stdout] help: `!` can be coerced to any type; consider casting it to a concrete type that implements the trait
[INFO] [stdout]    |
[INFO] [stdout] 73 |     todo!("Exercise 5") as /* Type */
[INFO] [stdout]    |                         +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `!: Consensus` is not satisfied
[INFO] [stdout]    --> src/c3_consensus/p6_forking.rs:108:6
[INFO] [stdout]     |
[INFO] [stdout] 108 | ) -> impl Consensus {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ the trait `Consensus` is not implemented for `!`
[INFO] [stdout] 109 |     todo!("Exercise 6")
[INFO] [stdout]     |     ------------------- return type was inferred to be `!` here
[INFO] [stdout]     |
[INFO] [stdout] help: the following other types implement trait `Consensus`
[INFO] [stdout]    --> src/c3_consensus/mod.rs:90:1
[INFO] [stdout]     |
[INFO] [stdout]  90 |   impl Consensus for () {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^ `()`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c3_consensus/p6_forking.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout]  21 | / impl<D, B, A> Consensus for Forked<D, B, A>
[INFO] [stdout]  22 | | where
[INFO] [stdout]  23 | |     D: Clone + core::fmt::Debug + Eq + PartialEq + std::hash::Hash,
[INFO] [stdout]  24 | |     B: Consensus,
[INFO] [stdout]  25 | |     A: Consensus,
[INFO] [stdout]  26 | |     B::Digest: Into<D>,
[INFO] [stdout]  27 | |     A::Digest: Into<D>,
[INFO] [stdout]     | |_______________________^ `Forked<D, B, A>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/c3_consensus/p1_pow.rs:16:1
[INFO] [stdout]     |
[INFO] [stdout]  16 |   impl Consensus for PoW {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^ `PoW`
[INFO] [stdout]     = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
[INFO] [stdout]     = help: you might have intended to use the type `()` here instead
[INFO] [stdout] help: `!` can be coerced to any type; consider casting it to a concrete type that implements the trait
[INFO] [stdout]     |
[INFO] [stdout] 109 |     todo!("Exercise 6") as /* Type */
[INFO] [stdout]     |                         +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/c2_blockchain/p3_consensus.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | const THRESHOLD: u64 = u64::max_value() / 100;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl u64>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/c2_blockchain/p5_fork_choice.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 | const THRESHOLD: u64 = u64::max_value() / 100;
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `starting_state`
[INFO] [stdout]   --> src/c1_state_machine/p1_switches.rs:17:16
[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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/c1_state_machine/p1_switches.rs:17:39
[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:16
[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:46
[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:16
[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:47
[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:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 |     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:61:46
[INFO] [stdout]    |
[INFO] [stdout] 61 |     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:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |     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:43:43
[INFO] [stdout]    |
[INFO] [stdout] 43 |     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:90:16
[INFO] [stdout]    |
[INFO] [stdout] 90 |     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:90:46
[INFO] [stdout]    |
[INFO] [stdout] 90 |     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:39:29
[INFO] [stdout]    |
[INFO] [stdout] 39 |     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:41:18
[INFO] [stdout]    |
[INFO] [stdout] 41 |     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:51:29
[INFO] [stdout]    |
[INFO] [stdout] 51 |     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:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn build_valid_chain(n: u64) -> Vec<Header> {
[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:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |     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:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |     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:65:34
[INFO] [stdout]    |
[INFO] [stdout] 65 |     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:71:33
[INFO] [stdout]    |
[INFO] [stdout] 71 |     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:22
[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:45
[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:25
[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:29
[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:22
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn child(&self, extrinsics: Vec<u64>) -> 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:33
[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:20
[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:27
[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:47
[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:20
[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:27
[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:47
[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:20
[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:27
[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:47
[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:20
[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:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |     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:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     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] [stdout] warning: unused variable: `state_root`
[INFO] [stdout]   --> src/c2_blockchain/p6_rich_state.rs:59:41
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn child(&self, extrinsics_root: Hash, state_root: Hash) -> Self {
[INFO] [stdout]    |                                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]   --> src/c2_blockchain/p6_rich_state.rs:64:25
[INFO] [stdout]    |
[INFO] [stdout] 64 |     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/p6_rich_state.rs:69:29
[INFO] [stdout]    |
[INFO] [stdout] 69 |     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: `genesis_state`
[INFO] [stdout]   --> src/c2_blockchain/p6_rich_state.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn genesis(genesis_state: &State) -> Self {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_state`
[INFO] [stdout]   --> src/c2_blockchain/p6_rich_state.rs:98:22
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn child(&self, pre_state: &State, extrinsics: Vec<u64>) -> Self {
[INFO] [stdout]    |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extrinsics`
[INFO] [stdout]   --> src/c2_blockchain/p6_rich_state.rs:98:41
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn child(&self, pre_state: &State, extrinsics: Vec<u64>) -> Self {
[INFO] [stdout]    |                                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_state`
[INFO] [stdout]    --> src/c2_blockchain/p6_rich_state.rs:107:33
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn verify_sub_chain(&self, pre_state: &State, chain: &[Block]) -> bool {
[INFO] [stdout]     |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chain`
[INFO] [stdout]    --> src/c2_blockchain/p6_rich_state.rs:107:52
[INFO] [stdout]     |
[INFO] [stdout] 107 |     pub fn verify_sub_chain(&self, pre_state: &State, 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/p6_rich_state.rs:123:48
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn build_invalid_child_block_with_valid_header(parent: &Header, pre_state: &State) -> Block {
[INFO] [stdout]     |                                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_state`
[INFO] [stdout]    --> src/c2_blockchain/p6_rich_state.rs:123:65
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn build_invalid_child_block_with_valid_header(parent: &Header, pre_state: &State) -> Block {
[INFO] [stdout]     |                                                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p1_pow.rs:21:39
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn validate(&self, _: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p1_pow.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn seal(&self, _: &Self::Digest, partial_header: Header<()>) -> Option<Header<Self::Digest>> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p2_dictator.rs:22:39
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn validate(&self, _: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p2_dictator.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |     fn seal(&self, _: &Self::Digest, partial_header: Header<()>) -> Option<Header<Self::Digest>> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:23:51
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:29:3
[INFO] [stdout]    |
[INFO] [stdout] 29 |         parent_digest: &Self::Digest,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 |         partial_header: Header<()>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:46:51
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 |         parent_digest: &Self::Digest,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:53:3
[INFO] [stdout]    |
[INFO] [stdout] 53 |         partial_header: Header<()>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:84:51
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:90:3
[INFO] [stdout]    |
[INFO] [stdout] 90 |         parent_digest: &Self::Digest,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p3_poa.rs:91:3
[INFO] [stdout]    |
[INFO] [stdout] 91 |         partial_header: Header<()>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p4_even_only.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p4_even_only.rs:20:51
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p4_even_only.rs:26:3
[INFO] [stdout]    |
[INFO] [stdout] 26 |         parent_digest: &Self::Digest,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p4_even_only.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |         partial_header: Header<()>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `header`
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:31:51
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn validate(&self, parent_digest: &Self::Digest, header: &Header<Self::Digest>) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 |         parent_digest: &Self::Digest,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/p6_forking.rs:38:3
[INFO] [stdout]    |
[INFO] [stdout] 38 |         partial_header: Header<()>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parent_digest`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:74:3
[INFO] [stdout]    |
[INFO] [stdout] 74 |         parent_digest: &Self::Digest,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_digest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chain`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:75:3
[INFO] [stdout]    |
[INFO] [stdout] 75 |         chain: &[Header<Self::Digest>],
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `partial_header`
[INFO] [stdout]   --> src/c3_consensus/mod.rs:99:35
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn seal(&self, _: &Self::Digest, partial_header: Header<()>) -> Option<Header<Self::Digest>> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `genesis_state_root`
[INFO] [stdout]   --> src/c4_framework/mod.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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: `state_root`
[INFO] [stdout]   --> src/c4_framework/mod.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn child(&self, state_root: Hash, extrinsics_root: Hash) -> Self {
[INFO] [stdout]    |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extrinsics_root`
[INFO] [stdout]   --> src/c4_framework/mod.rs:24:36
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn child(&self, state_root: Hash, extrinsics_root: Hash) -> Self {
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]   --> src/c4_framework/mod.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn verify_child(&self, child: &Self) -> 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/c4_framework/mod.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn verify_sub_chain(&self, chain: &[Self]) -> bool {
[INFO] [stdout]    |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `genesis_state`
[INFO] [stdout]   --> src/c4_framework/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn genesis(genesis_state: &SM::State) -> Self {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_state`
[INFO] [stdout]   --> src/c4_framework/mod.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn child(&self, pre_state: &SM::State, extrinsics: Vec<u8>) -> Self {
[INFO] [stdout]    |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extrinsics`
[INFO] [stdout]   --> src/c4_framework/mod.rs:51:45
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn child(&self, pre_state: &SM::State, extrinsics: Vec<u8>) -> Self {
[INFO] [stdout]    |                                                ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extrinsics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pre_state`
[INFO] [stdout]   --> src/c4_framework/mod.rs:56:33
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn verify_sub_chain(&self, pre_state: &SM::State, chain: &[Self]) -> bool {
[INFO] [stdout]    |                                    ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chain`
[INFO] [stdout]   --> src/c4_framework/mod.rs:56:56
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn verify_sub_chain(&self, pre_state: &SM::State, chain: &[Self]) -> 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/c4_framework/mod.rs:64:2
[INFO] [stdout]    |
[INFO] [stdout] 64 |     n: u64,
[INFO] [stdout]    |     ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `genesis_state`
[INFO] [stdout]   --> src/c4_framework/mod.rs:65:2
[INFO] [stdout]    |
[INFO] [stdout] 65 |     genesis_state: &SM::State,
[INFO] [stdout]    |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genesis_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `blockchain-from-scratch` (lib) due to 5 previous errors; 99 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c", kill_on_drop: false }`
[INFO] [stdout] 74ab37c96c9eea6b81106c9fec132e4051fa92185bf6d56514522ab4deb0016c
