[INFO] fetching crate fswallet 0.1.0-alpha.0... [INFO] checking fswallet-0.1.0-alpha.0 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate fswallet 0.1.0-alpha.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate fswallet 0.1.0-alpha.0 [INFO] finished tweaking crates.io crate fswallet 0.1.0-alpha.0 [INFO] tweaked toml for crates.io crate fswallet 0.1.0-alpha.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fswallet 0.1.0-alpha.0 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding base58 v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding cc v1.0.26 (available: v1.2.57) [INFO] [stderr] Adding clap v2.34.0 (available: v4.6.0) [INFO] [stderr] Adding hdwallet v0.2.2 (available: v0.2.5) [INFO] [stderr] Adding hdwallet-bitcoin v0.2.1 (available: v0.2.5) [INFO] [stderr] Adding hex v0.3.2 (available: v0.4.3) [INFO] [stderr] Adding home v0.3.4 (available: v0.5.12) [INFO] [stderr] Adding rand v0.6.5 (available: v0.10.0) [INFO] [stderr] Adding ring v0.14.6 (available: v0.17.14) [INFO] [stderr] Adding ripemd160 v0.8.0 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generic-array v0.12.4 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded ripemd160 v0.8.0 [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded strsim v0.8.0 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded vec_map v0.8.2 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded atty v0.2.14 [INFO] [stderr] Downloaded hdwallet v0.2.2 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.27 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded cc v1.0.26 [INFO] [stderr] Downloaded textwrap v0.11.0 [INFO] [stderr] Downloaded backtrace v0.3.76 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded addr2line v0.25.1 [INFO] [stderr] Downloaded synstructure v0.12.6 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded base58 v0.1.0 [INFO] [stderr] Downloaded hdwallet-bitcoin v0.2.1 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded gimli v0.32.3 [INFO] [stderr] Downloaded secp256k1 v0.12.2 [INFO] [stderr] Downloaded home v0.3.4 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded object v0.37.3 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded ring v0.14.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dd0927dd505e18d474044846a5dd144e5714b43363a233ba3533ba75a27d65b [INFO] running `Command { std: "docker" "start" "-a" "8dd0927dd505e18d474044846a5dd144e5714b43363a233ba3533ba75a27d65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dd0927dd505e18d474044846a5dd144e5714b43363a233ba3533ba75a27d65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd0927dd505e18d474044846a5dd144e5714b43363a233ba3533ba75a27d65b", kill_on_drop: false }` [INFO] [stdout] 8dd0927dd505e18d474044846a5dd144e5714b43363a233ba3533ba75a27d65b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9695a93d7ee6b939381df51e03ee48f328dc9ec54fe4d145d426b733d3b72d0 [INFO] running `Command { std: "docker" "start" "-a" "a9695a93d7ee6b939381df51e03ee48f328dc9ec54fe4d145d426b733d3b72d0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling secp256k1 v0.12.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hdwallet v0.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking home v0.3.4 [INFO] [stderr] Checking hdwallet-bitcoin v0.2.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking fswallet v0.1.0-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::hex::ToHex` [INFO] [stdout] --> src/cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Arg`, and `SubCommand` [INFO] [stdout] --> src/cli.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hdwallet_bitcoin::Network as BitcoinNetwork` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hdwallet_bitcoin::Network as BitcoinNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/cli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `self` [INFO] [stdout] --> src/cli.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/cli.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Derivation` and `KeySeed` [INFO] [stdout] --> src/key_manage.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Derivation, ExtendedPrivKey, KeySeed, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Network` and `PrivKey as BitcoinPrivKey` [INFO] [stdout] --> src/key_manage.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use hdwallet_bitcoin::{Network, PrivKey as BitcoinPrivKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::key::KeyFile` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::key::KeyFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::key_manage::KeyManage` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::key_manage::KeyManage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::key_store::KeyStore` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::key_store::KeyStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::hex::ToHex` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExtendedPrivKey` and `KeySeed` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use hdwallet::{ExtendedPrivKey, KeySeed}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hdwallet_bitcoin::Network as BitcoinNetwork` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hdwallet_bitcoin::Network as BitcoinNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `self` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::hex::ToHex` [INFO] [stdout] --> src/cli.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::util::hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Arg`, and `SubCommand` [INFO] [stdout] --> src/cli.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use clap::{App, Arg, ArgMatches, SubCommand}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hdwallet_bitcoin::Network as BitcoinNetwork` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hdwallet_bitcoin::Network as BitcoinNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/cli.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `self` [INFO] [stdout] --> src/cli.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/cli.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Derivation` and `KeySeed` [INFO] [stdout] --> src/key_manage.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Derivation, ExtendedPrivKey, KeySeed, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Network` and `PrivKey as BitcoinPrivKey` [INFO] [stdout] --> src/key_manage.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use hdwallet_bitcoin::{Network, PrivKey as BitcoinPrivKey}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::key::KeyFile` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::key::KeyFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::key_manage::KeyManage` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::key_manage::KeyManage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::key_store::KeyStore` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::key_store::KeyStore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::hex::ToHex` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::hex::ToHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExtendedPrivKey` and `KeySeed` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use hdwallet::{ExtendedPrivKey, KeySeed}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hdwallet_bitcoin::Network as BitcoinNetwork` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hdwallet_bitcoin::Network as BitcoinNetwork; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File` and `self` [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_matches` [INFO] [stdout] --> src/cli.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | ("list", Some(sub_matches)) => match key_store.read_key_names() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_matches` [INFO] [stdout] --> src/cli.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | ("list", Some(sub_matches)) => match key_store.read_key_names() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/serde.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn ser_hex(data: &[u8], mut serializer: S) -> Result [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/serde.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn ser_hex(data: &[u8], mut serializer: S) -> Result [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | key_store.write_key(key, key_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = key_store.write_key(key, key_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/cli.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | key_store.write_key(key, key_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = key_store.write_key(key, key_file); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WalletError` [INFO] [stdout] 5 | pub enum WalletError { [INFO] [stdout] | ----------- `WalletError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WalletError` [INFO] [stdout] 5 | pub enum WalletError { [INFO] [stdout] | ----------- `WalletError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WalletError` [INFO] [stdout] 5 | pub enum WalletError { [INFO] [stdout] | ----------- `WalletError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WalletError` [INFO] [stdout] 5 | pub enum WalletError { [INFO] [stdout] | ----------- `WalletError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.07s [INFO] running `Command { std: "docker" "inspect" "a9695a93d7ee6b939381df51e03ee48f328dc9ec54fe4d145d426b733d3b72d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9695a93d7ee6b939381df51e03ee48f328dc9ec54fe4d145d426b733d3b72d0", kill_on_drop: false }` [INFO] [stdout] a9695a93d7ee6b939381df51e03ee48f328dc9ec54fe4d145d426b733d3b72d0