[INFO] cloning repository https://github.com/Tobraef/crypto-simulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tobraef/crypto-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTobraef%2Fcrypto-simulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTobraef%2Fcrypto-simulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6c551cef4c7a98674c1ba68f168e8904f377a72
[INFO] checking Tobraef/crypto-simulation against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTobraef%2Fcrypto-simulation" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Tobraef/crypto-simulation
[INFO] finished tweaking git repo https://github.com/Tobraef/crypto-simulation
[INFO] tweaked toml for git repo https://github.com/Tobraef/crypto-simulation written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Tobraef/crypto-simulation on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Tobraef/crypto-simulation already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.20
[INFO] [stderr]   Downloaded unicode-ident v1.0.2
[INFO] [stderr]   Downloaded firestorm v0.5.1
[INFO] [stderr]   Downloaded sha1 v0.10.1
[INFO] [stderr]   Downloaded actix-web-codegen v4.0.1
[INFO] [stderr]   Downloaded secrets v1.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.31
[INFO] [stderr]   Downloaded pem-rfc7468 v0.3.1
[INFO] [stderr]   Downloaded zeroize v1.5.6
[INFO] [stderr]   Downloaded bytes v1.2.0
[INFO] [stderr]   Downloaded cookie v0.16.0
[INFO] [stderr]   Downloaded pkcs1 v0.3.3
[INFO] [stderr]   Downloaded miniz_oxide v0.5.3
[INFO] [stderr]   Downloaded rsa v0.6.1
[INFO] [stderr]   Downloaded actix-router v0.5.0
[INFO] [stderr]   Downloaded serde v1.0.139
[INFO] [stderr]   Downloaded tracing v0.1.35
[INFO] [stderr]   Downloaded anyhow v1.0.58
[INFO] [stderr]   Downloaded serde_json v1.0.82
[INFO] [stderr]   Downloaded tracing-core v0.1.28
[INFO] [stderr]   Downloaded actix-http v3.2.1
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.1
[INFO] [stderr]   Downloaded serde_derive v1.0.139
[INFO] [stderr]   Downloaded actix-web v4.1.0
[INFO] [stderr]   Downloaded tokio v1.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b3ffa17225a79fd92f33b19283577cb2ef1a1e7e5bbed97f08a7c3850ea35a0
[INFO] running `Command { std: "docker" "start" "-a" "1b3ffa17225a79fd92f33b19283577cb2ef1a1e7e5bbed97f08a7c3850ea35a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b3ffa17225a79fd92f33b19283577cb2ef1a1e7e5bbed97f08a7c3850ea35a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b3ffa17225a79fd92f33b19283577cb2ef1a1e7e5bbed97f08a7c3850ea35a0", kill_on_drop: false }`
[INFO] [stdout] 1b3ffa17225a79fd92f33b19283577cb2ef1a1e7e5bbed97f08a7c3850ea35a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf7ad2227b50956ee038d21a9a4fd5dddd52e2441ee3ff38b27c4b7561489a43
[INFO] running `Command { std: "docker" "start" "-a" "cf7ad2227b50956ee038d21a9a4fd5dddd52e2441ee3ff38b27c4b7561489a43", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking bytes v1.2.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling tokio v1.20.0
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling serde_derive v1.0.139
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]    Compiling libm v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking base64ct v1.5.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking const-oid v0.7.1
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking pem-rfc7468 v0.3.1
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking zeroize v1.5.6
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.1
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]    Compiling secrets v1.2.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-bigint v0.3.2
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking sha1 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]     Checking der v0.5.1
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking spki v0.5.4
[INFO] [stderr]     Checking pkcs8 v0.8.0
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking pkcs1 v0.3.3
[INFO] [stderr]     Checking rsa v0.6.1
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.1
[INFO] [stderr]     Checking actix-web v4.1.0
[INFO] [stderr]     Checking nocoin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> src/domain/network.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{anyhow, bail, Result};
[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: `generate_key`
[INFO] [stdout]   --> src/domain/network.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     rsa_verification::{generate_key, PrivKey, PubKey},
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RSAEncodedMsg`
[INFO] [stdout]   --> src/domain/mod.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use rsa_verification::{PubKey, RSAEncodedMsg};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/web/server.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{debug, info};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/web/server.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]  --> src/web/server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     HttpRequest, HttpResponse, Responder,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/web/server.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_bitcoin_value_usd`
[INFO] [stdout]  --> src/web/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     get_bitcoin_value_usd, get_chain, get_pending_transactions, register_node,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> src/domain/network.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::{anyhow, bail, Result};
[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: `generate_key`
[INFO] [stdout]   --> src/domain/network.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     rsa_verification::{generate_key, PrivKey, PubKey},
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RSAEncodedMsg`
[INFO] [stdout]   --> src/domain/mod.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use rsa_verification::{PubKey, RSAEncodedMsg};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]  --> src/web/server.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use log::{debug, info};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/web/server.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]  --> src/web/server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     HttpRequest, HttpResponse, Responder,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::anyhow`
[INFO] [stdout]   --> src/web/server.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use anyhow::anyhow;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_bitcoin_value_usd`
[INFO] [stdout]  --> src/web/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     get_bitcoin_value_usd, get_chain, get_pending_transactions, register_node,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `miner_id`
[INFO] [stdout]   --> src/domain/mining.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     miner_id: NodeId,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_miner_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `try_new` is never used
[INFO] [stdout]   --> src/domain/mining.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl BlockHash {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 25 |     pub fn try_new(bytes: String) -> Result<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: associated constant `MAX` is never used
[INFO] [stdout]   --> src/domain/network.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl NodeId {
[INFO] [stdout]    | ----------- associated constant in this implementation
[INFO] [stdout] 19 |     pub const MAX: NodeId = NodeId(usize::MAX);
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `priv_key` is never read
[INFO] [stdout]   --> src/domain/network.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct User {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 49 |     pub node: Node,
[INFO] [stdout] 50 |     pub priv_key: PrivKey,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_MESSAGE_LEN` is never used
[INFO] [stdout]   --> src/domain/rsa_verification.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const RSA_MESSAGE_LEN: usize = 117;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_message` is never used
[INFO] [stdout]   --> src/domain/rsa_verification.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn encode_message(serialized_data: &[u8], private_key: &PrivKey) -> Result<RSAEncodedMsg> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_transaction` is never used
[INFO] [stdout]   --> src/domain/transaction.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn create_transaction(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approve` is never used
[INFO] [stdout]   --> src/domain/transaction.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn approve(transaction: AffordableTransaction, user: &User) -> Result<ProvenTransaction> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_all_wallets` is never used
[INFO] [stdout]  --> src/domain/wallet.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn calculate_all_wallets(blockchain: &Blockchain) -> HashMap<NodeId, NoCoin> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_bitcoin_value_usd` is never used
[INFO] [stdout]   --> src/web/communication.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_bitcoin_value_usd() -> Result<f32> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `new_transaction` is never read
[INFO] [stdout]   --> src/web/server.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Routes {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub new_transaction: &'static str,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `AI` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod AI;
[INFO] [stdout]   |     ^^ help: convert the identifier to snake case: `ai`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `miner_id`
[INFO] [stdout]   --> src/domain/mining.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     miner_id: NodeId,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_miner_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `try_new` is never used
[INFO] [stdout]   --> src/domain/mining.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl BlockHash {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 25 |     pub fn try_new(bytes: String) -> Result<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: associated constant `MAX` is never used
[INFO] [stdout]   --> src/domain/network.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl NodeId {
[INFO] [stdout]    | ----------- associated constant in this implementation
[INFO] [stdout] 19 |     pub const MAX: NodeId = NodeId(usize::MAX);
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `priv_key` is never read
[INFO] [stdout]   --> src/domain/network.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct User {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 49 |     pub node: Node,
[INFO] [stdout] 50 |     pub priv_key: PrivKey,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_transaction` is never used
[INFO] [stdout]   --> src/domain/transaction.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn create_transaction(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `approve` is never used
[INFO] [stdout]   --> src/domain/transaction.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn approve(transaction: AffordableTransaction, user: &User) -> Result<ProvenTransaction> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_all_wallets` is never used
[INFO] [stdout]  --> src/domain/wallet.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn calculate_all_wallets(blockchain: &Blockchain) -> HashMap<NodeId, NoCoin> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `new_transaction` is never read
[INFO] [stdout]   --> src/web/server.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Routes {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub new_transaction: &'static str,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `AI` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod AI;
[INFO] [stdout]   |     ^^ help: convert the identifier to snake case: `ai`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.1, openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "cf7ad2227b50956ee038d21a9a4fd5dddd52e2441ee3ff38b27c4b7561489a43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf7ad2227b50956ee038d21a9a4fd5dddd52e2441ee3ff38b27c4b7561489a43", kill_on_drop: false }`
[INFO] [stdout] cf7ad2227b50956ee038d21a9a4fd5dddd52e2441ee3ff38b27c4b7561489a43
