[INFO] fetching crate digibyte 0.27.3... [INFO] checking digibyte-0.27.3 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate digibyte 0.27.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate digibyte 0.27.3 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate digibyte 0.27.3 [INFO] finished tweaking crates.io crate digibyte 0.27.3 [INFO] tweaked toml for crates.io crate digibyte 0.27.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate digibyte 0.27.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bech32 v0.7.3 [INFO] [stderr] Downloaded serde_test v1.0.125 [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded bitcoin_hashes v0.9.4 [INFO] [stderr] Downloaded secp256k1 v0.20.1 [INFO] [stderr] Downloaded base64-compat v1.0.0 [INFO] [stderr] Downloaded secp256k1-sys v0.4.0 [INFO] [stderr] Downloaded syn v1.0.70 [INFO] [stderr] Downloaded bitcoinconsensus v0.19.0-2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 028bfc0c0aaae04bd351796d4b56610bd767572c547b1c1aa3faaeeaf390858c [INFO] running `Command { std: "docker" "start" "-a" "028bfc0c0aaae04bd351796d4b56610bd767572c547b1c1aa3faaeeaf390858c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "028bfc0c0aaae04bd351796d4b56610bd767572c547b1c1aa3faaeeaf390858c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028bfc0c0aaae04bd351796d4b56610bd767572c547b1c1aa3faaeeaf390858c", kill_on_drop: false }` [INFO] [stdout] 028bfc0c0aaae04bd351796d4b56610bd767572c547b1c1aa3faaeeaf390858c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdb4a5f38d0e97e6b3c5b32a2740ac4d7eb19808a2dc67efb06de8c0ebe791db [INFO] running `Command { std: "docker" "start" "-a" "bdb4a5f38d0e97e6b3c5b32a2740ac4d7eb19808a2dc67efb06de8c0ebe791db", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Checking bitcoin_hashes v0.9.4 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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] Compiling secp256k1-sys v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking secp256k1 v0.20.1 [INFO] [stderr] Checking serde_test v1.0.125 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking digibyte v0.27.3 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hashes` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | use hashes::{self, Hash, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[macro_use] pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/key.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bech32` is imported redundantly [INFO] [stdout] --> src/util/address.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | use bech32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub extern crate bech32; [INFO] [stdout] | ------------------------ the item `bech32` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/contracthash.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/misc.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hashes` is imported redundantly [INFO] [stdout] --> src/util/psbt/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use hashes; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[macro_use] pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hashes` is imported redundantly [INFO] [stdout] --> src/util/psbt/map/input.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use hashes::{self, hash160, ripemd160, sha256, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[macro_use] pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/network/message_blockdata.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `build_scriptint` is imported redundantly [INFO] [stdout] --> src/blockdata/script.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `build_scriptint` is already imported here [INFO] [stdout] 887 | use super::build_scriptint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `opcodes` is imported redundantly [INFO] [stdout] --> src/blockdata/script.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `opcodes` is already imported here [INFO] [stdout] ... [INFO] [stdout] 891 | use blockdata::opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `PublicKey` is imported redundantly [INFO] [stdout] --> src/blockdata/script.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 886 | use super::*; [INFO] [stdout] | -------- the item `PublicKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 892 | use util::key::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hashes` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | use hashes::{self, Hash, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[macro_use] pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/key.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/util/address.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/util/address.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/util/amount.rs:1089:9 [INFO] [stdout] | [INFO] [stdout] 1087 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 1088 | use std::panic; [INFO] [stdout] 1089 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Default` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:793:9 [INFO] [stdout] | [INFO] [stdout] 790 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 793 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToString` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:794:9 [INFO] [stdout] | [INFO] [stdout] 794 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:796:21 [INFO] [stdout] | [INFO] [stdout] 790 | use super::*; [INFO] [stdout] | -------- the item `secp256k1` is already imported here [INFO] [stdout] ... [INFO] [stdout] 796 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Secp256k1` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:796:27 [INFO] [stdout] | [INFO] [stdout] 790 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] ... [INFO] [stdout] 796 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Network` is imported redundantly [INFO] [stdout] --> src/util/bip32.rs:799:39 [INFO] [stdout] | [INFO] [stdout] 790 | use super::*; [INFO] [stdout] | -------- the item `Network` is already imported here [INFO] [stdout] ... [INFO] [stdout] 799 | use network::constants::Network::{self, Digibyte}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `SigHash` is imported redundantly [INFO] [stdout] --> src/util/bip143.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use hash_types::SigHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `SigHash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Script` is imported redundantly [INFO] [stdout] --> src/util/bip143.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | use blockdata::script::Script; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `Script` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/util/bip143.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | use blockdata::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/contracthash.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Secp256k1` is imported redundantly [INFO] [stdout] --> src/util/contracthash.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | use secp256k1::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Network` is imported redundantly [INFO] [stdout] --> src/util/contracthash.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use network::constants::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | [INFO] [stdout] 286 | use super::*; [INFO] [stdout] | -------- the item `Network` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `PublicKey` is imported redundantly [INFO] [stdout] --> src/util/contracthash.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 286 | use super::*; [INFO] [stdout] | -------- the item `PublicKey` is already imported here [INFO] [stdout] 287 | use PublicKey; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/util/misc.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hashes` is imported redundantly [INFO] [stdout] --> src/util/psbt/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use hashes; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[macro_use] pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hashes` is imported redundantly [INFO] [stdout] --> src/util/psbt/map/input.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use hashes::{self, hash160, ripemd160, sha256, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | #[macro_use] pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `sha256` is imported redundantly [INFO] [stdout] --> src/util/taproot.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 81 | use super::*; [INFO] [stdout] | -------- the item `sha256` is already imported here [INFO] [stdout] ... [INFO] [stdout] 84 | use hashes::{sha256, Hash, HashEngine}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Hash` is imported redundantly [INFO] [stdout] --> src/util/taproot.rs:84:26 [INFO] [stdout] | [INFO] [stdout] 81 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 84 | use hashes::{sha256, Hash, HashEngine}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/util/bip158.rs:513:28 [INFO] [stdout] | [INFO] [stdout] 513 | use std::collections::{HashSet, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | use super::*; [INFO] [stdout] | -------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Cursor` is imported redundantly [INFO] [stdout] --> src/util/bip158.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `BlockHash` is imported redundantly [INFO] [stdout] --> src/util/bip158.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | use hash_types::BlockHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | use super::*; [INFO] [stdout] | -------- the item `BlockHash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `digibyte` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `digibyte` (lib test) due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "bdb4a5f38d0e97e6b3c5b32a2740ac4d7eb19808a2dc67efb06de8c0ebe791db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb4a5f38d0e97e6b3c5b32a2740ac4d7eb19808a2dc67efb06de8c0ebe791db", kill_on_drop: false }` [INFO] [stdout] bdb4a5f38d0e97e6b3c5b32a2740ac4d7eb19808a2dc67efb06de8c0ebe791db