[INFO] cloning repository https://github.com/TigerInYourDream/bitcoin-rpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TigerInYourDream/bitcoin-rpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTigerInYourDream%2Fbitcoin-rpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTigerInYourDream%2Fbitcoin-rpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9392ec3f39baecf212e23c06f56cc68b0b50572 [INFO] testing TigerInYourDream/bitcoin-rpc against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTigerInYourDream%2Fbitcoin-rpc" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TigerInYourDream/bitcoin-rpc on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TigerInYourDream/bitcoin-rpc [INFO] finished tweaking git repo https://github.com/TigerInYourDream/bitcoin-rpc [INFO] tweaked toml for git repo https://github.com/TigerInYourDream/bitcoin-rpc written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/TigerInYourDream/bitcoin-rpc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper v0.12.34 [INFO] [stderr] Downloaded publicsuffix v1.5.3 [INFO] [stderr] Downloaded flate2 v1.0.11 [INFO] [stderr] Downloaded miniz_oxide v0.3.2 [INFO] [stderr] Downloaded unicase v2.5.1 [INFO] [stderr] Downloaded cc v1.0.42 [INFO] [stderr] Downloaded reqwest v0.9.20 [INFO] [stderr] Downloaded openssl-sys v0.9.49 [INFO] [stderr] Downloaded tokio-threadpool v0.1.15 [INFO] [stderr] Downloaded openssl v0.10.24 [INFO] [stderr] Downloaded encoding_rs v0.8.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c2a00e7a3d811afc43bcb4b5c7ab1162a5d56228a0c26bf79e256db4679b892 [INFO] running `Command { std: "docker" "start" "-a" "2c2a00e7a3d811afc43bcb4b5c7ab1162a5d56228a0c26bf79e256db4679b892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c2a00e7a3d811afc43bcb4b5c7ab1162a5d56228a0c26bf79e256db4679b892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2a00e7a3d811afc43bcb4b5c7ab1162a5d56228a0c26bf79e256db4679b892", kill_on_drop: false }` [INFO] [stdout] 2c2a00e7a3d811afc43bcb4b5c7ab1162a5d56228a0c26bf79e256db4679b892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b89e7912dedd80121c6bb1413b7650686a4add3d951a1c8fc69a0ff0b6b97c3f [INFO] running `Command { std: "docker" "start" "-a" "b89e7912dedd80121c6bb1413b7650686a4add3d951a1c8fc69a0ff0b6b97c3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling cc v1.0.42 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling indexmap v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.19 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.34 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling backtrace v0.3.37 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.20 [INFO] [stderr] Compiling bitcoin_rpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PrevTX`, `SignRawTransactionWithWalletOutput` [INFO] [stdout] --> src/client.rs:8:199 [INFO] [stdout] | [INFO] [stdout] 8 | ...RawTransaction, SignRawTransaction, PrevTX, Sendrawtransaction, SignRawTransactionWithWalletOutput, ValidateAddress, DumpPrivkey, Bala... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json::simple` [INFO] [stdout] --> src/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json::simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::blockchaininfo::BlockChainInfo` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use json::blockchaininfo::BlockChainInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::BitcoinRPC` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::client::BitcoinRPC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json::simple` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::json::simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Balance`, `DecodeRawTransaction`, `DumpPrivkey`, `GenerateToAddress`, `RawTransaction`, `Sendrawtransaction`, `SignRawTransaction`, `TxIn`, `Unspent`, `ValidateAddress` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::json::simple::{SignRawTransaction, DecodeRawTransaction, RawTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Sendrawtransaction, ValidateAddress, Balance, NewAddress, GenerateToAddress, Unspent, TxIn, DumpPrivkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/client.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(max) = maxconf { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blockchaininfo` [INFO] [stdout] --> src/client.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn blockchaininfo(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_count` [INFO] [stdout] --> src/client.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn block_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best_block_hash` [INFO] [stdout] --> src/client.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn best_block_hash(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connection_count` [INFO] [stdout] --> src/client.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn connection_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `difficulty` [INFO] [stdout] --> src/client.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn difficulty(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wallet_info` [INFO] [stdout] --> src/client.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn wallet_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_wallet` [INFO] [stdout] --> src/client.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn list_wallet(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_address_groupings` [INFO] [stdout] --> src/client.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn list_address_groupings(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_private_key` [INFO] [stdout] --> src/client.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn import_private_key(&self, private_key: String, label: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_unspent` [INFO] [stdout] --> src/client.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn list_unspent(&self, minconf: Option, maxconf: Option, address: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_raw_transaction` [INFO] [stdout] --> src/client.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn create_raw_transaction(&self, txin: Vec, to_address: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_raw_transaction` [INFO] [stdout] --> src/client.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode_raw_transaction(&self, hexstring: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_rawtransaction_with_wallet` [INFO] [stdout] --> src/client.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn sign_rawtransaction_with_wallet(&self, rawtransaction: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_rawtransaction_with_key` [INFO] [stdout] --> src/client.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn sign_rawtransaction_with_key(&self, rawtransaction: String, private_key: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_rawtransaction_offline` [INFO] [stdout] --> src/client.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn sign_rawtransaction_offline(&self, rawtransaction: String, txid: String, vout: u64, scriptPubKey: String, amount: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rawtransaction` [INFO] [stdout] --> src/client.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn send_rawtransaction(&self, signed_rawtransaction: String, allow_high_fee: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_address` [INFO] [stdout] --> src/client.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn validate_address(&self, address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dumpprivkey` [INFO] [stdout] --> src/client.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn dumpprivkey(&self, address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_to_address` [INFO] [stdout] --> src/client.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn generate_to_address(&self, nblocks: u64, address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fund_rawtransaction` [INFO] [stdout] --> src/client.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn fund_rawtransaction(&self, hex: String, change_address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_transaction` [INFO] [stdout] --> src/client.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn get_transaction(&self, txid: String, include_watchonly: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAIN_URL` [INFO] [stdout] --> src/config.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MAIN_URL: &'static str = "http://192.168.1.7:8332"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/json/simple.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(txid: String, vout: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/json/simple.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn new(txid: String, vout: u64, scriptPubKey: String) -> PrevTX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/json/simple.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn new(txid: String, vout: u64, script_pub_key: String, amount: f64) -> SignOffline { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.24s [INFO] running `Command { std: "docker" "inspect" "b89e7912dedd80121c6bb1413b7650686a4add3d951a1c8fc69a0ff0b6b97c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89e7912dedd80121c6bb1413b7650686a4add3d951a1c8fc69a0ff0b6b97c3f", kill_on_drop: false }` [INFO] [stdout] b89e7912dedd80121c6bb1413b7650686a4add3d951a1c8fc69a0ff0b6b97c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7335492b7f3c93a0ae4a284f7bb5e91363e7eb23393c4fbb2bc21d0bfc33dac0 [INFO] running `Command { std: "docker" "start" "-a" "7335492b7f3c93a0ae4a284f7bb5e91363e7eb23393c4fbb2bc21d0bfc33dac0", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin_rpc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PrevTX`, `SignRawTransactionWithWalletOutput` [INFO] [stdout] --> src/client.rs:8:199 [INFO] [stdout] | [INFO] [stdout] 8 | ...RawTransaction, SignRawTransaction, PrevTX, Sendrawtransaction, SignRawTransactionWithWalletOutput, ValidateAddress, DumpPrivkey, Bala... [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json::simple` [INFO] [stdout] --> src/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::json::simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json::blockchaininfo::BlockChainInfo` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use json::blockchaininfo::BlockChainInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::BitcoinRPC` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::client::BitcoinRPC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json::simple` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::json::simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Balance`, `DecodeRawTransaction`, `DumpPrivkey`, `GenerateToAddress`, `RawTransaction`, `Sendrawtransaction`, `SignRawTransaction`, `TxIn`, `Unspent`, `ValidateAddress` [INFO] [stdout] --> src/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::json::simple::{SignRawTransaction, DecodeRawTransaction, RawTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Sendrawtransaction, ValidateAddress, Balance, NewAddress, GenerateToAddress, Unspent, TxIn, DumpPrivkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/client.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(max) = maxconf { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blockchaininfo` [INFO] [stdout] --> src/client.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn blockchaininfo(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `block_count` [INFO] [stdout] --> src/client.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn block_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best_block_hash` [INFO] [stdout] --> src/client.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn best_block_hash(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connection_count` [INFO] [stdout] --> src/client.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn connection_count(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `difficulty` [INFO] [stdout] --> src/client.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn difficulty(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `wallet_info` [INFO] [stdout] --> src/client.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn wallet_info(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_wallet` [INFO] [stdout] --> src/client.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn list_wallet(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_address_groupings` [INFO] [stdout] --> src/client.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn list_address_groupings(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_private_key` [INFO] [stdout] --> src/client.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | fn import_private_key(&self, private_key: String, label: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_unspent` [INFO] [stdout] --> src/client.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn list_unspent(&self, minconf: Option, maxconf: Option, address: Option>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_raw_transaction` [INFO] [stdout] --> src/client.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn create_raw_transaction(&self, txin: Vec, to_address: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_raw_transaction` [INFO] [stdout] --> src/client.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn decode_raw_transaction(&self, hexstring: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_rawtransaction_with_wallet` [INFO] [stdout] --> src/client.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn sign_rawtransaction_with_wallet(&self, rawtransaction: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_rawtransaction_with_key` [INFO] [stdout] --> src/client.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn sign_rawtransaction_with_key(&self, rawtransaction: String, private_key: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sign_rawtransaction_offline` [INFO] [stdout] --> src/client.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn sign_rawtransaction_offline(&self, rawtransaction: String, txid: String, vout: u64, scriptPubKey: String, amount: f64) -> Resu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rawtransaction` [INFO] [stdout] --> src/client.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn send_rawtransaction(&self, signed_rawtransaction: String, allow_high_fee: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_address` [INFO] [stdout] --> src/client.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn validate_address(&self, address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dumpprivkey` [INFO] [stdout] --> src/client.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn dumpprivkey(&self, address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_to_address` [INFO] [stdout] --> src/client.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn generate_to_address(&self, nblocks: u64, address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fund_rawtransaction` [INFO] [stdout] --> src/client.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn fund_rawtransaction(&self, hex: String, change_address: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_transaction` [INFO] [stdout] --> src/client.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn get_transaction(&self, txid: String, include_watchonly: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAIN_URL` [INFO] [stdout] --> src/config.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MAIN_URL: &'static str = "http://192.168.1.7:8332"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/json/simple.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(txid: String, vout: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/json/simple.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn new(txid: String, vout: u64, scriptPubKey: String) -> PrevTX { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/json/simple.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn new(txid: String, vout: u64, script_pub_key: String, amount: f64) -> SignOffline { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "7335492b7f3c93a0ae4a284f7bb5e91363e7eb23393c4fbb2bc21d0bfc33dac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7335492b7f3c93a0ae4a284f7bb5e91363e7eb23393c4fbb2bc21d0bfc33dac0", kill_on_drop: false }` [INFO] [stdout] 7335492b7f3c93a0ae4a284f7bb5e91363e7eb23393c4fbb2bc21d0bfc33dac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 979c566e68463ae590838254f0e9dd7fa4f1d3dfd705bbabde54c6aef8cb7ce0 [INFO] running `Command { std: "docker" "start" "-a" "979c566e68463ae590838254f0e9dd7fa4f1d3dfd705bbabde54c6aef8cb7ce0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `PrevTX`, `SignRawTransactionWithWalletOutput` [INFO] [stderr] --> src/client.rs:8:199 [INFO] [stderr] | [INFO] [stderr] 8 | ...RawTransaction, SignRawTransaction, PrevTX, Sendrawtransaction, SignRawTransactionWithWalletOutput, ValidateAddress, DumpPrivkey, Bala... [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::json::simple` [INFO] [stderr] --> src/client.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::json::simple; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `json::blockchaininfo::BlockChainInfo` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use json::blockchaininfo::BlockChainInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Value` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::Value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::client::BitcoinRPC` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::client::BitcoinRPC; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::json::simple` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::json::simple; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Balance`, `DecodeRawTransaction`, `DumpPrivkey`, `GenerateToAddress`, `RawTransaction`, `Sendrawtransaction`, `SignRawTransaction`, `TxIn`, `Unspent`, `ValidateAddress` [INFO] [stderr] --> src/main.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::json::simple::{SignRawTransaction, DecodeRawTransaction, RawTransaction, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] 11 | Sendrawtransaction, ValidateAddress, Balance, NewAddress, GenerateToAddress, Unspent, TxIn, DumpPrivkey}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max` [INFO] [stderr] --> src/client.rs:134:21 [INFO] [stderr] | [INFO] [stderr] 134 | if let Some(max) = maxconf { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `blockchaininfo` [INFO] [stderr] --> src/client.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn blockchaininfo(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `block_count` [INFO] [stderr] --> src/client.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn block_count(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `best_block_hash` [INFO] [stderr] --> src/client.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn best_block_hash(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `connection_count` [INFO] [stderr] --> src/client.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn connection_count(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `difficulty` [INFO] [stderr] --> src/client.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn difficulty(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `wallet_info` [INFO] [stderr] --> src/client.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn wallet_info(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_wallet` [INFO] [stderr] --> src/client.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn list_wallet(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_address_groupings` [INFO] [stderr] --> src/client.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn list_address_groupings(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `import_private_key` [INFO] [stderr] --> src/client.rs:109:8 [INFO] [stderr] | [INFO] [stderr] 109 | fn import_private_key(&self, private_key: String, label: Option) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `list_unspent` [INFO] [stderr] --> src/client.rs:125:12 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn list_unspent(&self, minconf: Option, maxconf: Option, address: Option>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_raw_transaction` [INFO] [stderr] --> src/client.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn create_raw_transaction(&self, txin: Vec, to_address: HashMap) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `decode_raw_transaction` [INFO] [stderr] --> src/client.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn decode_raw_transaction(&self, hexstring: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sign_rawtransaction_with_wallet` [INFO] [stderr] --> src/client.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn sign_rawtransaction_with_wallet(&self, rawtransaction: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sign_rawtransaction_with_key` [INFO] [stderr] --> src/client.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn sign_rawtransaction_with_key(&self, rawtransaction: String, private_key: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sign_rawtransaction_offline` [INFO] [stderr] --> src/client.rs:208:12 [INFO] [stderr] | [INFO] [stderr] 208 | pub fn sign_rawtransaction_offline(&self, rawtransaction: String, txid: String, vout: u64, scriptPubKey: String, amount: f64) -> Resu... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send_rawtransaction` [INFO] [stderr] --> src/client.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn send_rawtransaction(&self, signed_rawtransaction: String, allow_high_fee: bool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `validate_address` [INFO] [stderr] --> src/client.rs:233:12 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn validate_address(&self, address: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dumpprivkey` [INFO] [stderr] --> src/client.rs:244:12 [INFO] [stderr] | [INFO] [stderr] 244 | pub fn dumpprivkey(&self, address: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `generate_to_address` [INFO] [stderr] --> src/client.rs:277:12 [INFO] [stderr] | [INFO] [stderr] 277 | pub fn generate_to_address(&self, nblocks: u64, address: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fund_rawtransaction` [INFO] [stderr] --> src/client.rs:293:12 [INFO] [stderr] | [INFO] [stderr] 293 | pub fn fund_rawtransaction(&self, hex: String, change_address: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_transaction` [INFO] [stderr] --> src/client.rs:311:12 [INFO] [stderr] | [INFO] [stderr] 311 | pub fn get_transaction(&self, txid: String, include_watchonly: Option) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAIN_URL` [INFO] [stderr] --> src/config.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | pub const MAIN_URL: &'static str = "http://192.168.1.7:8332"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/json/simple.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn new(txid: String, vout: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/json/simple.rs:218:12 [INFO] [stderr] | [INFO] [stderr] 218 | pub fn new(txid: String, vout: u64, scriptPubKey: String) -> PrevTX { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/json/simple.rs:343:12 [INFO] [stderr] | [INFO] [stderr] 343 | pub fn new(txid: String, vout: u64, script_pub_key: String, amount: f64) -> SignOffline { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcoin_rpc` (bin "bitcoin_rpc" test) generated 34 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bitcoin_rpc-0eb5c33ae2fb6947) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "979c566e68463ae590838254f0e9dd7fa4f1d3dfd705bbabde54c6aef8cb7ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979c566e68463ae590838254f0e9dd7fa4f1d3dfd705bbabde54c6aef8cb7ce0", kill_on_drop: false }` [INFO] [stdout] 979c566e68463ae590838254f0e9dd7fa4f1d3dfd705bbabde54c6aef8cb7ce0