[INFO] fetching crate bitcoin 0.30.2... [INFO] checking bitcoin-0.30.2 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate bitcoin 0.30.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bitcoin 0.30.2 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 bitcoin 0.30.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bitcoin 0.30.2 [INFO] tweaked toml for crates.io crate bitcoin 0.30.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate bitcoin 0.30.2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded hex_lit v0.1.1 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded serde_test v1.0.176 [INFO] [stderr] Downloaded bech32 v0.9.1 [INFO] [stderr] Downloaded bitcoin-private v0.1.0 [INFO] [stderr] Downloaded bincode v1.3.3 [INFO] [stderr] Downloaded core2 v0.3.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.12.0 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded secp256k1 v0.27.0 [INFO] [stderr] Downloaded memchr v2.6.4 [INFO] [stderr] Downloaded cc v1.0.83 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded libc v0.2.150 [INFO] [stderr] Downloaded bitcoinconsensus v0.20.2-0.5.0 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded secp256k1-sys v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 31438b905340ed315c487ecdf97ca4def17a44235879243b07b36be4510fef3e [INFO] running `Command { std: "docker" "start" "-a" "31438b905340ed315c487ecdf97ca4def17a44235879243b07b36be4510fef3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31438b905340ed315c487ecdf97ca4def17a44235879243b07b36be4510fef3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31438b905340ed315c487ecdf97ca4def17a44235879243b07b36be4510fef3e", kill_on_drop: false }` [INFO] [stdout] 31438b905340ed315c487ecdf97ca4def17a44235879243b07b36be4510fef3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 246d77716957ec34b52e7b431e7139fdc979d0b8ce30b46ce141cb622fec156f [INFO] running `Command { std: "docker" "start" "-a" "246d77716957ec34b52e7b431e7139fdc979d0b8ce30b46ce141cb622fec156f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling bitcoin v0.30.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stdout] error: couldn't read `src/network/../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/network/message.rs:541:41 [INFO] [stdout] | [INFO] [stdout] 541 | ...ialize(&include_bytes!("../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw")[..]).unw... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../tests/data/blockfilters.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/bip158.rs:570:20 [INFO] [stdout] | [INFO] [stdout] 570 | let data = include_str!("../tests/data/blockfilters.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/network/constants.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::prelude::{String, ToOwned}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/network/constants.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::prelude::{String, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bech32` is imported redundantly [INFO] [stdout] --> src/address.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use bech32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern crate bech32; [INFO] [stdout] | ------------------------ the item `bech32` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/bip32.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use secp256k1::{self, Secp256k1, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/blockdata/opcodes.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use core::{fmt, convert::From}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/blockdata/script/mod.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/script/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/blockdata/script/push_bytes.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | #[allow(unused)] [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | use core::{cmp, fmt, str, default::Default}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hashes` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::hashes::{self, Hash, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | use core::{fmt, mem, u32, convert::From}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DisplayHex` is imported redundantly [INFO] [stdout] --> src/crypto/ecdsa.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bitcoin_internals::hex::display::DisplayHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `DisplayHex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/ecdsa.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPair`, `Parity`, `Secp256k1`, `Verification`, `XOnlyPublicKey`, `constants` [INFO] [stdout] --> src/crypto/taproot.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub use secp256k1::{self, constants, Secp256k1, KeyPair, XOnlyPublicKey, Verification, Parity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/taproot.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub use secp256k1::{self, constants, Secp256k1, KeyPair, XOnlyPublicKey, Verification, Parity}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/pow.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::prelude::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/serialize.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use secp256k1::{self, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hashes` is imported redundantly [INFO] [stdout] --> src/psbt/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::hashes; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hashes` is imported redundantly [INFO] [stdout] --> src/psbt/map/input.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::hashes::{self, hash160, ripemd160, sha256, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/psbt/map/output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core; [INFO] [stdout] | ^^^^ the item `core` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/map/output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/sign_message.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/string.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::prelude::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/taproot.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use secp256k1::{self, Scalar, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/blockdata/../../tests/data/huge_witness.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/blockdata/transaction.rs:1765:42 [INFO] [stdout] | [INFO] [stdout] 1765 | deserialize::(&hex!(include_str!("../../tests/data/huge_witness.hex").trim())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/blockdata/../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/blockdata/block.rs:490:28 [INFO] [stdout] | [INFO] [stdout] 490 | ...block = include_bytes!("../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw").to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/merkle_tree/../../tests/data/merkle_block.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/merkle_tree/block.rs:664:22 [INFO] [stdout] | [INFO] [stdout] 664 | let mb_hex = include_str!("../../tests/data/merkle_block.hex"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/merkle_tree/../../tests/data/block_13b8a.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/merkle_tree/block.rs:756:25 [INFO] [stdout] | [INFO] [stdout] 756 | let block_hex = include_str!("../../tests/data/block_13b8a.hex"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/merkle_tree/../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/merkle_tree/mod.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | ...block = include_bytes!("../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/psbt/../../tests/data/psbt1.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/psbt/mod.rs:1591:35 [INFO] [stdout] | [INFO] [stdout] 1591 | let mut psbt1 = hex_psbt!(include_str!("../../tests/data/psbt1.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/psbt/../../tests/data/psbt2.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/psbt/mod.rs:1592:31 [INFO] [stdout] | [INFO] [stdout] 1592 | let psbt2 = hex_psbt!(include_str!("../../tests/data/psbt2.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/psbt/../../tests/data/psbt2.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/psbt/mod.rs:1593:39 [INFO] [stdout] | [INFO] [stdout] 1593 | let psbt_combined = hex_psbt!(include_str!("../../tests/data/psbt2.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/psbt/../../tests/data/psbt1.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/psbt/mod.rs:1601:35 [INFO] [stdout] | [INFO] [stdout] 1601 | let mut psbt1 = hex_psbt!(include_str!("../../tests/data/psbt1.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/psbt/../../tests/data/psbt2.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/psbt/mod.rs:1602:35 [INFO] [stdout] | [INFO] [stdout] 1602 | let mut psbt2 = hex_psbt!(include_str!("../../tests/data/psbt2.hex")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../tests/data/bip341_tests.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/taproot.rs:1998:24 [INFO] [stdout] | [INFO] [stdout] 1998 | let json_str = include_str!("../tests/data/bip341_tests.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/network/constants.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::prelude::{String, ToOwned}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/network/constants.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::prelude::{String, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandString` is imported redundantly [INFO] [stdout] --> src/network/message.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ - the item `CommandString` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NetworkMessage` is imported redundantly [INFO] [stdout] --> src/network/message.rs:516:32 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^ - the item `NetworkMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RawNetworkMessage` is imported redundantly [INFO] [stdout] --> src/network/message.rs:516:48 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ - the item `RawNetworkMessage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `block` is imported redundantly [INFO] [stdout] --> src/network/message.rs:518:35 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `block` is already imported here [INFO] [stdout] 517 | use crate::bip152::BlockTransactionsRequest; [INFO] [stdout] 518 | use crate::blockdata::block::{self, Block}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialize` is imported redundantly [INFO] [stdout] --> src/network/message.rs:521:70 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `serialize` is already imported here [INFO] [stdout] ... [INFO] [stdout] 521 | use crate::consensus::encode::{deserialize, deserialize_partial, serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AddrV2Message` is imported redundantly [INFO] [stdout] --> src/network/message.rs:525:43 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `AddrV2Message` is already imported here [INFO] [stdout] ... [INFO] [stdout] 525 | use crate::network::address::{AddrV2, AddrV2Message, Address}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/network/message.rs:525:58 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `Address` is already imported here [INFO] [stdout] ... [INFO] [stdout] 525 | use crate::network::address::{AddrV2, AddrV2Message, Address}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Magic` is imported redundantly [INFO] [stdout] --> src/network/message.rs:526:37 [INFO] [stdout] | [INFO] [stdout] 516 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `Magic` is already imported here [INFO] [stdout] ... [INFO] [stdout] 526 | use crate::network::constants::{Magic, Network, ServiceFlags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/network/message_blockdata.rs:130:54 [INFO] [stdout] | [INFO] [stdout] 130 | use super::{GetBlocksMessage, GetHeadersMessage, Vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bech32` is imported redundantly [INFO] [stdout] --> src/address.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use bech32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern crate bech32; [INFO] [stdout] | ------------------------ the item `bech32` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/address.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XOnlyPublicKey` is imported redundantly [INFO] [stdout] --> src/address.rs:1180:9 [INFO] [stdout] | [INFO] [stdout] 1180 | use secp256k1::XOnlyPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1181 | [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `XOnlyPublicKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PublicKey` is imported redundantly [INFO] [stdout] --> src/address.rs:1183:9 [INFO] [stdout] | [INFO] [stdout] 1182 | use super::*; [INFO] [stdout] | -------- the item `PublicKey` is already imported here [INFO] [stdout] 1183 | use crate::crypto::key::PublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/amount.rs:1552:9 [INFO] [stdout] | [INFO] [stdout] 1552 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1559 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/bip152.rs:381:55 [INFO] [stdout] | [INFO] [stdout] 375 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 381 | CompactTarget, OutPoint, ScriptBuf, Sequence, Transaction, TxIn, TxOut, Txid, Witness, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockHash` is imported redundantly [INFO] [stdout] --> src/bip158.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 561 | use super::*; [INFO] [stdout] | -------- the item `BlockHash` is already imported here [INFO] [stdout] 562 | use crate::consensus::encode::deserialize; [INFO] [stdout] 563 | use crate::hash_types::BlockHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/bip32.rs:853:9 [INFO] [stdout] | [INFO] [stdout] 853 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/bip32.rs:855:21 [INFO] [stdout] | [INFO] [stdout] 855 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | use super::*; [INFO] [stdout] | -------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Secp256k1` is imported redundantly [INFO] [stdout] --> src/bip32.rs:855:27 [INFO] [stdout] | [INFO] [stdout] 855 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Network` is imported redundantly [INFO] [stdout] --> src/bip32.rs:860:46 [INFO] [stdout] | [INFO] [stdout] 858 | use super::*; [INFO] [stdout] | -------- the item `Network` is already imported here [INFO] [stdout] 859 | use crate::internal_macros::hex; [INFO] [stdout] 860 | use crate::network::constants::Network::{self, Bitcoin}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Network` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | use super::*; [INFO] [stdout] | -------- the item `Network` is already imported here [INFO] [stdout] 193 | use crate::network::constants::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `absolute` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 192 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] ... [INFO] [stdout] 195 | use crate::blockdata::locktime::absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/blockdata/opcodes.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use core::{fmt, convert::From}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/blockdata/script/mod.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/script/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScriptHash` is imported redundantly [INFO] [stdout] --> src/blockdata/script/tests.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `ScriptHash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::hash_types::{PubkeyHash, WPubkeyHash, ScriptHash, WScriptHash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WScriptHash` is imported redundantly [INFO] [stdout] --> src/blockdata/script/tests.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `WScriptHash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::hash_types::{PubkeyHash, WPubkeyHash, ScriptHash, WScriptHash}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `opcodes` is imported redundantly [INFO] [stdout] --> src/blockdata/script/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `opcodes` is already imported here [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::blockdata::opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/blockdata/script/push_bytes.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | #[allow(unused)] [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | use core::{cmp, fmt, str, default::Default}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WITNESS_SCALE_FACTOR` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:1434:9 [INFO] [stdout] | [INFO] [stdout] 1430 | use super::*; [INFO] [stdout] | -------- the item `WITNESS_SCALE_FACTOR` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1434 | use crate::blockdata::constants::WITNESS_SCALE_FACTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScriptBuf` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:1435:9 [INFO] [stdout] | [INFO] [stdout] 1430 | use super::*; [INFO] [stdout] | -------- the item `ScriptBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1435 | use crate::blockdata::script::ScriptBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `absolute` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:1436:9 [INFO] [stdout] | [INFO] [stdout] 1430 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1436 | use crate::blockdata::locktime::absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ecdsa` is imported redundantly [INFO] [stdout] --> src/blockdata/witness.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 490 | use super::*; [INFO] [stdout] | -------- the item `ecdsa` is already imported here [INFO] [stdout] ... [INFO] [stdout] 495 | use crate::secp256k1::ecdsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | use core::{fmt, mem, u32, convert::From}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:809:22 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:809:43 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `deserialize` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `deserialize` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] 810 | use super::{deserialize, serialize, Error, CheckedData, VarInt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serialize` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:810:30 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `serialize` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] 810 | use super::{deserialize, serialize, Error, CheckedData, VarInt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:810:41 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] 810 | use super::{deserialize, serialize, Error, CheckedData, VarInt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CheckedData` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:810:48 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `CheckedData` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] 810 | use super::{deserialize, serialize, Error, CheckedData, VarInt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VarInt` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:810:61 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `VarInt` is already imported here [INFO] [stdout] 809 | use core::{mem::{self, discriminant}, fmt}; [INFO] [stdout] 810 | use super::{deserialize, serialize, Error, CheckedData, VarInt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:811:17 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 811 | use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockHash` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:811:30 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `BlockHash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 811 | use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FilterHash` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:811:41 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `FilterHash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 811 | use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxMerkleNode` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:811:53 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `TxMerkleNode` is already imported here [INFO] [stdout] ... [INFO] [stdout] 811 | use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:811:67 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 811 | use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxIn` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:811:74 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `TxIn` is already imported here [INFO] [stdout] ... [INFO] [stdout] 811 | use super::{Transaction, BlockHash, FilterHash, TxMerkleNode, TxOut, TxIn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encodable` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:812:28 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `Encodable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 812 | use crate::consensus::{Encodable, deserialize_partial, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `deserialize_partial` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:812:39 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `deserialize_partial` is already imported here [INFO] [stdout] ... [INFO] [stdout] 812 | use crate::consensus::{Encodable, deserialize_partial, Decodable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Decodable` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:812:60 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `Decodable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 812 | use crate::consensus::{Encodable, deserialize_partial, Decodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:814:26 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `Address` is already imported here [INFO] [stdout] ... [INFO] [stdout] 814 | use crate::network::{Address, message_blockdata::Inventory}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Inventory` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:814:35 [INFO] [stdout] | [INFO] [stdout] 808 | use super::*; [INFO] [stdout] | -------- the item `Inventory` is already imported here [INFO] [stdout] ... [INFO] [stdout] 814 | use crate::network::{Address, message_blockdata::Inventory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DisplayHex` is imported redundantly [INFO] [stdout] --> src/crypto/ecdsa.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use bitcoin_internals::hex::display::DisplayHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `DisplayHex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/ecdsa.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 762 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] 763 | [INFO] [stdout] 764 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 762 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] ... [INFO] [stdout] 766 | use secp256k1::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromHex` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 762 | use super::*; [INFO] [stdout] | -------- the item `FromHex` is already imported here [INFO] [stdout] ... [INFO] [stdout] 769 | use crate::hashes::hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 762 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 770 | use crate::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Borrow` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LegacySighash` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:1126:34 [INFO] [stdout] | [INFO] [stdout] 1121 | use super::*; [INFO] [stdout] | -------- the item `LegacySighash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1126 | use crate::crypto::sighash::{LegacySighash, TapSighash}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TapSighash` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:1126:49 [INFO] [stdout] | [INFO] [stdout] 1121 | use super::*; [INFO] [stdout] | -------- the item `TapSighash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1126 | use crate::crypto::sighash::{LegacySighash, TapSighash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TapLeafHash` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1121 | use super::*; [INFO] [stdout] | -------- the item `TapLeafHash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1131 | use crate::taproot::TapLeafHash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPair`, `Parity`, `Secp256k1`, `Verification`, `XOnlyPublicKey`, `constants` [INFO] [stdout] --> src/crypto/taproot.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | pub use secp256k1::{self, constants, Secp256k1, KeyPair, XOnlyPublicKey, Verification, Parity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/taproot.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub use secp256k1::{self, constants, Secp256k1, KeyPair, XOnlyPublicKey, Verification, Parity}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Block` is imported redundantly [INFO] [stdout] --> src/merkle_tree/block.rs:531:17 [INFO] [stdout] | [INFO] [stdout] 524 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] ... [INFO] [stdout] 531 | use crate::{Block, Txid}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Txid` is imported redundantly [INFO] [stdout] --> src/merkle_tree/block.rs:531:24 [INFO] [stdout] | [INFO] [stdout] 524 | use super::*; [INFO] [stdout] | -------- the item `Txid` is already imported here [INFO] [stdout] ... [INFO] [stdout] 531 | use crate::{Block, Txid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/pow.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::prelude::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/serialize.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use secp256k1::{self, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/psbt/serialize.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 436 | [INFO] [stdout] 437 | use super::*; [INFO] [stdout] | -------- the item `TryFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hashes` is imported redundantly [INFO] [stdout] --> src/psbt/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::hashes; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hashes` is imported redundantly [INFO] [stdout] --> src/psbt/map/input.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::hashes::{self, hash160, ripemd160, sha256, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub extern crate bitcoin_hashes as hashes; [INFO] [stdout] | ------------------------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `core` is imported redundantly [INFO] [stdout] --> src/psbt/map/output.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core; [INFO] [stdout] | ^^^^ the item `core` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/map/output.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:810:21 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] ... [INFO] [stdout] 810 | use secp256k1::{Secp256k1, self}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:810:32 [INFO] [stdout] | [INFO] [stdout] 810 | use secp256k1::{Secp256k1, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScriptBuf` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:814:9 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `ScriptBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 814 | use crate::blockdata::script::ScriptBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:815:41 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 815 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:815:60 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 815 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExtendedPrivKey` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:817:37 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `ExtendedPrivKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 817 | use crate::bip32::{ChildNumber, ExtendedPrivKey, ExtendedPubKey, KeySource}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExtendedPubKey` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:817:54 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `ExtendedPubKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 817 | use crate::bip32::{ChildNumber, ExtendedPrivKey, ExtendedPubKey, KeySource}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeySource` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:817:70 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `KeySource` is already imported here [INFO] [stdout] ... [INFO] [stdout] 817 | use crate::bip32::{ChildNumber, ExtendedPrivKey, ExtendedPubKey, KeySource}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Output` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:818:28 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `Output` is already imported here [INFO] [stdout] ... [INFO] [stdout] 818 | use crate::psbt::map::{Output, Input}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:818:36 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 818 | use crate::psbt::map::{Output, Input}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `raw` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:819:9 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `raw` is already imported here [INFO] [stdout] ... [INFO] [stdout] 819 | use crate::psbt::raw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:822:9 [INFO] [stdout] | [INFO] [stdout] 804 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 822 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScriptBuf` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1067:13 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `ScriptBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1067 | use crate::blockdata::script::ScriptBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1068:45 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1068 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxIn` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1068:58 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `TxIn` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1068 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1068:64 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1068 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OutPoint` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1068:71 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `OutPoint` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1068 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sequence` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1068:81 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `Sequence` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1068 | use crate::blockdata::transaction::{Transaction, TxIn, TxOut, OutPoint, Sequence}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `absolute` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1069 | use crate::blockdata::locktime::absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1070:37 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1070 | use crate::psbt::map::{Map, Input, Output}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Output` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1070:44 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `Output` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1070 | use crate::psbt::map::{Map, Input, Output}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `raw` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1071:27 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `raw` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1071 | use crate::psbt::{raw, PartiallySignedTransaction, Error}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartiallySignedTransaction` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1071:32 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `PartiallySignedTransaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1071 | use crate::psbt::{raw, PartiallySignedTransaction, Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1071:60 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1071 | use crate::psbt::{raw, PartiallySignedTransaction, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EcdsaSighashType` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1072:13 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `EcdsaSighashType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1072 | use crate::sighash::EcdsaSighashType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1073:13 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1073 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Witness` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1074:13 [INFO] [stdout] | [INFO] [stdout] 1062 | use super::*; [INFO] [stdout] | -------- the item `Witness` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1074 | use crate::blockdata::witness::Witness; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/sign_message.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/string.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::prelude::String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `String` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XOnlyPublicKey` is imported redundantly [INFO] [stdout] --> src/taproot.rs:1579:33 [INFO] [stdout] | [INFO] [stdout] 1579 | use secp256k1::{VerifyOnly, XOnlyPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1580 | [INFO] [stdout] 1581 | use super::*; [INFO] [stdout] | -------- the item `XOnlyPublicKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/taproot.rs:1584:33 [INFO] [stdout] | [INFO] [stdout] 1581 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1584 | use crate::hashes::{sha256, Hash, HashEngine}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashEngine` is imported redundantly [INFO] [stdout] --> src/taproot.rs:1584:39 [INFO] [stdout] | [INFO] [stdout] 1581 | use super::*; [INFO] [stdout] | -------- the item `HashEngine` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1584 | use crate::hashes::{sha256, Hash, HashEngine}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` (lib test) due to 14 previous errors; 109 warnings emitted [INFO] running `Command { std: "docker" "inspect" "246d77716957ec34b52e7b431e7139fdc979d0b8ce30b46ce141cb622fec156f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246d77716957ec34b52e7b431e7139fdc979d0b8ce30b46ce141cb622fec156f", kill_on_drop: false }` [INFO] [stdout] 246d77716957ec34b52e7b431e7139fdc979d0b8ce30b46ce141cb622fec156f