[INFO] fetching crate wagu 0.5.0... [INFO] checking wagu-0.5.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate wagu 0.5.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate wagu 0.5.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate wagu 0.5.0 [INFO] finished tweaking crates.io crate wagu 0.5.0 [INFO] tweaked toml for crates.io crate wagu 0.5.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded hex-slice v0.1.4 [INFO] [stderr] Downloaded clap v2.27.1 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded cc v1.0.26 [INFO] [stderr] Downloaded secp256k1 v0.11.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5e20ec95f211baebd3fe6d41cd968c7f499cf3edb884ea91d3a3d1b12576324e [INFO] running `Command { std: "docker" "start" "-a" "5e20ec95f211baebd3fe6d41cd968c7f499cf3edb884ea91d3a3d1b12576324e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e20ec95f211baebd3fe6d41cd968c7f499cf3edb884ea91d3a3d1b12576324e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e20ec95f211baebd3fe6d41cd968c7f499cf3edb884ea91d3a3d1b12576324e", kill_on_drop: false }` [INFO] [stdout] 5e20ec95f211baebd3fe6d41cd968c7f499cf3edb884ea91d3a3d1b12576324e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01edb1953dd8db6c4a2269e50ef26c5eb232fe17ab886c65a2c390b94fc041ee [INFO] running `Command { std: "docker" "start" "-a" "01edb1953dd8db6c4a2269e50ef26c5eb232fe17ab886c65a2c390b94fc041ee", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking hex-slice v0.1.4 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking ripemd160 v0.7.0 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling secp256k1 v0.11.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking wagu v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `P2WPKH_P2SH` should have an upper camel case name [INFO] [stdout] --> src/bitcoin/address.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | P2WPKH_P2SH, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2wpkhP2sh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monero/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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/monero/error.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | write!(f, "{}", error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P2WPKH_P2SH` should have an upper camel case name [INFO] [stdout] --> src/bitcoin/address.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | P2WPKH_P2SH, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `P2wpkhP2sh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/monero/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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/monero/error.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | write!(f, "{}", error::Error::description(self)) [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/monero/error.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | Io(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/monero/error.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | OpenSsl(Either::Left(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/monero/error.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | OpenSsl(Either::Right(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/monero/error.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | Io(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/monero/error.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | OpenSsl(Either::Left(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/monero/error.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | OpenSsl(Either::Right(ref e)) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monero/wallet.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut buffer = keccak256(spend_keypair.private.as_ref()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monero/wallet.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut buffer = keccak256(spend_keypair.private.as_ref()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wif` [INFO] [stdout] --> src/bitcoin/address.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn from_wif(wif: &str, address_type: &Type) -> Address { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `compressed` [INFO] [stdout] --> src/bitcoin/builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | compressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `testnet` [INFO] [stdout] --> src/bitcoin/builder.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | testnet: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `address_type` [INFO] [stdout] --> src/bitcoin/builder.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | address_type: Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bitcoin/builder.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> WalletBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compressed` [INFO] [stdout] --> src/bitcoin/builder.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn compressed(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `testnet` [INFO] [stdout] --> src/bitcoin/builder.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn testnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mainnet` [INFO] [stdout] --> src/bitcoin/builder.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn mainnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `p2pkh` [INFO] [stdout] --> src/bitcoin/builder.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn p2pkh(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `p2wpkh_p2sh` [INFO] [stdout] --> src/bitcoin/builder.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn p2wpkh_p2sh(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/bitcoin/builder.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn build(&self) -> BitcoinWallet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/bitcoin/network.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_secret_key` [INFO] [stdout] --> src/bitcoin/privatekey.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_secret_key(secret_key: SecretKey, network: Network) -> PrivateKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wif` [INFO] [stdout] --> src/bitcoin/privatekey.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from_wif(wif: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_key` [INFO] [stdout] --> src/bitcoin/privatekey.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn secret_key(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_hex_string` [INFO] [stdout] --> src/bitcoin/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn to_hex_string(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_private_key` [INFO] [stdout] --> src/bitcoin/wallet.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn from_private_key(private_key: PrivateKey, address_type: &Type) -> BitcoinWallet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wif` [INFO] [stdout] --> src/bitcoin/wallet.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_wif(private_key_wif: &str, address_type: &Type) -> BitcoinWallet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `network` [INFO] [stdout] --> src/bitcoin/wallet.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn network(&self) -> &Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compressed` [INFO] [stdout] --> src/bitcoin/wallet.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn compressed(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/bitcoin/wallet.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `address` [INFO] [stdout] --> src/ethereum/address.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn address(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ethereum/builder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> WalletBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_secret_key` [INFO] [stdout] --> src/ethereum/keypair.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_secret_key(secret_key: SecretKey) -> KeyPair { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_secret_key_string` [INFO] [stdout] --> src/ethereum/keypair.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_secret_key_string(secret_key_string: &str) -> SecretKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_key` [INFO] [stdout] --> src/ethereum/keypair.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn secret_key(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `private_key` [INFO] [stdout] --> src/ethereum/keypair.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn private_key(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `public_key` [INFO] [stdout] --> src/ethereum/keypair.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn public_key(&self) -> &PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_key_pair` [INFO] [stdout] --> src/ethereum/wallet.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_key_pair(keypair: KeyPair) -> EthereumWallet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/ethereum/wallet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/monero/builder.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> WalletBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `testnet` [INFO] [stdout] --> src/monero/builder.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn testnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mainnet` [INFO] [stdout] --> src/monero/builder.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn mainnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/monero/builder.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn build(&self) -> MoneroWallet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn into_bytes(self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_bytes(&self) -> &[u8; 32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_bytes(self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn to_bytes(&self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn as_bytes(&self) -> &[u8; 32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/monero/network.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_seed` [INFO] [stdout] --> src/monero/wallet.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn from_seed(network: &Network, seed: [u8; 32]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `public_spend_key` [INFO] [stdout] --> src/monero/wallet.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn public_spend_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `public_view_key` [INFO] [stdout] --> src/monero/wallet.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn public_view_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wif` [INFO] [stdout] --> src/zcash/address.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from_wif(wif: &str) -> Address { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `compressed` [INFO] [stdout] --> src/zcash/builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | compressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `testnet` [INFO] [stdout] --> src/zcash/builder.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | testnet: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/zcash/builder.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> WalletBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compressed` [INFO] [stdout] --> src/zcash/builder.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn compressed(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `testnet` [INFO] [stdout] --> src/zcash/builder.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn testnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mainnet` [INFO] [stdout] --> src/zcash/builder.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn mainnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/zcash/builder.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(&self) -> ZcashWallet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/zcash/network.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_secret_key` [INFO] [stdout] --> src/zcash/privatekey.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn from_secret_key(secret_key: SecretKey, network: Network) -> PrivateKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wif` [INFO] [stdout] --> src/zcash/privatekey.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn from_wif(wif: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_key` [INFO] [stdout] --> src/zcash/privatekey.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn secret_key(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_hex_string` [INFO] [stdout] --> src/zcash/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn to_hex_string(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_private_key` [INFO] [stdout] --> src/zcash/wallet.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn from_private_key(private_key: PrivateKey) -> ZcashWallet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_wif` [INFO] [stdout] --> src/zcash/wallet.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_wif(private_key_wif: &str) -> ZcashWallet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `network` [INFO] [stdout] --> src/zcash/wallet.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn network(&self) -> &Network { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compressed` [INFO] [stdout] --> src/zcash/wallet.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn compressed(&self) -> &bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/zcash/wallet.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 69 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monero/wallet.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut buffer = keccak256(spend_keypair.private.as_ref()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/monero/wallet.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let mut buffer = keccak256(spend_keypair.private.as_ref()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mainnet` [INFO] [stdout] --> src/bitcoin/builder.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn mainnet(&mut self) -> &mut WalletBuilder { [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: `p2pkh` [INFO] [stdout] --> src/bitcoin/builder.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn p2pkh(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `p2wpkh_p2sh` [INFO] [stdout] --> src/bitcoin/builder.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn p2wpkh_p2sh(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_key` [INFO] [stdout] --> src/bitcoin/privatekey.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn secret_key(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_hex_string` [INFO] [stdout] --> src/bitcoin/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn to_hex_string(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/bitcoin/wallet.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ethereum/builder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> WalletBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_key` [INFO] [stdout] --> src/ethereum/keypair.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn secret_key(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `private_key` [INFO] [stdout] --> src/ethereum/keypair.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn private_key(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `public_key` [INFO] [stdout] --> src/ethereum/keypair.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn public_key(&self) -> &PublicKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/ethereum/wallet.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/monero/builder.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> WalletBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `testnet` [INFO] [stdout] --> src/monero/builder.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn testnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mainnet` [INFO] [stdout] --> src/monero/builder.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn mainnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/monero/builder.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn build(&self) -> MoneroWallet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn into_bytes(self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn as_bytes(&self) -> &[u8; 32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn into_bytes(self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn to_bytes(&self) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_bytes` [INFO] [stdout] --> src/monero/ed25519/keys.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn as_bytes(&self) -> &[u8; 32] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/monero/network.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `public_spend_key` [INFO] [stdout] --> src/monero/wallet.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn public_spend_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `public_view_key` [INFO] [stdout] --> src/monero/wallet.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn public_view_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mainnet` [INFO] [stdout] --> src/zcash/builder.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn mainnet(&mut self) -> &mut WalletBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `secret_key` [INFO] [stdout] --> src/zcash/privatekey.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn secret_key(&self) -> &SecretKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_hex_string` [INFO] [stdout] --> src/zcash/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn to_hex_string(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_json` [INFO] [stdout] --> src/zcash/wallet.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.56s [INFO] running `Command { std: "docker" "inspect" "01edb1953dd8db6c4a2269e50ef26c5eb232fe17ab886c65a2c390b94fc041ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01edb1953dd8db6c4a2269e50ef26c5eb232fe17ab886c65a2c390b94fc041ee", kill_on_drop: false }` [INFO] [stdout] 01edb1953dd8db6c4a2269e50ef26c5eb232fe17ab886c65a2c390b94fc041ee