[INFO] cloning repository https://github.com/vivien98/Blockchain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vivien98/Blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivien98%2FBlockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivien98%2FBlockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ca5511f3ef4aa7dfeb2108ee57b4c809611be537
[INFO] testing vivien98/Blockchain against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvivien98%2FBlockchain" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vivien98/Blockchain on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vivien98/Blockchain
[INFO] finished tweaking git repo https://github.com/vivien98/Blockchain
[INFO] tweaked toml for git repo https://github.com/vivien98/Blockchain written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/vivien98/Blockchain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fb44592d5adb276f40cc3c9c1d6f4d1d308fcf4e82f0143cffd6da42d9ab9df
[INFO] running `Command { std: "docker" "start" "-a" "0fb44592d5adb276f40cc3c9c1d6f4d1d308fcf4e82f0143cffd6da42d9ab9df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fb44592d5adb276f40cc3c9c1d6f4d1d308fcf4e82f0143cffd6da42d9ab9df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fb44592d5adb276f40cc3c9c1d6f4d1d308fcf4e82f0143cffd6da42d9ab9df", kill_on_drop: false }`
[INFO] [stdout] 0fb44592d5adb276f40cc3c9c1d6f4d1d308fcf4e82f0143cffd6da42d9ab9df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c54d22a6c882e963efa702ba007277ed487b7a291256724e0002b53dd5eb284
[INFO] running `Command { std: "docker" "start" "-a" "7c54d22a6c882e963efa702ba007277ed487b7a291256724e0002b53dd5eb284", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling bitflags v1.2.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling ascii v0.8.7
[INFO] [stderr]    Compiling termcolor v0.3.6
[INFO] [stderr]    Compiling chunked_transfer v0.3.1
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.8
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling bincode v1.2.0
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling term_size v0.3.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling mio v0.6.19
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling crossbeam v0.7.2
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling mio-extras v2.0.5
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling hex-literal-impl v0.2.1
[INFO] [stderr]    Compiling hex-literal v0.2.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling tiny_http v0.6.2
[INFO] [stderr]    Compiling stderrlog v0.4.1
[INFO] [stderr]    Compiling bitcoin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime`, `Utc`
[INFO] [stdout]  --> src/block.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime,Utc};
[INFO] [stdout]   |              ^^^^^^^^ ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/block.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/block.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`, `UNIX_EPOCH`
[INFO] [stdout]  --> src/block.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MerkleNode`, `MerkleTree`
[INFO] [stdout]  --> src/block.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::crypto::merkle::{MerkleNode,MerkleTree};
[INFO] [stdout]   |                             ^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/blockchain.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H160`
[INFO] [stdout]  --> src/blockchain.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::crypto::hash::{H256, H160, Hashable};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Utc`
[INFO] [stdout]  --> src/blockchain.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{DateTime,Utc};
[INFO] [stdout]   |              ^^^^^^^^ ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/blockchain.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/blockchain.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`
[INFO] [stdout]  --> src/blockchain.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerkleNode`
[INFO] [stdout]   --> src/blockchain.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::crypto::merkle::{MerkleNode,MerkleTree};
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/crypto/merkle.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     (trail_hash == *root)
[INFO] [stdout]     |     ^                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 111 -     (trail_hash == *root)
[INFO] [stdout] 111 +     trail_hash == *root
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/miner.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]   --> src/miner.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerkleNode`
[INFO] [stdout]   --> src/miner.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::crypto::merkle::{MerkleNode,MerkleTree};
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::crypto::key_pair`
[INFO] [stdout]   --> src/miner.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::crypto::key_pair;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hashable`
[INFO] [stdout]  --> src/network/message.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::crypto::hash::{H256, Hashable};
[INFO] [stdout]   |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Content`, `Header`
[INFO] [stdout]  --> src/network/message.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::block::{Header,Content,Block};
[INFO] [stdout]   |                    ^^^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Content`, `Header`
[INFO] [stdout]   --> src/network/worker.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::block::{Header,Content,Block};
[INFO] [stdout]    |                    ^^^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Block`, `Content`, `Header`
[INFO] [stdout]   --> src/main.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::block::{Header,Content,Block};
[INFO] [stdout]    |                    ^^^^^^ ^^^^^^^ ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SignedTransaction`, `Transaction`
[INFO] [stdout]   --> src/main.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]    |                          ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `leaf_size`
[INFO] [stdout]   --> src/crypto/merkle.rs:94:72
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub fn verify(root: &H256, datum: &H256, proof: &[H256], index: usize, leaf_size: usize) -> bool {
[INFO] [stdout]    |                                                                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `level`
[INFO] [stdout]   --> src/crypto/merkle.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |         for level in self.node_array_by_levels.clone() {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_level`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transHashVec`
[INFO] [stdout]    --> src/network/worker.rs:146:47
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 Message::NewTransactionHashes(transHashVec) => {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transHashVec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wantedTrans`
[INFO] [stdout]    --> src/network/worker.rs:148:29
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     let mut wantedTrans: Vec<H256> = Vec::new();
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wantedTrans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transHashVec`
[INFO] [stdout]    --> src/network/worker.rs:152:41
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 Message::GetTransaction(transHashVec) => {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transHashVec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transVecToSend`
[INFO] [stdout]    --> src/network/worker.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     let mut transVecToSend: Vec<SignedTransaction> = Vec::new();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transVecToSend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transVec`
[INFO] [stdout]    --> src/network/worker.rs:157:38
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 Message::Transaction(transVec) => {
[INFO] [stdout]     |                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transVec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash_pub_key`
[INFO] [stdout]   --> src/transaction.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let hash_pub_key: [u8;32] = pub_key1.hash().into();
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_pub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/blockchain.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut tip: H256 = genHash;
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/crypto/merkle.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let mut hashed_datum = MerkleNode{value: Hashable::hash(&datum),child1:None,child2:None,parent:None,is_leaf: true};
[INFO] [stdout]    |                 ----^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/crypto/merkle.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...   let mut new_node : MerkleNode = MerkleNode{value: root, child1: Some(Box::new(prev_level[2*i].clone())), child2: Some(Box::new(prev...
[INFO] [stdout]    |           ----^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/crypto/merkle.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut root: MerkleNode = prev_level[0].clone();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network/worker.rs:124:41
[INFO] [stdout]     |
[INFO] [stdout] 124 | ...                   let mut new_parent = orphanBlocks[&parent].hash();
[INFO] [stdout]     |                           ----^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network/worker.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     let mut wantedTrans: Vec<H256> = Vec::new();
[INFO] [stdout]     |                         ----^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/network/worker.rs:154:25
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     let mut transVecToSend: Vec<SignedTransaction> = Vec::new();
[INFO] [stdout]     |                         ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `blockMap` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub blockMap : HashMap<H256,Block>,
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `block_map`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `chainLength` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub chainLength : u32
[INFO] [stdout]    |         ^^^^^^^^^^^ help: convert the identifier to snake case: `chain_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockMap` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut blockMap = HashMap::new();
[INFO] [stdout]    |                 ^^^^^^^^ help: convert the identifier to snake case: `block_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `genHash` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let genHash: H256 = Hashable::hash(&gen_block);
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `gen_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHash` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let blockHash: H256 = Hashable::hash(block);
[INFO] [stdout]    |             ^^^^^^^^^ help: convert the identifier to snake case: `block_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `thisParent` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut thisParent: H256 = (*block).header.parent;
[INFO] [stdout]    |                 ^^^^^^^^^^ help: convert the identifier to snake case: `this_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `hashVec` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let mut hashVec: Vec<H256> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^ help: convert the identifier to snake case: `hash_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `thisParent` should have a snake case name
[INFO] [stdout]   --> src/blockchain.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let mut thisParent: H256 = self.blockMap[&(self.tip)].header.parent;
[INFO] [stdout]    |                 ^^^^^^^^^^ help: convert the identifier to snake case: `this_parent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHashVec` should have a snake case name
[INFO] [stdout]    --> src/miner.rs:162:25
[INFO] [stdout]     |
[INFO] [stdout] 162 |                 let mut blockHashVec: Vec<H256> = Vec::new();//self.blockchain.lock().unwrap().all_blocks_in_longest_chain();
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: convert the identifier to snake case: `block_hash_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `orphanBlocks` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:53:17
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut orphanBlocks = HashMap::new();// has parent Hash -> child Block mapping
[INFO] [stdout]    |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `orphan_blocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHashVec` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:68:41
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 Message::NewBlockHashes(blockHashVec) => {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^ help: convert the identifier to snake case: `block_hash_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `wantedBlocks` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:70:29
[INFO] [stdout]    |
[INFO] [stdout] 70 |                     let mut wantedBlocks: Vec<H256> = Vec::new();
[INFO] [stdout]    |                             ^^^^^^^^^^^^ help: convert the identifier to snake case: `wanted_blocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHash` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     for blockHash in blockHashVec.iter() {
[INFO] [stdout]    |                         ^^^^^^^^^ help: convert the identifier to snake case: `block_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHashVec` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:86:35
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 Message::GetBlock(blockHashVec) => {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ help: convert the identifier to snake case: `block_hash_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockVecToSend` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     let mut blockVecToSend: Vec<Block> = Vec::new();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `block_vec_to_send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHash` should have a snake case name
[INFO] [stdout]   --> src/network/worker.rs:89:25
[INFO] [stdout]    |
[INFO] [stdout] 89 |                     for blockHash in blockHashVec.iter() {
[INFO] [stdout]    |                         ^^^^^^^^^ help: convert the identifier to snake case: `block_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockVec` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:102:32
[INFO] [stdout]     |
[INFO] [stdout] 102 |                 Message::Block(blockVec) => {
[INFO] [stdout]     |                                ^^^^^^^^ help: convert the identifier to snake case: `block_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `insertedBlocks` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     let mut insertedBlocks: Vec<H256> = Vec::new();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `inserted_blocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `getBlocks` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:106:29
[INFO] [stdout]     |
[INFO] [stdout] 106 |                     let mut getBlocks: Vec<H256> = Vec::new();
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `get_blocks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `blockHash` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:113:29
[INFO] [stdout]     |
[INFO] [stdout] 113 |                         let blockHash: H256 = (*block).hash();
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `block_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `transHashVec` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:146:47
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 Message::NewTransactionHashes(transHashVec) => {
[INFO] [stdout]     |                                               ^^^^^^^^^^^^ help: convert the identifier to snake case: `trans_hash_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `wantedTrans` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:148:29
[INFO] [stdout]     |
[INFO] [stdout] 148 |                     let mut wantedTrans: Vec<H256> = Vec::new();
[INFO] [stdout]     |                             ^^^^^^^^^^^ help: convert the identifier to snake case: `wanted_trans`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `transHashVec` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:152:41
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 Message::GetTransaction(transHashVec) => {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^ help: convert the identifier to snake case: `trans_hash_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `transVecToSend` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 |                     let mut transVecToSend: Vec<SignedTransaction> = Vec::new();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trans_vec_to_send`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `transVec` should have a snake case name
[INFO] [stdout]    --> src/network/worker.rs:157:38
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 Message::Transaction(transVec) => {
[INFO] [stdout]     |                                      ^^^^^^^^ help: convert the identifier to snake case: `trans_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sigH256` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let sigH256: [H256;2] = convertSigToH256(&sig);
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `sig_h256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convertPubKeyToH160` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn convertPubKeyToH160(public_key: &<Ed25519KeyPair as KeyPair>::PublicKey) -> H160 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_pub_key_to_h160`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convertPubKeyToH256` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub fn convertPubKeyToH256(public_key: &<Ed25519KeyPair as KeyPair>::PublicKey) -> H256 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_pub_key_to_h256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convertSigToH256` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn convertSigToH256(signature: &Signature) -> [H256;2] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_sig_to_h256`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convertH256ToSigRef` should have a snake case name
[INFO] [stdout]   --> src/transaction.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn convertH256ToSigRef(signature: [H256;2]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_h256_to_sig_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 67 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 23.93s
[INFO] running `Command { std: "docker" "inspect" "7c54d22a6c882e963efa702ba007277ed487b7a291256724e0002b53dd5eb284", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c54d22a6c882e963efa702ba007277ed487b7a291256724e0002b53dd5eb284", kill_on_drop: false }`
[INFO] [stdout] 7c54d22a6c882e963efa702ba007277ed487b7a291256724e0002b53dd5eb284
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c37c60e52f9a4dbc95254655782e591eae6dee6a0dc7b364a6b13fe22a9b629
[INFO] running `Command { std: "docker" "start" "-a" "7c37c60e52f9a4dbc95254655782e591eae6dee6a0dc7b364a6b13fe22a9b629", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitcoin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `tests` is defined multiple times
[INFO] [stdout]    --> src/crypto/hash.rs:229:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub mod tests {
[INFO] [stdout]     | ------------- previous definition of the module `tests` here
[INFO] [stdout] ...
[INFO] [stdout] 229 | pub mod tests {
[INFO] [stdout]     | ^^^^^^^^^^^^^ `tests` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `tests` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Utc`
[INFO] [stdout]  --> src/block.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{DateTime,Utc};
[INFO] [stdout]   |              ^^^^^^^^ ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/block.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/block.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerkleNode`
[INFO] [stdout]  --> src/block.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::crypto::merkle::{MerkleNode,MerkleTree};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/blockchain.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H160`
[INFO] [stdout]  --> src/blockchain.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::crypto::hash::{H256, H160, Hashable};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Utc`
[INFO] [stdout]  --> src/blockchain.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{DateTime,Utc};
[INFO] [stdout]   |              ^^^^^^^^ ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]  --> src/blockchain.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]   |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/blockchain.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration`, `SystemTime`
[INFO] [stdout]  --> src/blockchain.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerkleNode`
[INFO] [stdout]   --> src/blockchain.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::crypto::merkle::{MerkleNode,MerkleTree};
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/crypto/merkle.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     (trail_hash == *root)
[INFO] [stdout]     |     ^                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 111 -     (trail_hash == *root)
[INFO] [stdout] 111 +     trail_hash == *root
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/miner.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Transaction`
[INFO] [stdout]   --> src/miner.rs:14:26
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MerkleNode`
[INFO] [stdout]   --> src/miner.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::crypto::merkle::{MerkleNode,MerkleTree};
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::crypto::key_pair`
[INFO] [stdout]   --> src/miner.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::crypto::key_pair;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hashable`
[INFO] [stdout]  --> src/network/message.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::crypto::hash::{H256, Hashable};
[INFO] [stdout]   |                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Content`, `Header`
[INFO] [stdout]  --> src/network/message.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::block::{Header,Content,Block};
[INFO] [stdout]   |                    ^^^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Content`, `Header`
[INFO] [stdout]   --> src/network/worker.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::block::{Header,Content,Block};
[INFO] [stdout]    |                    ^^^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Block`, `Content`, `Header`
[INFO] [stdout]   --> src/main.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::block::{Header,Content,Block};
[INFO] [stdout]    |                    ^^^^^^ ^^^^^^^ ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SignedTransaction`, `Transaction`
[INFO] [stdout]   --> src/main.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::transaction::{Transaction,SignedTransaction};
[INFO] [stdout]    |                          ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:58:60
[INFO] [stdout]    |
[INFO] [stdout] 58 | ...ansaction{input: String::from("This is random faltugiri"), output: String::from("Blockchain"), amount: 0.00, signature: signature};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `H160`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/block.rs:58:110
[INFO] [stdout]    |
[INFO] [stdout] 58 | ...om faltugiri"), output: String::from("Blockchain"), amount: 0.00, signature: signature};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `H160`, found struct `std::string::String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `pub_key` in initializer of `transaction::SignedTransaction`
[INFO] [stdout]   --> src/block.rs:58:35
[INFO] [stdout]    |
[INFO] [stdout] 58 | ...   let genesis_transaction = SignedTransaction{input: String::from("This is random faltugiri"), output: String::from("Blockchain"), am...
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^ missing `pub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0428.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bitcoin` due to 5 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7c37c60e52f9a4dbc95254655782e591eae6dee6a0dc7b364a6b13fe22a9b629", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c37c60e52f9a4dbc95254655782e591eae6dee6a0dc7b364a6b13fe22a9b629", kill_on_drop: false }`
[INFO] [stdout] 7c37c60e52f9a4dbc95254655782e591eae6dee6a0dc7b364a6b13fe22a9b629
