[INFO] cloning repository https://github.com/bitnet-io/rust-bitcoin-31.1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitnet-io/rust-bitcoin-31.1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitnet-io%2Frust-bitcoin-31.1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitnet-io%2Frust-bitcoin-31.1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02a8ac1c10f5f06c67331600ca26cfaebde8ebc1 [INFO] checking bitnet-io/rust-bitcoin-31.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitnet-io%2Frust-bitcoin-31.1" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bitnet-io/rust-bitcoin-31.1 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 git repo https://github.com/bitnet-io/rust-bitcoin-31.1 [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/bitnet-io/rust-bitcoin-31.1 [INFO] tweaked toml for git repo https://github.com/bitnet-io/rust-bitcoin-31.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bitnet-io/rust-bitcoin-31.1 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 bitcoin-internals v0.2.0 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded core2 v0.3.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.13.0 [INFO] [stderr] Downloaded base64 v0.21.6 [INFO] [stderr] Downloaded secp256k1 v0.28.1 [INFO] [stderr] Downloaded bitcoinconsensus v0.20.2-0.5.0 [INFO] [stderr] Downloaded secp256k1-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] db56bc6272f42df68b13434c0485b9855c721e8558c3b2a37d65ae3ee11a0b39 [INFO] running `Command { std: "docker" "start" "-a" "db56bc6272f42df68b13434c0485b9855c721e8558c3b2a37d65ae3ee11a0b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db56bc6272f42df68b13434c0485b9855c721e8558c3b2a37d65ae3ee11a0b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db56bc6272f42df68b13434c0485b9855c721e8558c3b2a37d65ae3ee11a0b39", kill_on_drop: false }` [INFO] [stdout] db56bc6272f42df68b13434c0485b9855c721e8558c3b2a37d65ae3ee11a0b39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 306d53de7275c6a14a99cee8c3d96983066e078bb56e3afb6f768b64a3dbc471 [INFO] running `Command { std: "docker" "start" "-a" "306d53de7275c6a14a99cee8c3d96983066e078bb56e3afb6f768b64a3dbc471", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.31.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking secp256k1 v0.28.1 [INFO] [stdout] error: couldn't read `src/p2p/../../tests/data/testnet_block_000000000000045e0b1660b6445b5e5c5ab63c9a4f956be7e1e69be04fa4497b.raw`: No such file or directory (os error 2) [INFO] [stdout] --> src/p2p/message.rs:573:41 [INFO] [stdout] | [INFO] [stdout] 573 | ...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] 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:534:28 [INFO] [stdout] | [INFO] [stdout] 534 | ...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/blockdata/../../tests/data/huge_witness.hex`: No such file or directory (os error 2) [INFO] [stdout] --> src/blockdata/transaction.rs:1818:42 [INFO] [stdout] | [INFO] [stdout] 1818 | deserialize::(&hex!(include_str!("../../tests/data/huge_witness.hex").trim())) [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/p2p/mod.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::prelude::{Borrow, BorrowMut, 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/p2p/mod.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::prelude::{Borrow, BorrowMut, 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 `String` is imported redundantly [INFO] [stdout] --> src/address/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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/bip32.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use secp256k1::{self, Secp256k1, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::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:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorrowMut` is imported redundantly [INFO] [stdout] --> src/blockdata/script/mod.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BorrowMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/script/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorrowMut` is imported redundantly [INFO] [stdout] --> src/blockdata/script/push_bytes.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BorrowMut` is already imported here [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:679:22 [INFO] [stdout] | [INFO] [stdout] 679 | 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] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 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:771:25 [INFO] [stdout] | [INFO] [stdout] 771 | 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] warning: the item `hashes` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use hashes::{self, sha256d, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub extern crate 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:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use core::convert::{From, TryFrom}; [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 `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/ecdsa.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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] 21 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorrowMut` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BorrowMut` is already imported here [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] warning: unused imports: `Keypair`, `Parity`, `Secp256k1`, `XOnlyPublicKey`, `constants` [INFO] [stdout] --> src/crypto/taproot.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub use secp256k1::{self, constants, Keypair, Parity, Secp256k1, Verification, XOnlyPublicKey}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/taproot.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub use secp256k1::{self, constants, Keypair, Parity, Secp256k1, Verification, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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/network.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | 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] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/network.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `String` is imported redundantly [INFO] [stdout] --> src/pow.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use secp256k1::{self, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{hashes, io}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub extern crate 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:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use hashes::{self, hash160, ripemd160, sha256, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub extern crate 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:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | use {core, secp256k1}; [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:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use {core, secp256k1}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use secp256k1::{self, Scalar, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice` [INFO] [stdout] --> src/lib.rs:192:112 [INFO] [stdout] | [INFO] [stdout] 192 | pub use std::{string::{String, ToString}, vec::Vec, boxed::Box, borrow::{Borrow, BorrowMut, Cow, ToOwned}, slice, rc, sync}; [INFO] [stdout] | ^^^^^ [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:1897:34 [INFO] [stdout] | [INFO] [stdout] 1897 | 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:1898:30 [INFO] [stdout] | [INFO] [stdout] 1898 | 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:1899:38 [INFO] [stdout] | [INFO] [stdout] 1899 | 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:1907:34 [INFO] [stdout] | [INFO] [stdout] 1907 | 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:1908:34 [INFO] [stdout] | [INFO] [stdout] 1908 | 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:1978:24 [INFO] [stdout] | [INFO] [stdout] 1978 | 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 `CommandString` is imported redundantly [INFO] [stdout] --> src/p2p/message.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | ^^^^^^^^^^^^^ - the item `CommandString` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `NetworkMessage` is imported redundantly [INFO] [stdout] --> src/p2p/message.rs:550:32 [INFO] [stdout] | [INFO] [stdout] 550 | 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/p2p/message.rs:550:48 [INFO] [stdout] | [INFO] [stdout] 550 | 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/p2p/message.rs:552:35 [INFO] [stdout] | [INFO] [stdout] 550 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `block` is already imported here [INFO] [stdout] 551 | use crate::bip152::BlockTransactionsRequest; [INFO] [stdout] 552 | use crate::blockdata::block::{self, Block}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AddrV2Message` is imported redundantly [INFO] [stdout] --> src/p2p/message.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 550 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `AddrV2Message` is already imported here [INFO] [stdout] ... [INFO] [stdout] 557 | use crate::p2p::address::{AddrV2, AddrV2Message, Address}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/p2p/message.rs:557:54 [INFO] [stdout] | [INFO] [stdout] 550 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `Address` is already imported here [INFO] [stdout] ... [INFO] [stdout] 557 | use crate::p2p::address::{AddrV2, AddrV2Message, Address}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Magic` is imported redundantly [INFO] [stdout] --> src/p2p/message.rs:564:22 [INFO] [stdout] | [INFO] [stdout] 550 | use super::{CommandString, NetworkMessage, RawNetworkMessage, *}; [INFO] [stdout] | - the item `Magic` is already imported here [INFO] [stdout] ... [INFO] [stdout] 564 | use crate::p2p::{Magic, ServiceFlags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/p2p/message_blockdata.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | 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 `String` is imported redundantly [INFO] [stdout] --> src/p2p/mod.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::prelude::{Borrow, BorrowMut, 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] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/p2p/mod.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::prelude::{Borrow, BorrowMut, 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 `String` is imported redundantly [INFO] [stdout] --> src/address/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `FromStr` is imported redundantly [INFO] [stdout] --> src/address/mod.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 849 | 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/mod.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | use secp256k1::XOnlyPublicKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 848 | [INFO] [stdout] 849 | 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/mod.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 849 | use super::*; [INFO] [stdout] | -------- the item `PublicKey` is already imported here [INFO] [stdout] 850 | 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:1584:9 [INFO] [stdout] | [INFO] [stdout] 1584 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | 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:63 [INFO] [stdout] | [INFO] [stdout] 375 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 381 | Amount, CompactTarget, OutPoint, ScriptBuf, Sequence, Transaction, TxIn, TxOut, Txid, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BlockHash` is imported redundantly [INFO] [stdout] --> src/bip158.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 562 | use super::*; [INFO] [stdout] | -------- the item `BlockHash` is already imported here [INFO] [stdout] 563 | use crate::consensus::encode::deserialize; [INFO] [stdout] 564 | 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:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | 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:890:21 [INFO] [stdout] | [INFO] [stdout] 890 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | 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:890:27 [INFO] [stdout] | [INFO] [stdout] 890 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 893 | 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:894:35 [INFO] [stdout] | [INFO] [stdout] 893 | use super::*; [INFO] [stdout] | -------- the item `Network` is already imported here [INFO] [stdout] 894 | use crate::network::Network::{self, Bitcoin}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `absolute` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] 200 | use crate::blockdata::locktime::absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `transaction` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `transaction` is already imported here [INFO] [stdout] 200 | use crate::blockdata::locktime::absolute; [INFO] [stdout] 201 | use crate::blockdata::transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Network` is imported redundantly [INFO] [stdout] --> src/blockdata/constants.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 199 | use super::*; [INFO] [stdout] | -------- the item `Network` is already imported here [INFO] [stdout] ... [INFO] [stdout] 203 | use crate::network::Network; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/blockdata/opcodes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::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:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorrowMut` is imported redundantly [INFO] [stdout] --> src/blockdata/script/mod.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BorrowMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/script/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorrowMut` is imported redundantly [INFO] [stdout] --> src/blockdata/script/push_bytes.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BorrowMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `opcodes` is imported redundantly [INFO] [stdout] --> src/blockdata/script/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | -------- the item `opcodes` is already imported here [INFO] [stdout] 9 | use crate::blockdata::opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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 `hashes` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use hashes::{self, sha256d, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub extern crate hashes; [INFO] [stdout] | ------------------------ the item `hashes` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `absolute` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:1423:9 [INFO] [stdout] | [INFO] [stdout] 1421 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] 1422 | use crate::blockdata::constants::WITNESS_SCALE_FACTOR; [INFO] [stdout] 1423 | use crate::blockdata::locktime::absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScriptBuf` is imported redundantly [INFO] [stdout] --> src/blockdata/transaction.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1421 | use super::*; [INFO] [stdout] | -------- the item `ScriptBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1424 | use crate::blockdata::script::ScriptBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use core::convert::{From, TryFrom}; [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 `fmt` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:855:21 [INFO] [stdout] | [INFO] [stdout] 855 | use core::mem::{self, discriminant}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 856 | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `deserialize_partial` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:858:28 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `deserialize_partial` is already imported here [INFO] [stdout] 858 | use crate::consensus::{deserialize_partial, Decodable, Encodable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Decodable` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:858:49 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `Decodable` is already imported here [INFO] [stdout] 858 | use crate::consensus::{deserialize_partial, Decodable, Encodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encodable` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:858:60 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `Encodable` is already imported here [INFO] [stdout] 858 | use crate::consensus::{deserialize_partial, Decodable, Encodable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Inventory` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:860:22 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `Inventory` is already imported here [INFO] [stdout] ... [INFO] [stdout] 860 | use crate::p2p::{message_blockdata::Inventory, Address}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Address` is imported redundantly [INFO] [stdout] --> src/consensus/encode.rs:860:52 [INFO] [stdout] | [INFO] [stdout] 857 | use super::*; [INFO] [stdout] | -------- the item `Address` is already imported here [INFO] [stdout] ... [INFO] [stdout] 860 | use crate::p2p::{message_blockdata::Inventory, Address}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/ecdsa.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromHex` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | use hex::FromHex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | use super::*; [INFO] [stdout] | -------- the item `FromHex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | use secp256k1::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 762 | [INFO] [stdout] 763 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/crypto/key.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 763 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] 764 | use crate::address::Address; [INFO] [stdout] 765 | 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] 21 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Borrow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BorrowMut` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use core::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BorrowMut` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LegacySighash` is imported redundantly [INFO] [stdout] --> src/crypto/sighash.rs:1277:34 [INFO] [stdout] | [INFO] [stdout] 1273 | use super::*; [INFO] [stdout] | -------- the item `LegacySighash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1277 | 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:1277:49 [INFO] [stdout] | [INFO] [stdout] 1273 | use super::*; [INFO] [stdout] | -------- the item `TapSighash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1277 | 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:1278:9 [INFO] [stdout] | [INFO] [stdout] 1273 | use super::*; [INFO] [stdout] | -------- the item `TapLeafHash` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1278 | 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:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub use secp256k1::{self, constants, Keypair, Parity, Secp256k1, Verification, XOnlyPublicKey}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/crypto/taproot.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub use secp256k1::{self, constants, Keypair, Parity, Secp256k1, Verification, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:546:17 [INFO] [stdout] | [INFO] [stdout] 542 | use super::*; [INFO] [stdout] | -------- the item `Block` is already imported here [INFO] [stdout] ... [INFO] [stdout] 546 | 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:546:24 [INFO] [stdout] | [INFO] [stdout] 542 | use super::*; [INFO] [stdout] | -------- the item `Txid` is already imported here [INFO] [stdout] ... [INFO] [stdout] 546 | use crate::{Block, Txid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `String` is imported redundantly [INFO] [stdout] --> src/network.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | 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] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/network.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `String` is imported redundantly [INFO] [stdout] --> src/pow.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | 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:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use secp256k1::{self, XOnlyPublicKey}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | use core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 390 | [INFO] [stdout] 391 | 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:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{hashes, io}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub extern crate 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:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use hashes::{self, hash160, ripemd160, sha256, sha256d}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub extern crate 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:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | use {core, secp256k1}; [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:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use {core, secp256k1}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub extern crate secp256k1; [INFO] [stdout] | --------------------------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeMap` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1002:46 [INFO] [stdout] | [INFO] [stdout] 1002 | use hashes::{hash160, ripemd160, sha256, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1004:21 [INFO] [stdout] | [INFO] [stdout] 1004 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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:1004:27 [INFO] [stdout] | [INFO] [stdout] 1004 | use secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeySource` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1009:37 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `KeySource` is already imported here [INFO] [stdout] 1009 | use crate::bip32::{ChildNumber, KeySource, Xpriv, Xpub}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Xpriv` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1009:48 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Xpriv` is already imported here [INFO] [stdout] 1009 | use crate::bip32::{ChildNumber, KeySource, Xpriv, Xpub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Xpub` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1009:55 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Xpub` is already imported here [INFO] [stdout] 1009 | use crate::bip32::{ChildNumber, KeySource, Xpriv, Xpub}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1012:67 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1012 | use crate::blockdata::transaction::{self, OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1012:86 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1012 | use crate::blockdata::transaction::{self, OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1015:28 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1015 | use crate::psbt::map::{Input, Output}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Output` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1015:35 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `Output` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1015 | use crate::psbt::map::{Input, Output}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `raw` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1008 | use super::*; [INFO] [stdout] | -------- the item `raw` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1016 | 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:1367:13 [INFO] [stdout] | [INFO] [stdout] 1367 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `BTreeMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `absolute` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1372:13 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] 1372 | use crate::blockdata::locktime::absolute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ScriptBuf` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1373:13 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `ScriptBuf` is already imported here [INFO] [stdout] 1372 | use crate::blockdata::locktime::absolute; [INFO] [stdout] 1373 | use crate::blockdata::script::ScriptBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `OutPoint` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1374:45 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `OutPoint` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1374 | use crate::blockdata::transaction::{OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sequence` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1374:55 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `Sequence` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1374 | use crate::blockdata::transaction::{OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Transaction` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1374:65 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `Transaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1374 | use crate::blockdata::transaction::{OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxIn` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1374:78 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `TxIn` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1374 | use crate::blockdata::transaction::{OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TxOut` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1374:84 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `TxOut` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1374 | use crate::blockdata::transaction::{OutPoint, Sequence, Transaction, TxIn, TxOut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Witness` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `Witness` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1375 | use crate::blockdata::witness::Witness; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Input` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1376:32 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `Input` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1376 | use crate::psbt::map::{Input, Map, Output}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Output` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1376:44 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `Output` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1376 | use crate::psbt::map::{Input, Map, Output}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `raw` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1377:27 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `raw` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1377 | use crate::psbt::{raw, Psbt}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Psbt` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1377:32 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `Psbt` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1377 | use crate::psbt::{raw, Psbt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EcdsaSighashType` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1378:13 [INFO] [stdout] | [INFO] [stdout] 1371 | use super::*; [INFO] [stdout] | -------- the item `EcdsaSighashType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1378 | use crate::sighash::EcdsaSighashType; [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:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | 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 `Hash` is imported redundantly [INFO] [stdout] --> src/taproot.rs:1568:26 [INFO] [stdout] | [INFO] [stdout] 1568 | use hashes::{sha256, Hash, HashEngine}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashEngine` is imported redundantly [INFO] [stdout] --> src/taproot.rs:1568:32 [INFO] [stdout] | [INFO] [stdout] 1568 | use hashes::{sha256, Hash, HashEngine}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | use super::*; [INFO] [stdout] | -------- the item `HashEngine` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `XOnlyPublicKey` is imported redundantly [INFO] [stdout] --> src/taproot.rs:1570:33 [INFO] [stdout] | [INFO] [stdout] 1570 | use secp256k1::{VerifyOnly, XOnlyPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1571 | [INFO] [stdout] 1572 | use super::*; [INFO] [stdout] | -------- the item `XOnlyPublicKey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice` [INFO] [stdout] --> src/lib.rs:192:112 [INFO] [stdout] | [INFO] [stdout] 192 | pub use std::{string::{String, ToString}, vec::Vec, boxed::Box, borrow::{Borrow, BorrowMut, Cow, ToOwned}, slice, rc, sync}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/blockdata/script/borrowed.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | Num(i8), [INFO] [stdout] | --- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 635 | Num(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 99 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` (lib test) due to 14 previous errors; 99 warnings emitted [INFO] running `Command { std: "docker" "inspect" "306d53de7275c6a14a99cee8c3d96983066e078bb56e3afb6f768b64a3dbc471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "306d53de7275c6a14a99cee8c3d96983066e078bb56e3afb6f768b64a3dbc471", kill_on_drop: false }` [INFO] [stdout] 306d53de7275c6a14a99cee8c3d96983066e078bb56e3afb6f768b64a3dbc471