[INFO] cloning repository https://github.com/memoriesadrift/mini-blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/memoriesadrift/mini-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoriesadrift%2Fmini-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoriesadrift%2Fmini-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e29a6bcbec816340ff3602e0d862700b6962cf76
[INFO] checking memoriesadrift/mini-blockchain against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemoriesadrift%2Fmini-blockchain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/memoriesadrift/mini-blockchain
[INFO] finished tweaking git repo https://github.com/memoriesadrift/mini-blockchain
[INFO] tweaked toml for git repo https://github.com/memoriesadrift/mini-blockchain written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/memoriesadrift/mini-blockchain on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/memoriesadrift/mini-blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `mini_blockchain` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-1-tc2/source/target/.../mini_blockchain
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `mini-blockchain`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 - name = "mini_blockchain"
[INFO] [stderr] 38 + name = "mini-blockchain"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `mini-blockchain`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:39:19
[INFO] [stderr]    |
[INFO] [stderr] 39 ~ version = "0.1.0"
[INFO] [stderr] 40 + [[bin]]
[INFO] [stderr] 41 + name = "mini-blockchain"
[INFO] [stderr] 42 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `mini_blockchain` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.21.1
[INFO] [stderr]   Downloaded smallvec v1.14.0
[INFO] [stderr]   Downloaded serde_canonical_json v1.0.0
[INFO] [stderr]   Downloaded parity-scale-codec-derive v3.7.4
[INFO] [stderr]   Downloaded data-encoding v2.8.0
[INFO] [stderr]   Downloaded tokio-tungstenite v0.26.2
[INFO] [stderr]   Downloaded rustversion v1.0.20
[INFO] [stderr]   Downloaded alloy-rlp v0.3.11
[INFO] [stderr]   Downloaded litemap v0.7.5
[INFO] [stderr]   Downloaded redox_syscall v0.5.10
[INFO] [stderr]   Downloaded icu_locid_transform_data v1.5.1
[INFO] [stderr]   Downloaded auto_impl v1.2.1
[INFO] [stderr]   Downloaded miniz_oxide v0.8.5
[INFO] [stderr]   Downloaded icu_normalizer_data v1.5.1
[INFO] [stderr]   Downloaded tokio-util v0.7.14
[INFO] [stderr]   Downloaded parity-scale-codec v3.7.4
[INFO] [stderr]   Downloaded env_logger v0.11.7
[INFO] [stderr]   Downloaded tungstenite v0.26.2
[INFO] [stderr]   Downloaded const_format v0.2.34
[INFO] [stderr]   Downloaded rand v0.9.0
[INFO] [stderr]   Downloaded indexmap v2.8.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.24
[INFO] [stderr]   Downloaded anyhow v1.0.97
[INFO] [stderr]   Downloaded libm v0.2.11
[INFO] [stderr]   Downloaded jiff-static v0.2.5
[INFO] [stderr]   Downloaded warp v0.3.7
[INFO] [stderr]   Downloaded pest v2.8.0
[INFO] [stderr]   Downloaded ruint v1.14.0
[INFO] [stderr]   Downloaded proptest v1.6.0
[INFO] [stderr]   Downloaded winnow v0.7.4
[INFO] [stderr]   Downloaded zerocopy v0.8.24
[INFO] [stderr]   Downloaded icu_properties_data v1.5.1
[INFO] [stderr]   Downloaded jiff v0.2.5
[INFO] [stderr]   Downloaded tokio v1.44.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd
[INFO] running `Command { std: "docker" "start" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd", 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" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `mini_blockchain` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../mini_blockchain
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `mini-blockchain`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:38:8
[INFO] [stderr]    |
[INFO] [stderr] 38 - name = "mini_blockchain"
[INFO] [stderr] 38 + name = "mini-blockchain"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `mini-blockchain`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:39:19
[INFO] [stderr]    |
[INFO] [stderr] 39 ~ version = "0.1.0"
[INFO] [stderr] 40 + [[bin]]
[INFO] [stderr] 41 + name = "mini-blockchain"
[INFO] [stderr] 42 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `mini_blockchain` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking data-encoding v2.8.0
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling ruint-macro v1.2.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking jiff v0.2.5
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.7
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking serdect v0.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ruint v1.14.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking serde_canonical_json v1.0.0
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking mini_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/api/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     db: Arc<BlockchainDB>,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/p2p/listener.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn handle_peer(stream: TcpStream, db: Arc<BlockchainDB>, mut shutdown: broadcast::Receiver<()>) {
[INFO] [stdout]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `handshake_completed` is assigned to, but never used
[INFO] [stdout]   --> src/p2p/listener.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut handshake_completed = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_handshake_completed` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake_completed` is never read
[INFO] [stdout]   --> src/p2p/listener.rs:44:33
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   handshake_completed = true;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/api/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     db: Arc<BlockchainDB>,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/p2p/listener.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn handle_peer(stream: TcpStream, db: Arc<BlockchainDB>, mut shutdown: broadcast::Receiver<()>) {
[INFO] [stdout]    |                                             ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `handshake_completed` is assigned to, but never used
[INFO] [stdout]   --> src/p2p/listener.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut handshake_completed = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_handshake_completed` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake_completed` is never read
[INFO] [stdout]   --> src/p2p/listener.rs:44:33
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...                   handshake_completed = true;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `hash` and `genesis` are never used
[INFO] [stdout]   --> src/models/block.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Block {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn hash(&self) -> Hash {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn genesis() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hash` is never used
[INFO] [stdout]   --> src/models/transaction.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Transaction {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 44 |     pub fn hash(&self) -> Hash {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SyntacticValidation` is never used
[INFO] [stdout]  --> src/models/syntactic_validation.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait SyntacticValidation {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_DIFFICULTY` is never used
[INFO] [stdout]  --> src/config.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const BLOCK_DIFFICULTY: usize = 1;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COIN_DECIMALS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const COIN_DECIMALS: usize = 6;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COINBASE_REWARD` is never used
[INFO] [stdout]  --> src/config.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const COINBASE_REWARD: U256 = uint!(1000000_U256);
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mine_block` is never used
[INFO] [stdout]  --> src/miner/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn mine_block(block: &mut Block) -> &mut Block {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_blockhash` is never used
[INFO] [stdout]   --> src/miner/mod.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn is_valid_blockhash(hash: &Hash) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]  --> src/storage/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct BlockchainDB {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     db: Db,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save_block`, `save_tx`, `get_block`, and `get_tx` are never used
[INFO] [stdout]   --> src/storage/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl BlockchainDB {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn save_block(&self, block: &Block) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn save_tx(&self, tx: &Transaction) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_block(&self, hash: &Hash) -> Option<Block> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_tx(&self, hash: &Hash) -> Option<Transaction> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `hash` and `genesis` are never used
[INFO] [stdout]   --> src/models/block.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Block {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn hash(&self) -> Hash {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn genesis() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hash` is never used
[INFO] [stdout]   --> src/models/transaction.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Transaction {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 44 |     pub fn hash(&self) -> Hash {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SyntacticValidation` is never used
[INFO] [stdout]  --> src/models/syntactic_validation.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait SyntacticValidation {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_DIFFICULTY` is never used
[INFO] [stdout]  --> src/config.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const BLOCK_DIFFICULTY: usize = 1;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COIN_DECIMALS` is never used
[INFO] [stdout]  --> src/config.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const COIN_DECIMALS: usize = 6;
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `COINBASE_REWARD` is never used
[INFO] [stdout]  --> src/config.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const COINBASE_REWARD: U256 = uint!(1000000_U256);
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mine_block` is never used
[INFO] [stdout]  --> src/miner/mod.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn mine_block(block: &mut Block) -> &mut Block {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_blockhash` is never used
[INFO] [stdout]   --> src/miner/mod.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn is_valid_blockhash(hash: &Hash) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `db` is never read
[INFO] [stdout]  --> src/storage/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct BlockchainDB {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     db: Db,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save_block`, `save_tx`, `get_block`, and `get_tx` are never used
[INFO] [stdout]   --> src/storage/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl BlockchainDB {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn save_block(&self, block: &Block) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn save_tx(&self, tx: &Transaction) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_block(&self, hash: &Hash) -> Option<Block> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_tx(&self, hash: &Hash) -> Option<Transaction> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `anyhow`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | anyhow = "1.0.95"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `anyhow`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | hex = "0.4.3"
[INFO] [stderr]   | ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: `mini_blockchain` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.85s
[INFO] running `Command { std: "docker" "inspect" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd", kill_on_drop: false }`
[INFO] [stdout] d2cea56730ad6156598ec4931996f14194b949521a8cac36f31ba8750c1db1dd
