[INFO] cloning repository https://github.com/manuelinfosec/bitcoin-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manuelinfosec/bitcoin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanuelinfosec%2Fbitcoin-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanuelinfosec%2Fbitcoin-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12a9e4a59b9af54598ec4daa364d69a07f2ecd6a
[INFO] checking manuelinfosec/bitcoin-rs against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanuelinfosec%2Fbitcoin-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/manuelinfosec/bitcoin-rs
[INFO] finished tweaking git repo https://github.com/manuelinfosec/bitcoin-rs
[INFO] tweaked toml for git repo https://github.com/manuelinfosec/bitcoin-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/manuelinfosec/bitcoin-rs on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/manuelinfosec/bitcoin-rs 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jsonrpsee-server v0.20.2
[INFO] [stderr]   Downloaded jsonrpsee-core v0.20.2
[INFO] [stderr]   Downloaded jsonrpsee-types v0.20.2
[INFO] [stderr]   Downloaded jsonrpc v0.16.0
[INFO] [stderr]   Downloaded tracing v0.1.39
[INFO] [stderr]   Downloaded jsonrpsee v0.20.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 945c1456f6014e76e3a54e47974c920accfcb1b55e274ffd9b85d6bfc8b83958
[INFO] running `Command { std: "docker" "start" "-a" "945c1456f6014e76e3a54e47974c920accfcb1b55e274ffd9b85d6bfc8b83958", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "945c1456f6014e76e3a54e47974c920accfcb1b55e274ffd9b85d6bfc8b83958", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "945c1456f6014e76e3a54e47974c920accfcb1b55e274ffd9b85d6bfc8b83958", kill_on_drop: false }`
[INFO] [stdout] 945c1456f6014e76e3a54e47974c920accfcb1b55e274ffd9b85d6bfc8b83958
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 144c21394512565417a181df6dd2977056b78576c4f1d7ec8cfb12fe340326f2
[INFO] running `Command { std: "docker" "start" "-a" "144c21394512565417a181df6dd2977056b78576c4f1d7ec8cfb12fe340326f2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]    Compiling async-trait v0.1.74
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking route-recognizer v0.3.1
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking jsonrpsee v0.20.2
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking tracing v0.1.39
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking soketto v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.9
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking beef v0.5.2
[INFO] [stderr]     Checking jsonrpsee-types v0.20.2
[INFO] [stderr]     Checking jsonrpc v0.16.0
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking jsonrpsee-core v0.20.2
[INFO] [stderr]     Checking jsonrpsee-server v0.20.2
[INFO] [stderr]     Checking bitcoin-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/p2p.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let addr: IpAddr = address_split[0].parse().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]    --> src/p2p.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let port: u16 = address_split[1].parse::<u16>().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]  --> src/modules/account.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Account {
[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 function `default` is never used
[INFO] [stdout]   --> src/modules/blockchain.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn default() -> Block {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HasHashField` is never used
[INFO] [stdout]  --> src/modules/generics.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait HasHashField {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/modules/transactions.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn default() -> Transaction {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCOUNTDB` is never used
[INFO] [stdout]   --> src/database.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const ACCOUNTDB: &str = "accounts.json";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hash_insert` is never used
[INFO] [stdout]    --> src/database.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub trait BaseDB {
[INFO] [stdout]     |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn hash_insert<T>(&self, item: T) -> io::Result<()>
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountDB` is never constructed
[INFO] [stdout]    --> src/database.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct AccountDB {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | impl BlockchainDB {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn find(&self, hash: String) -> Block {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn insert(&self, item: Block) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `find_one` are never used
[INFO] [stdout]    --> src/database.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl AccountDB {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 205 |     // create an instance of the Account database
[INFO] [stdout] 206 |     pub fn new() -> AccountDB {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn find_one(&self) -> Option<Account> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl TransactionDB {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn find(&self, hash: String) -> Transaction {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn insert(&self, txn: Transaction) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `all_hashes` is never used
[INFO] [stdout]    --> src/database.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl UnTransactionDB {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 278 |     fn all_hashes(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node` is never read
[INFO] [stdout]   --> src/p2p.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RPCClient {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 27 |     // server address
[INFO] [stdout] 28 |     node: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BroadCast` is never constructed
[INFO] [stdout]   --> src/p2p.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct BroadCast {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/p2p.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl BroadCast {
[INFO] [stdout]     | -------------- associated functions in this implementation
[INFO] [stdout]  36 |     pub fn ping(args: Vec<String>) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     fn get_blockchain(args: Vec<String>) -> Result<Vec<Vec<Block>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     fn new_block(block: Block) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn add_node(address: String) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn get_transactions(args: Vec<String>) -> Result<Vec<Vec<Transaction>>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn new_untransaction<T: Copy + Serialize + DeserializeOwned>(args: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn block_transaction<T: Copy + Serialize + DeserializeOwned>(txn: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_untransaction` and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl RPCServer {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, untxns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ping`, `get_blockchain`, `new_block`, `add_node`, `new_untransaction`, and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl RPCClient {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn ping(&self, args: Vec<String>) -> Result<bool, Error> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn get_blockchain(&self, args: Vec<String>) -> Result<Vec<Block>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn new_block(&self, block: Block) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn add_node(&self, address: String) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, args: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txn: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_clients` is never used
[INFO] [stdout]    --> src/p2p.rs:313:4
[INFO] [stdout]     |
[INFO] [stdout] 313 | fn get_clients() -> Vec<RPCClient> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/p2p.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let addr: IpAddr = address_split[0].parse().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]    --> src/p2p.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |         let port: u16 = address_split[1].parse::<u16>().unwrap();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Account` is never constructed
[INFO] [stdout]  --> src/modules/account.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Account {
[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 function `default` is never used
[INFO] [stdout]   --> src/modules/blockchain.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Block {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 14 |     pub fn default() -> Block {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HasHashField` is never used
[INFO] [stdout]  --> src/modules/generics.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait HasHashField {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/modules/transactions.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn default() -> Transaction {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCOUNTDB` is never used
[INFO] [stdout]   --> src/database.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const ACCOUNTDB: &str = "accounts.json";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hash_insert` is never used
[INFO] [stdout]    --> src/database.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout]  22 | pub trait BaseDB {
[INFO] [stdout]     |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn hash_insert<T>(&self, item: T) -> io::Result<()>
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AccountDB` is never constructed
[INFO] [stdout]    --> src/database.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct AccountDB {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 170 | impl BlockchainDB {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn find(&self, hash: String) -> Block {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn insert(&self, item: Block) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `find_one` are never used
[INFO] [stdout]    --> src/database.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl AccountDB {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 205 |     // create an instance of the Account database
[INFO] [stdout] 206 |     pub fn new() -> AccountDB {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn find_one(&self) -> Option<Account> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find` and `insert` are never used
[INFO] [stdout]    --> src/database.rs:234:8
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl TransactionDB {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn find(&self, hash: String) -> Transaction {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn insert(&self, txn: Transaction) -> io::Result<()> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `all_hashes` is never used
[INFO] [stdout]    --> src/database.rs:278:8
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl UnTransactionDB {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 278 |     fn all_hashes(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `node` is never read
[INFO] [stdout]   --> src/p2p.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct RPCClient {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 27 |     // server address
[INFO] [stdout] 28 |     node: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BroadCast` is never constructed
[INFO] [stdout]   --> src/p2p.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct BroadCast {}
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated functions are never used
[INFO] [stdout]    --> src/p2p.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl BroadCast {
[INFO] [stdout]     | -------------- associated functions in this implementation
[INFO] [stdout]  36 |     pub fn ping(args: Vec<String>) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     fn get_blockchain(args: Vec<String>) -> Result<Vec<Vec<Block>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     fn new_block(block: Block) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     fn add_node(address: String) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn get_transactions(args: Vec<String>) -> Result<Vec<Vec<Transaction>>, Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn new_untransaction<T: Copy + Serialize + DeserializeOwned>(args: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn block_transaction<T: Copy + Serialize + DeserializeOwned>(txn: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `new_untransaction` and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl RPCServer {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, untxns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txns: T) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `ping`, `get_blockchain`, `new_block`, `add_node`, `new_untransaction`, and `block_transaction` are never used
[INFO] [stdout]    --> src/p2p.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 194 | impl RPCClient {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn ping(&self, args: Vec<String>) -> Result<bool, Error> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     fn get_blockchain(&self, args: Vec<String>) -> Result<Vec<Block>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn new_block(&self, block: Block) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn add_node(&self, address: String) -> Result<(), Error> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     fn new_untransaction<T: Serialize + DeserializeOwned>(&self, args: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     fn block_transaction<T: Serialize + DeserializeOwned>(&self, txn: T) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_clients` is never used
[INFO] [stdout]    --> src/p2p.rs:313:4
[INFO] [stdout]     |
[INFO] [stdout] 313 | fn get_clients() -> Vec<RPCClient> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.75s
[INFO] running `Command { std: "docker" "inspect" "144c21394512565417a181df6dd2977056b78576c4f1d7ec8cfb12fe340326f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "144c21394512565417a181df6dd2977056b78576c4f1d7ec8cfb12fe340326f2", kill_on_drop: false }`
[INFO] [stdout] 144c21394512565417a181df6dd2977056b78576c4f1d7ec8cfb12fe340326f2
