[INFO] fetching crate komodo_rpc_client 0.1.2... [INFO] building komodo_rpc_client-0.1.2 against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] extracting crate komodo_rpc_client 0.1.2 into /workspace/builds/worker-30/source [INFO] validating manifest of crates.io crate komodo_rpc_client 0.1.2 on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate komodo_rpc_client 0.1.2 [INFO] finished tweaking crates.io crate komodo_rpc_client 0.1.2 [INFO] tweaked toml for crates.io crate komodo_rpc_client 0.1.2 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] crate crates.io crate komodo_rpc_client 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "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 native-tls v0.2.1 [INFO] [stderr] Downloaded bitcoin-bech32 v0.8.1 [INFO] [stderr] Downloaded openssl v0.10.13 [INFO] [stderr] Downloaded encoding_rs v0.8.10 [INFO] [stderr] Downloaded syn v0.15.12 [INFO] [stderr] Downloaded bech32 v0.5.0 [INFO] [stderr] Downloaded openssl-sys v0.9.38 [INFO] [stderr] Downloaded os_info v1.1.0 [INFO] [stderr] Downloaded secp256k1 v0.11.2 [INFO] [stderr] Downloaded bitcoin v0.14.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a551759068955df59024a3942f026acaacbc7de1d6f19df4f0a5353405382cdb [INFO] running `Command { std: "docker" "start" "-a" "a551759068955df59024a3942f026acaacbc7de1d6f19df4f0a5353405382cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a551759068955df59024a3942f026acaacbc7de1d6f19df4f0a5353405382cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a551759068955df59024a3942f026acaacbc7de1d6f19df4f0a5353405382cdb", kill_on_drop: false }` [INFO] [stdout] a551759068955df59024a3942f026acaacbc7de1d6f19df4f0a5353405382cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e1a39a19713ea411c85b6542da9bea46f77d49e35d08ac51af0ea9a08212203 [INFO] running `Command { std: "docker" "start" "-a" "2e1a39a19713ea411c85b6542da9bea46f77d49e35d08ac51af0ea9a08212203", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling openssl v0.10.13 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling bech32 v0.5.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling os_info v1.1.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling bitcoin-bech32 v0.8.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling openssl-sys v0.9.38 [INFO] [stderr] Compiling secp256k1 v0.11.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling syn v0.15.12 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.9 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.13 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.2 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling bitcoin v0.14.2 [INFO] [stderr] Compiling hyper v0.12.16 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.5 [INFO] [stderr] Compiling komodo_rpc_client v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/types/arguments/address.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SerializedRawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ::{TransactionId, SerializedRawTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedRawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use ::{ApiError, SignedRawTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::arguments::keys::Rescan::No` [INFO] [stdout] --> src/types/arguments/transaction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use types::arguments::keys::Rescan::No; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use RawTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P2SHInput` [INFO] [stdout] --> src/komodo_rpc_api.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use types::arguments::{SendManyAmounts, P2SHInput, P2SHInputSet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | ApiError::ParseInt(ref err) => write!(f, "Parse error: {:?}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:74 [INFO] [stdout] | [INFO] [stdout] 32 | ApiError::Hex(ref err) => write!(f, "Parse error: {:?}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | ApiError::RPC(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | ApiError::Client(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | ApiError::IO(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ApiError::ParseInt(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | ApiError::Hex(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | ClientError::Transport(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | ClientError::Json(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | write!(f, "Something bad happened: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/komodocore.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/komodocore.rs:712:49 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rescan` [INFO] [stdout] --> src/komodocore.rs:712:72 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rescan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/komodocore.rs:746:29 [INFO] [stdout] | [INFO] [stdout] 746 | fn import_wallet(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/komodocore.rs:1098:26 [INFO] [stdout] | [INFO] [stdout] 1098 | fn set_pubkey(&self, pubkey: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/komodocore.rs:1131:34 [INFO] [stdout] | [INFO] [stdout] 1131 | fn z_exportviewingkey(&self, a: &Address) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/types/arguments/keys.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from(key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.88s [INFO] running `Command { std: "docker" "inspect" "2e1a39a19713ea411c85b6542da9bea46f77d49e35d08ac51af0ea9a08212203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1a39a19713ea411c85b6542da9bea46f77d49e35d08ac51af0ea9a08212203", kill_on_drop: false }` [INFO] [stdout] 2e1a39a19713ea411c85b6542da9bea46f77d49e35d08ac51af0ea9a08212203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c389280fa96b0eefa9ab19778b09fda9b0baf26fcbbdfc6fa332202b21d5788 [INFO] running `Command { std: "docker" "start" "-a" "5c389280fa96b0eefa9ab19778b09fda9b0baf26fcbbdfc6fa332202b21d5788", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/types/arguments/address.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SerializedRawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ::{TransactionId, SerializedRawTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedRawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use ::{ApiError, SignedRawTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::arguments::keys::Rescan::No` [INFO] [stdout] --> src/types/arguments/transaction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use types::arguments::keys::Rescan::No; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use RawTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P2SHInput` [INFO] [stdout] --> src/komodo_rpc_api.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use types::arguments::{SendManyAmounts, P2SHInput, P2SHInputSet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | ApiError::ParseInt(ref err) => write!(f, "Parse error: {:?}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:74 [INFO] [stdout] | [INFO] [stdout] 32 | ApiError::Hex(ref err) => write!(f, "Parse error: {:?}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | ApiError::RPC(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | ApiError::Client(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | ApiError::IO(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ApiError::ParseInt(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | ApiError::Hex(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | ClientError::Transport(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | ClientError::Json(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | write!(f, "Something bad happened: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/komodocore.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/komodocore.rs:712:49 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rescan` [INFO] [stdout] --> src/komodocore.rs:712:72 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rescan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/komodocore.rs:746:29 [INFO] [stdout] | [INFO] [stdout] 746 | fn import_wallet(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/komodocore.rs:1098:26 [INFO] [stdout] | [INFO] [stdout] 1098 | fn set_pubkey(&self, pubkey: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling komodo_rpc_client v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/komodocore.rs:1131:34 [INFO] [stdout] | [INFO] [stdout] 1131 | fn z_exportviewingkey(&self, a: &Address) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/types/arguments/keys.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from(key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> examples/get_address_tx_ids.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => println!("{:?}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/types/arguments/address.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SerializedRawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use ::{TransactionId, SerializedRawTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedRawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use ::{ApiError, SignedRawTransaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::arguments::keys::Rescan::No` [INFO] [stdout] --> src/types/arguments/transaction.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use types::arguments::keys::Rescan::No; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawTransaction` [INFO] [stdout] --> src/types/arguments/transaction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use RawTransaction; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P2SHInput` [INFO] [stdout] --> src/komodo_rpc_api.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use types::arguments::{SendManyAmounts, P2SHInput, P2SHInputSet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 51 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:31:79 [INFO] [stdout] | [INFO] [stdout] 31 | ApiError::ParseInt(ref err) => write!(f, "Parse error: {:?}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:74 [INFO] [stdout] | [INFO] [stdout] 32 | ApiError::Hex(ref err) => write!(f, "Parse error: {:?}", err.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | ApiError::RPC(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | ApiError::Client(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | ApiError::IO(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | ApiError::ParseInt(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | ApiError::Hex(ref cause) => cause.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | ClientError::Transport(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | ClientError::Json(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/rpcconn/client.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | write!(f, "Something bad happened: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/komodocore.rs:712:30 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/komodocore.rs:712:49 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rescan` [INFO] [stdout] --> src/komodocore.rs:712:72 [INFO] [stdout] | [INFO] [stdout] 712 | fn import_address(&self, address: &Address, label: Option, rescan: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rescan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/komodocore.rs:746:29 [INFO] [stdout] | [INFO] [stdout] 746 | fn import_wallet(&self, path: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/komodocore.rs:1098:26 [INFO] [stdout] | [INFO] [stdout] 1098 | fn set_pubkey(&self, pubkey: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/komodocore.rs:1131:34 [INFO] [stdout] | [INFO] [stdout] 1131 | fn z_exportviewingkey(&self, a: &Address) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/types/arguments/keys.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from(key: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.73s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/komodo_rpc_client-ae39b544d0a8dec8) [INFO] running `Command { std: "docker" "inspect" "5c389280fa96b0eefa9ab19778b09fda9b0baf26fcbbdfc6fa332202b21d5788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c389280fa96b0eefa9ab19778b09fda9b0baf26fcbbdfc6fa332202b21d5788", kill_on_drop: false }` [INFO] [stdout] 5c389280fa96b0eefa9ab19778b09fda9b0baf26fcbbdfc6fa332202b21d5788