[INFO] fetching crate miniscript 11.0.0... [INFO] checking miniscript-11.0.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate miniscript 11.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate miniscript 11.0.0 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 miniscript 11.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate miniscript 11.0.0 [INFO] tweaked toml for crates.io crate miniscript 11.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate miniscript 11.0.0 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 serde_test v1.0.147 [INFO] [stderr] Downloaded quote v1.0.0 [INFO] [stderr] Downloaded getrandom v0.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.0 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded hex-conservative v0.1.1 [INFO] [stderr] Downloaded bitcoin-internals v0.2.0 [INFO] [stderr] Downloaded bech32 v0.10.0-beta [INFO] [stderr] Downloaded bitcoin_hashes v0.13.0 [INFO] [stderr] Downloaded core2 v0.3.3 [INFO] [stderr] Downloaded syn v1.0.0 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded bitcoin v0.31.0 [INFO] [stderr] Downloaded secp256k1 v0.28.0 [INFO] [stderr] Downloaded secp256k1-sys v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 88286c0187c0630ddbde496455d74a68d633256e5e8a16092a66e89b8227ab57 [INFO] running `Command { std: "docker" "start" "-a" "88286c0187c0630ddbde496455d74a68d633256e5e8a16092a66e89b8227ab57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88286c0187c0630ddbde496455d74a68d633256e5e8a16092a66e89b8227ab57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88286c0187c0630ddbde496455d74a68d633256e5e8a16092a66e89b8227ab57", kill_on_drop: false }` [INFO] [stdout] 88286c0187c0630ddbde496455d74a68d633256e5e8a16092a66e89b8227ab57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d6b255ea4f3eb065b5fa3e499a9d52687627dbc323f5a01cd3f27cc73e6054cb [INFO] running `Command { std: "docker" "start" "-a" "d6b255ea4f3eb065b5fa3e499a9d52687627dbc323f5a01cd3f27cc73e6054cb", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.31.0 [INFO] [stderr] Checking hex-conservative v0.1.1 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking bech32 v0.10.0-beta [INFO] [stderr] Compiling serde_test v1.0.147 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling secp256k1-sys v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking secp256k1 v0.28.0 [INFO] [stderr] Checking miniscript v11.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | use bitcoin::{secp256k1, Address, Network, Script, ScriptBuf, TxIn, Witness, WitnessVersion}; [INFO] [stdout] | ^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/descriptor/tr.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use bitcoin::{opcodes, secp256k1, Address, Network, ScriptBuf}; [INFO] [stdout] | ^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/descriptor/key.rs:1145:26 [INFO] [stdout] | [INFO] [stdout] 1145 | use bitcoin::{bip32, secp256k1}; [INFO] [stdout] | ^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hash160` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1004:27 [INFO] [stdout] | [INFO] [stdout] 1004 | use bitcoin::hashes::{hash160, sha256, Hash}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `hash160` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `sha256` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1004:36 [INFO] [stdout] | [INFO] [stdout] 1004 | use bitcoin::hashes::{hash160, sha256, Hash}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `sha256` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bitcoin` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1007:19 [INFO] [stdout] | [INFO] [stdout] 1007 | use bitcoin::{self, bip32, secp256k1, PublicKey, Sequence}; [INFO] [stdout] | ^^^^ the item `bitcoin` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1007:32 [INFO] [stdout] | [INFO] [stdout] 1007 | use bitcoin::{self, bip32, secp256k1, PublicKey, Sequence}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Tr` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | use super::tr::Tr; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `Tr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Wildcard` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1012:9 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `Wildcard` is already imported here [INFO] [stdout] 1012 | use crate::descriptor::key::Wildcard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `DescriptorPublicKey` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1013:29 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `DescriptorPublicKey` is already imported here [INFO] [stdout] 1012 | use crate::descriptor::key::Wildcard; [INFO] [stdout] 1013 | use crate::descriptor::{DescriptorPublicKey, DescriptorXKey, SinglePub}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `DescriptorXKey` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1013:50 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `DescriptorXKey` is already imported here [INFO] [stdout] 1012 | use crate::descriptor::key::Wildcard; [INFO] [stdout] 1013 | use crate::descriptor::{DescriptorPublicKey, DescriptorXKey, SinglePub}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `SinglePub` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1013:66 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `SinglePub` is already imported here [INFO] [stdout] 1012 | use crate::descriptor::key::Wildcard; [INFO] [stdout] 1013 | use crate::descriptor::{DescriptorPublicKey, DescriptorXKey, SinglePub}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Descriptor` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1016:29 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `Descriptor` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1016 | use crate::{hex_script, Descriptor, Error, Miniscript, Satisfier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Error` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1016:41 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `Error` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1016 | use crate::{hex_script, Descriptor, Error, Miniscript, Satisfier}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Miniscript` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1016:48 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `Miniscript` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1016 | use crate::{hex_script, Descriptor, Error, Miniscript, Satisfier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Satisfier` is imported redundantly [INFO] [stdout] --> src/descriptor/mod.rs:1016:60 [INFO] [stdout] | [INFO] [stdout] 1011 | use super::*; [INFO] [stdout] | -------- the item `Satisfier` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1016 | use crate::{hex_script, Descriptor, Error, Miniscript, Satisfier}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | use bitcoin::{absolute, secp256k1, sighash, taproot, Sequence, TxOut, Witness}; [INFO] [stdout] | ^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/interpreter/error.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use bitcoin::{secp256k1, taproot}; [INFO] [stdout] | ^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hash160` is imported redundantly [INFO] [stdout] --> src/interpreter/inner.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | use bitcoin::hashes::{hash160, sha256, Hash}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | use super::*; [INFO] [stdout] | -------- the item `hash160` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `sha256` is imported redundantly [INFO] [stdout] --> src/interpreter/inner.rs:401:36 [INFO] [stdout] | [INFO] [stdout] 401 | use bitcoin::hashes::{hash160, sha256, Hash}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | use super::*; [INFO] [stdout] | -------- the item `sha256` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Hash` is imported redundantly [INFO] [stdout] --> src/interpreter/inner.rs:401:44 [INFO] [stdout] | [INFO] [stdout] 401 | use bitcoin::hashes::{hash160, sha256, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bitcoin` is imported redundantly [INFO] [stdout] --> src/interpreter/inner.rs:403:19 [INFO] [stdout] | [INFO] [stdout] 403 | use bitcoin::{self, ScriptBuf}; [INFO] [stdout] | ^^^^ the item `bitcoin` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ExtParams` is imported redundantly [INFO] [stdout] --> src/interpreter/inner.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 405 | use super::*; [INFO] [stdout] | -------- the item `ExtParams` is already imported here [INFO] [stdout] 406 | use crate::miniscript::analyzable::ExtParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bitcoin` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1026:9 [INFO] [stdout] | [INFO] [stdout] 1026 | use bitcoin; [INFO] [stdout] | ^^^^^^^ the item `bitcoin` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hash160` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1027:27 [INFO] [stdout] | [INFO] [stdout] 1027 | use bitcoin::hashes::{hash160, ripemd160, sha256, Hash}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `hash160` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ripemd160` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1027:36 [INFO] [stdout] | [INFO] [stdout] 1027 | use bitcoin::hashes::{hash160, ripemd160, sha256, Hash}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `ripemd160` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `sha256` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1027:47 [INFO] [stdout] | [INFO] [stdout] 1027 | use bitcoin::hashes::{hash160, ripemd160, sha256, Hash}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `sha256` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Hash` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1027:55 [INFO] [stdout] | [INFO] [stdout] 1027 | use bitcoin::hashes::{hash160, ripemd160, sha256, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1028:30 [INFO] [stdout] | [INFO] [stdout] 1028 | use bitcoin::secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `secp256k1` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `NoChecks` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1033:9 [INFO] [stdout] | [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `NoChecks` is already imported here [INFO] [stdout] 1032 | use crate::miniscript::analyzable::ExtParams; [INFO] [stdout] 1033 | use crate::miniscript::context::NoChecks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Miniscript` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1034:17 [INFO] [stdout] | [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `Miniscript` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1034 | use crate::{Miniscript, ToPublicKey}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `ToPublicKey` is imported redundantly [INFO] [stdout] --> src/interpreter/mod.rs:1034:29 [INFO] [stdout] | [INFO] [stdout] 1031 | use super::*; [INFO] [stdout] | -------- the item `ToPublicKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1034 | use crate::{Miniscript, ToPublicKey}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bitcoin` is imported redundantly [INFO] [stdout] --> src/miniscript/iter.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | use bitcoin; [INFO] [stdout] | ^^^^^^^ the item `bitcoin` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/miniscript/iter.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | use bitcoin::secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bitcoin` is imported redundantly [INFO] [stdout] --> src/miniscript/mod.rs:606:19 [INFO] [stdout] | [INFO] [stdout] 606 | use bitcoin::{self, secp256k1, Sequence}; [INFO] [stdout] | ^^^^ the item `bitcoin` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/miniscript/mod.rs:606:25 [INFO] [stdout] | [INFO] [stdout] 606 | use bitcoin::{self, secp256k1, Sequence}; [INFO] [stdout] | ^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `LockTime` is imported redundantly [INFO] [stdout] --> src/plan.rs:738:9 [INFO] [stdout] | [INFO] [stdout] 738 | use bitcoin::absolute::LockTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | use super::*; [INFO] [stdout] | -------- the item `LockTime` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Sequence` is imported redundantly [INFO] [stdout] --> src/plan.rs:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | use bitcoin::Sequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 741 | [INFO] [stdout] 742 | use super::*; [INFO] [stdout] | -------- the item `Sequence` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/policy/semantic.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use bitcoin::secp256k1::{self, Secp256k1, VerifyOnly}; [INFO] [stdout] | ^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/psbt/finalizer.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use bitcoin::secp256k1::{self, Secp256k1}; [INFO] [stdout] | ^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `absolute` is imported redundantly [INFO] [stdout] --> src/psbt/mod.rs:1400:19 [INFO] [stdout] | [INFO] [stdout] 1400 | use bitcoin::{absolute, Amount, OutPoint, TxIn, TxOut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1401 | [INFO] [stdout] 1402 | use super::*; [INFO] [stdout] | -------- the item `absolute` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/test_utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bitcoin::secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: methods `proprietary` and `unknown` are never used [INFO] [stdout] --> src/psbt/mod.rs:1013:8 [INFO] [stdout] | [INFO] [stdout] 1004 | trait PsbtFields { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1013 | fn proprietary(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1014 | fn unknown(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | #![deny(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniscript` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: methods `proprietary` and `unknown` are never used [INFO] [stdout] --> src/psbt/mod.rs:1013:8 [INFO] [stdout] | [INFO] [stdout] 1004 | trait PsbtFields { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 1013 | fn proprietary(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1014 | fn unknown(&mut self) -> &mut BTreeMap>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | #![deny(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `miniscript` (lib test) due to 46 previous errors [INFO] running `Command { std: "docker" "inspect" "d6b255ea4f3eb065b5fa3e499a9d52687627dbc323f5a01cd3f27cc73e6054cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b255ea4f3eb065b5fa3e499a9d52687627dbc323f5a01cd3f27cc73e6054cb", kill_on_drop: false }` [INFO] [stdout] d6b255ea4f3eb065b5fa3e499a9d52687627dbc323f5a01cd3f27cc73e6054cb