[INFO] cloning repository https://github.com/RaVierma/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/RaVierma/mini-blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaVierma%2Fmini-blockchain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaVierma%2Fmini-blockchain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51ffcb9c55891e71804ff91b76cf5ec53928d975
[INFO] checking RaVierma/mini-blockchain against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaVierma%2Fmini-blockchain" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RaVierma/mini-blockchain
[INFO] finished tweaking git repo https://github.com/RaVierma/mini-blockchain
[INFO] tweaked toml for git repo https://github.com/RaVierma/mini-blockchain written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RaVierma/mini-blockchain on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RaVierma/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f89d3c518aa505666dfcae1c99aa20b231d70cf8ad63ff0fa7796936d34c55d
[INFO] running `Command { std: "docker" "start" "-a" "9f89d3c518aa505666dfcae1c99aa20b231d70cf8ad63ff0fa7796936d34c55d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f89d3c518aa505666dfcae1c99aa20b231d70cf8ad63ff0fa7796936d34c55d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f89d3c518aa505666dfcae1c99aa20b231d70cf8ad63ff0fa7796936d34c55d", kill_on_drop: false }`
[INFO] [stdout] 9f89d3c518aa505666dfcae1c99aa20b231d70cf8ad63ff0fa7796936d34c55d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 418e3308f6ede42121afcb320759240eba3cd2307c0ba2ba298faf35b65ba741
[INFO] running `Command { std: "docker" "start" "-a" "418e3308f6ede42121afcb320759240eba3cd2307c0ba2ba298faf35b65ba741", kill_on_drop: false }`
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]     Checking anstyle-query v1.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling cc v1.1.5
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap_lex v0.7.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking clap_builder v4.5.10
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking sled v0.34.7
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking clap v4.5.10
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking env_filter v0.1.1
[INFO] [stderr]     Checking env_logger v0.11.4
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_json v1.0.120
[INFO] [stderr]     Checking mini-blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]  --> src/main.rs:1:233
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...Set, wallets::{convert_address, hash_pub_key, validate_address, Wallet, Wallets, ADDRESS_CHECK_SUM_LEN}};
[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: `self`
[INFO] [stdout]  --> src/components/server.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     blockchain::{self, Blockchain},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Wallet`
[INFO] [stdout]  --> src/main.rs:1:233
[INFO] [stdout]   |
[INFO] [stdout] 1 | ...Set, wallets::{convert_address, hash_pub_key, validate_address, Wallet, Wallets, ADDRESS_CHECK_SUM_LEN}};
[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: `self`
[INFO] [stdout]  --> src/components/server.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     blockchain::{self, Blockchain},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/components/server.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 Ok(stream) => {}
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/components/server.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Err(e) => {}
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockchain`
[INFO] [stdout]   --> src/components/server.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let blockchain = self.blockchain.clone();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_mining_addr` and `is_miner` are never used
[INFO] [stdout]   --> src/components/config.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Config {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn get_mining_addr(&self) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn is_miner(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemoryPool` is never constructed
[INFO] [stdout]  --> src/components/memory_pool.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct MemoryPool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/components/memory_pool.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MemoryPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn contains(&self, txid_hex: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add(&self, tx: Transaction) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get(&self, txid_hex: &str) -> Option<Transaction> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn remove(&self, txid_hex: &str) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_all(&self) -> Vec<Transaction> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockInTransit` is never constructed
[INFO] [stdout]   --> src/components/memory_pool.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct BlockInTransit {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_blocks`, `first`, `remove`, `clear`, and `len` are never used
[INFO] [stdout]   --> src/components/memory_pool.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl BlockInTransit {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn add_blocks(&self, blocks: &[Vec<u8>]) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn first(&self) -> Option<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn remove(&self, block_hash: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn clear(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_socket_addr` is never used
[INFO] [stdout]   --> src/components/node.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Node {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn parse_socket_addr(&self) -> SocketAddr {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `first`, `get_nodes`, `len`, and `node_is_known` are never used
[INFO] [stdout]   --> src/components/node.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Nodes {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn first(&self) -> Option<Node> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn get_nodes(&self) -> Vec<Node> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn node_is_known(&self, addr: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRANSACTION_THRESHOLD` is never used
[INFO] [stdout]   --> src/components/server.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const TRANSACTION_THRESHOLD: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_MEMORY_POOL` is never used
[INFO] [stdout]   --> src/components/server.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | static GLOBAL_MEMORY_POOL: Lazy<MemoryPool> = Lazy::new(|| MemoryPool::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_BLOCKS_IN_TRANSIT` is never used
[INFO] [stdout]   --> src/components/server.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | static GLOBAL_BLOCKS_IN_TRANSIT: Lazy<BlockInTransit> = Lazy::new(|| BlockInTransit::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_data` is never used
[INFO] [stdout]    --> src/components/server.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn send_get_data(addr: &str, op_type: OpType, id: &[u8]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_inv` is never used
[INFO] [stdout]    --> src/components/server.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn send_inv(addr: &str, op_type: OpType, blocks: &[Vec<u8>]) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_block` is never used
[INFO] [stdout]    --> src/components/server.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn send_block(addr: &str, block: &Block) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_blocks` is never used
[INFO] [stdout]    --> src/components/server.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn send_get_blocks(addr: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve` is never used
[INFO] [stdout]    --> src/components/server.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn serve(blockchain: Blockchain, stream: TcpStream) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | /         #[structopt(short, long,name = "address", help="The address to send genesis block reward to")]
[INFO] [stdout] 23 | |         address: String,
[INFO] [stdout]    | |_______________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | /         #[structopt(short, long,name = "address", help="The wallet address")]
[INFO] [stdout] 30 | |         address: String
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         #[structopt(short, long,name = "from", help="Source wallet address")]
[INFO] [stdout] 37 | |         from: String,
[INFO] [stdout]    | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | /         #[structopt(short, long,name = "to", help="Destination wallet address")]
[INFO] [stdout] 39 | |         to: String,
[INFO] [stdout]    | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | /         #[structopt(short, long,name = "miner", help="Enable mining mode and send reward to ADDRESS")]
[INFO] [stdout] 52 | |         miner: Option<String>
[INFO] [stdout]    | |_____________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:119:21
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:173:21
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini-blockchain` (bin "mini-blockchain") due to 11 previous errors; 20 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/components/server.rs:61:20
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 Ok(stream) => {}
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/components/server.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 Err(e) => {}
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blockchain`
[INFO] [stdout]   --> src/components/server.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let blockchain = self.blockchain.clone();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_mining_addr` and `is_miner` are never used
[INFO] [stdout]   --> src/components/config.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Config {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn get_mining_addr(&self) -> Option<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn is_miner(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini-blockchain` (bin "mini-blockchain" test) due to 11 previous errors; 20 warnings emitted
[INFO] [stdout] warning: struct `MemoryPool` is never constructed
[INFO] [stdout]  --> src/components/memory_pool.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct MemoryPool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/components/memory_pool.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl MemoryPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn contains(&self, txid_hex: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn add(&self, tx: Transaction) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get(&self, txid_hex: &str) -> Option<Transaction> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn remove(&self, txid_hex: &str) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_all(&self) -> Vec<Transaction> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockInTransit` is never constructed
[INFO] [stdout]   --> src/components/memory_pool.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct BlockInTransit {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_blocks`, `first`, `remove`, `clear`, and `len` are never used
[INFO] [stdout]   --> src/components/memory_pool.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl BlockInTransit {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 58 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn add_blocks(&self, blocks: &[Vec<u8>]) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn first(&self) -> Option<Vec<u8>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn remove(&self, block_hash: &[u8]) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn clear(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_socket_addr` is never used
[INFO] [stdout]   --> src/components/node.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Node {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn parse_socket_addr(&self) -> SocketAddr {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `first`, `get_nodes`, `len`, and `node_is_known` are never used
[INFO] [stdout]   --> src/components/node.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl Nodes {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn first(&self) -> Option<Node> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn get_nodes(&self) -> Vec<Node> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub fn len(&self) -> usize {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn node_is_known(&self, addr: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRANSACTION_THRESHOLD` is never used
[INFO] [stdout]   --> src/components/server.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub const TRANSACTION_THRESHOLD: usize = 2;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_MEMORY_POOL` is never used
[INFO] [stdout]   --> src/components/server.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | static GLOBAL_MEMORY_POOL: Lazy<MemoryPool> = Lazy::new(|| MemoryPool::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_BLOCKS_IN_TRANSIT` is never used
[INFO] [stdout]   --> src/components/server.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | static GLOBAL_BLOCKS_IN_TRANSIT: Lazy<BlockInTransit> = Lazy::new(|| BlockInTransit::new());
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_data` is never used
[INFO] [stdout]    --> src/components/server.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn send_get_data(addr: &str, op_type: OpType, id: &[u8]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_inv` is never used
[INFO] [stdout]    --> src/components/server.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn send_inv(addr: &str, op_type: OpType, blocks: &[Vec<u8>]) {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_block` is never used
[INFO] [stdout]    --> src/components/server.rs:131:4
[INFO] [stdout]     |
[INFO] [stdout] 131 | fn send_block(addr: &str, block: &Block) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_get_blocks` is never used
[INFO] [stdout]    --> src/components/server.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn send_get_blocks(addr: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serve` is never used
[INFO] [stdout]    --> src/components/server.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn serve(blockchain: Blockchain, stream: TcpStream) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | /         #[structopt(short, long,name = "address", help="The address to send genesis block reward to")]
[INFO] [stdout] 23 | |         address: String,
[INFO] [stdout]    | |_______________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | /         #[structopt(short, long,name = "address", help="The wallet address")]
[INFO] [stdout] 30 | |         address: String
[INFO] [stdout]    | |_______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         #[structopt(short, long,name = "from", help="Source wallet address")]
[INFO] [stdout] 37 | |         from: String,
[INFO] [stdout]    | |____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | /         #[structopt(short, long,name = "to", help="Destination wallet address")]
[INFO] [stdout] 39 | |         to: String,
[INFO] [stdout]    | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]   --> src/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 | /         #[structopt(short, long,name = "miner", help="Enable mining mode and send reward to ADDRESS")]
[INFO] [stdout] 52 | |         miner: Option<String>
[INFO] [stdout]    | |_____________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:119:21
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:146:21
[INFO] [stdout]     |
[INFO] [stdout] 146 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/components/server.rs:173:21
[INFO] [stdout]     |
[INFO] [stdout] 173 |     let node_addr = GLOBAL_CONFIG.get_node_addr().parse().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "418e3308f6ede42121afcb320759240eba3cd2307c0ba2ba298faf35b65ba741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "418e3308f6ede42121afcb320759240eba3cd2307c0ba2ba298faf35b65ba741", kill_on_drop: false }`
[INFO] [stdout] 418e3308f6ede42121afcb320759240eba3cd2307c0ba2ba298faf35b65ba741
