[INFO] fetching crate bdk 1.0.0-alpha.2... [INFO] testing bdk-1.0.0-alpha.2 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate bdk 1.0.0-alpha.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate bdk 1.0.0-alpha.2 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bdk 1.0.0-alpha.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate bdk 1.0.0-alpha.2 [INFO] tweaked toml for crates.io crate bdk 1.0.0-alpha.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate bdk 1.0.0-alpha.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded pyo3-macros v0.15.2 [INFO] [stderr] Downloaded pyo3-build-config v0.15.2 [INFO] [stderr] Downloaded assert_matches v1.5.0 [INFO] [stderr] Downloaded miniscript v10.0.0 [INFO] [stderr] Downloaded log v0.4.18 [INFO] [stderr] Downloaded bdk_chain v0.6.0 [INFO] [stderr] Downloaded pyo3 v0.15.2 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded bip39 v1.2.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.15.2 [INFO] [stderr] Downloaded bitcoin v0.30.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.9 [INFO] [stderr] Downloaded hwi v0.7.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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef25780b3ecc386b8698ca1b5dfc156f4d285fa0429028b4cd305299affeee05 [INFO] running `Command { std: "docker" "start" "-a" "ef25780b3ecc386b8698ca1b5dfc156f4d285fa0429028b4cd305299affeee05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef25780b3ecc386b8698ca1b5dfc156f4d285fa0429028b4cd305299affeee05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef25780b3ecc386b8698ca1b5dfc156f4d285fa0429028b4cd305299affeee05", kill_on_drop: false }` [INFO] [stdout] ef25780b3ecc386b8698ca1b5dfc156f4d285fa0429028b4cd305299affeee05 [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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aae72d0b14d524291462a83fae91c55311d5e9c3cd3946ca3c221911d4efa806 [INFO] running `Command { std: "docker" "start" "-a" "aae72d0b14d524291462a83fae91c55311d5e9c3cd3946ca3c221911d4efa806", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.30.1 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling bitcoin_hashes v0.12.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling miniscript v10.0.0 [INFO] [stderr] Compiling bdk_chain v0.6.0 [INFO] [stderr] Compiling bdk v1.0.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/wallet/coin_selection.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:46:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "aae72d0b14d524291462a83fae91c55311d5e9c3cd3946ca3c221911d4efa806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae72d0b14d524291462a83fae91c55311d5e9c3cd3946ca3c221911d4efa806", kill_on_drop: false }` [INFO] [stdout] aae72d0b14d524291462a83fae91c55311d5e9c3cd3946ca3c221911d4efa806 [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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6a6521a5d72309440dac626af4b6482360b862f57e34b611734021d9a672469 [INFO] running `Command { std: "docker" "start" "-a" "c6a6521a5d72309440dac626af4b6482360b862f57e34b611734021d9a672469", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling regex-syntax v0.8.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling bdk v1.0.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/wallet/coin_selection.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:46:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-automata v0.4.1 [INFO] [stderr] Compiling regex v1.10.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stdout] warning: the item `calc_checksum` is imported redundantly [INFO] [stdout] --> src/descriptor/checksum.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | -------- the item `calc_checksum` is already imported here [INFO] [stdout] 136 | use crate::descriptor::calc_checksum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExtractPolicy` is imported redundantly [INFO] [stdout] --> src/descriptor/policy.rs:1165:29 [INFO] [stdout] | [INFO] [stdout] 1165 | use crate::descriptor::{ExtractPolicy, IntoWalletDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1166 | [INFO] [stdout] 1167 | use super::*; [INFO] [stdout] | -------- the item `ExtractPolicy` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SignersContainer` is imported redundantly [INFO] [stdout] --> src/descriptor/policy.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1167 | use super::*; [INFO] [stdout] | -------- the item `SignersContainer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1170 | use crate::wallet::signer::SignersContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DescriptorError` is imported redundantly [INFO] [stdout] --> src/descriptor/template.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 558 | use super::*; [INFO] [stdout] | -------- the item `DescriptorError` is already imported here [INFO] [stdout] 559 | use crate::descriptor::{DescriptorError, DescriptorMeta}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValidNetworks` is imported redundantly [INFO] [stdout] --> src/descriptor/template.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 558 | use super::*; [INFO] [stdout] | -------- the item `ValidNetworks` is already imported here [INFO] [stdout] 559 | use crate::descriptor::{DescriptorError, DescriptorMeta}; [INFO] [stdout] 560 | use crate::keys::ValidNetworks; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `KeyMap` is imported redundantly [INFO] [stdout] --> src/descriptor/template.rs:562:55 [INFO] [stdout] | [INFO] [stdout] 558 | use super::*; [INFO] [stdout] | -------- the item `KeyMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 562 | use miniscript::descriptor::{DescriptorPublicKey, KeyMap}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bip32` is imported redundantly [INFO] [stdout] --> src/keys/mod.rs:956:9 [INFO] [stdout] | [INFO] [stdout] 956 | use bitcoin::bip32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 957 | [INFO] [stdout] 958 | use super::*; [INFO] [stdout] | -------- the item `bip32` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/wallet/coin_selection.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use core::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:46:39 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vbytes` is imported redundantly [INFO] [stdout] --> src/wallet/coin_selection.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 695 | use crate::types::*; [INFO] [stdout] | --------------- the item `Vbytes` is already imported here [INFO] [stdout] 696 | use crate::wallet::Vbytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/wallet/coin_selection.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 694 | use super::*; [INFO] [stdout] | -------- the item `SliceRandom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 699 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/wallet/export.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Wallet` is imported redundantly [INFO] [stdout] --> src/wallet/export.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 221 | use super::*; [INFO] [stdout] | -------- the item `Wallet` is already imported here [INFO] [stdout] 222 | use crate::wallet::Wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "c6a6521a5d72309440dac626af4b6482360b862f57e34b611734021d9a672469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a6521a5d72309440dac626af4b6482360b862f57e34b611734021d9a672469", kill_on_drop: false }` [INFO] [stdout] c6a6521a5d72309440dac626af4b6482360b862f57e34b611734021d9a672469 [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 -Copt-level=3" "-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" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eac8967ddb89fdb94d56f903a78c5cec508afec692aec6f18d9c417a7990eabf [INFO] running `Command { std: "docker" "start" "-a" "eac8967ddb89fdb94d56f903a78c5cec508afec692aec6f18d9c417a7990eabf", kill_on_drop: false }` [INFO] [stderr] warning: the item `AsRef` is imported redundantly [INFO] [stderr] --> src/types.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use core::convert::AsRef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:38:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `AsRef` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `TryInto` is imported redundantly [INFO] [stderr] --> src/wallet/coin_selection.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | use core::convert::TryInto; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:46:39 [INFO] [stderr] | [INFO] [stderr] = note: the item `TryInto` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `calc_checksum` is imported redundantly [INFO] [stderr] --> src/descriptor/checksum.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 135 | use super::*; [INFO] [stderr] | -------- the item `calc_checksum` is already imported here [INFO] [stderr] 136 | use crate::descriptor::calc_checksum; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `ExtractPolicy` is imported redundantly [INFO] [stderr] --> src/descriptor/policy.rs:1165:29 [INFO] [stderr] | [INFO] [stderr] 1165 | use crate::descriptor::{ExtractPolicy, IntoWalletDescriptor}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 1166 | [INFO] [stderr] 1167 | use super::*; [INFO] [stderr] | -------- the item `ExtractPolicy` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `SignersContainer` is imported redundantly [INFO] [stderr] --> src/descriptor/policy.rs:1170:9 [INFO] [stderr] | [INFO] [stderr] 1167 | use super::*; [INFO] [stderr] | -------- the item `SignersContainer` is already imported here [INFO] [stderr] ... [INFO] [stderr] 1170 | use crate::wallet::signer::SignersContainer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `DescriptorError` is imported redundantly [INFO] [stderr] --> src/descriptor/template.rs:559:29 [INFO] [stderr] | [INFO] [stderr] 558 | use super::*; [INFO] [stderr] | -------- the item `DescriptorError` is already imported here [INFO] [stderr] 559 | use crate::descriptor::{DescriptorError, DescriptorMeta}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `ValidNetworks` is imported redundantly [INFO] [stderr] --> src/descriptor/template.rs:560:9 [INFO] [stderr] | [INFO] [stderr] 558 | use super::*; [INFO] [stderr] | -------- the item `ValidNetworks` is already imported here [INFO] [stderr] 559 | use crate::descriptor::{DescriptorError, DescriptorMeta}; [INFO] [stderr] 560 | use crate::keys::ValidNetworks; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `KeyMap` is imported redundantly [INFO] [stderr] --> src/descriptor/template.rs:562:55 [INFO] [stderr] | [INFO] [stderr] 558 | use super::*; [INFO] [stderr] | -------- the item `KeyMap` is already imported here [INFO] [stderr] ... [INFO] [stderr] 562 | use miniscript::descriptor::{DescriptorPublicKey, KeyMap}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `bip32` is imported redundantly [INFO] [stderr] --> src/keys/mod.rs:956:9 [INFO] [stderr] | [INFO] [stderr] 956 | use bitcoin::bip32; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 957 | [INFO] [stderr] 958 | use super::*; [INFO] [stderr] | -------- the item `bip32` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `AsRef` is imported redundantly [INFO] [stderr] --> src/types.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use core::convert::AsRef; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/prelude/mod.rs:38:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `AsRef` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `Vbytes` is imported redundantly [INFO] [stderr] --> src/wallet/coin_selection.rs:696:9 [INFO] [stderr] | [INFO] [stderr] 695 | use crate::types::*; [INFO] [stderr] | --------------- the item `Vbytes` is already imported here [INFO] [stderr] 696 | use crate::wallet::Vbytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `SliceRandom` is imported redundantly [INFO] [stderr] --> src/wallet/coin_selection.rs:699:9 [INFO] [stderr] | [INFO] [stderr] 694 | use super::*; [INFO] [stderr] | -------- the item `SliceRandom` is already imported here [INFO] [stderr] ... [INFO] [stderr] 699 | use rand::seq::SliceRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `FromStr` is imported redundantly [INFO] [stderr] --> src/wallet/export.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | use core::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | use super::*; [INFO] [stderr] | -------- the item `FromStr` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `Wallet` is imported redundantly [INFO] [stderr] --> src/wallet/export.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 221 | use super::*; [INFO] [stderr] | -------- the item `Wallet` is already imported here [INFO] [stderr] 222 | use crate::wallet::Wallet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bdk` (lib) generated 2 warnings [INFO] [stderr] warning: `bdk` (lib test) generated 13 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bdk-db2417496916d756) [INFO] [stdout] running 121 tests [INFO] [stdout] test descriptor::checksum::test::test_calc_checksum ... ok [INFO] [stdout] test descriptor::checksum::test::test_calc_checksum_invalid_character ... ok [INFO] [stdout] test descriptor::checksum::test::test_calc_checksum_with_checksum_hash ... ok [INFO] [stdout] test descriptor::dsl::test::test_dsl_modifiers ... ok [INFO] [stdout] test descriptor::dsl::test::test_dsl_tr_only_key ... ok [INFO] [stdout] test descriptor::dsl::test::test_key_maps_merged ... ok [INFO] [stdout] test descriptor::dsl::test::test_dsl_tr_simple_tree ... ok [INFO] [stdout] test descriptor::dsl::test::test_script_context_validation ... ok [INFO] [stdout] test descriptor::dsl::test::test_valid_networks ... ok [INFO] [stdout] test descriptor::dsl::test::test_dsl_tr_single_leaf ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_pkh ... ok [INFO] [stdout] test descriptor::dsl::test::test_fixed_threeop_descriptors ... ok [INFO] [stdout] test descriptor::dsl::test::test_bip32_legacy_descriptors ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_multiple_same_timelocks ... ignored [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_sh_multi_complete_1of2 ... ignored [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_single_wsh_multi_complete_1of2 ... ignored [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_wsh_mixed_timelocks ... ignored [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_wsh_multi_timelock ... ignored [INFO] [stdout] test descriptor::dsl::test::test_fixed_legacy_descriptors ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_wpkh ... ok [INFO] [stdout] test descriptor::dsl::test::test_fixed_segwitv0_descriptors ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_tr_key_spend ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_tr_script_spend ... ok [INFO] [stdout] test descriptor::policy::test::test_get_condition_multisig ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_sh_multi_partial_1of2 ... ok [INFO] [stdout] test descriptor::template::test::test_bip44_public_template ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_single_wpkh ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_sh_multi_complete_2of2 ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_satisfaction_timelock ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_tr_satisfaction_script_spend ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_tr_satisfaction_key_spend ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_satisfaction ... ok [INFO] [stdout] test descriptor::policy::test::test_extract_policy_for_sh_multi_partial_0of2 ... ok [INFO] [stdout] test descriptor::template::test::test_p2ph_template ... ok [INFO] [stdout] test descriptor::dsl::test::test_bip32_segwitv0_descriptors ... ok [INFO] [stdout] test descriptor::template::test::test_bip84_template ... ok [INFO] [stdout] test descriptor::test::test_derive_from_psbt_input_pkh_tpub ... ok [INFO] [stdout] test descriptor::template::test::test_bip49_template ... ok [INFO] [stdout] test descriptor::test::test_descriptor_from_str_from_output_of_macro ... ok [INFO] [stdout] test descriptor::template::test::test_bip49_public_template ... ok [INFO] [stdout] test descriptor::template::test::test_bip44_template ... ok [INFO] [stdout] test descriptor::template::test::test_bip84_public_template ... ok [INFO] [stdout] test descriptor::template::test::test_p2tr_template ... ok [INFO] [stdout] test descriptor::template::test::test_p2wph_template ... ok [INFO] [stdout] test descriptor::template::test::test_p2wphp2sh_template ... ok [INFO] [stdout] test descriptor::template::test::test_bip44_template_cointype ... ok [INFO] [stdout] test descriptor::template::test::test_bip86_public_template ... ok [INFO] [stdout] test descriptor::test::test_derive_from_psbt_input_sh ... ok [INFO] [stdout] test descriptor::test::test_derive_from_psbt_input_wsh ... ok [INFO] [stdout] test descriptor::test::test_into_wallet_descriptor_checked ... ok [INFO] [stdout] test descriptor::test::test_derive_from_psbt_input_wpkh_wif ... ok [INFO] [stdout] test descriptor::template::test::test_bip86_template ... ok [INFO] [stdout] test descriptor::test::test_descriptor_from_str_with_checksum ... ok [INFO] [stdout] test descriptor::dsl::test::test_dsl_sortedmulti ... ok [INFO] [stdout] test descriptor::test::test_descriptor_from_str_with_keys_network ... ok [INFO] [stdout] test types::tests::test_valid_feerate_pos_zero ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_check_fee_rate ... ok [INFO] [stdout] test descriptor::test::test_sh_wsh_sortedmulti_redeemscript ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_exact_match ... ok [INFO] [stdout] test types::tests::test_fee_default_min_relay_fee ... ok [INFO] [stdout] test types::tests::test_fee_from_sat_per_kvb ... ok [INFO] [stdout] test keys::test::test_keys_generate_wif ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_required_not_enough ... ignored [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_required_are_enough ... ok [INFO] [stdout] test types::tests::can_store_feerate_in_const ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_success ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_optional_are_enough ... ok [INFO] [stdout] test types::tests::test_fee_from_btc_per_kvb ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_exclude_negative_effective_value ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_function_almost_exact_match_with_fees ... ok [INFO] [stdout] test keys::test::test_keys_generate_xprv ... ok [INFO] [stdout] test types::tests::test_fee_from_sat_per_kwu ... ok [INFO] [stdout] test types::tests::test_fee_from_sat_per_vbyte ... ok [INFO] [stdout] test descriptor::test::test_to_wallet_descriptor_fixup_networks ... ok [INFO] [stdout] test wallet::coin_selection::test::test_largest_first_coin_selection_use_all ... ok [INFO] [stdout] test wallet::coin_selection::test::test_largest_first_coin_selection_success ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_sum_of_effective_value_negative ... ok [INFO] [stdout] test wallet::coin_selection::test::test_largest_first_coin_selection_use_only_necessary ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_function_exact_match_more_utxos ... ok [INFO] [stdout] test wallet::coin_selection::test::test_oldest_first_coin_selection_success ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_include_negative_effective_value_when_required ... ok [INFO] [stdout] test wallet::coin_selection::test::test_oldest_first_coin_selection_use_all ... ok [INFO] [stdout] test wallet::coin_selection::test::test_single_random_draw_function_success ... ok [INFO] [stdout] test wallet::coin_selection::test::test_oldest_first_coin_selection_use_only_necessary ... ok [INFO] [stdout] test wallet::export::test::test_export_from_json ... ok [INFO] [stdout] test wallet::export::test::test_export_multi ... ok [INFO] [stdout] test wallet::export::test::test_export_bip44 ... ok [INFO] [stdout] test wallet::export::test::test_export_to_json ... ok [INFO] [stdout] test wallet::signer::signers_container_tests::find_signer_by_id ... ok [INFO] [stdout] test wallet::signer::signers_container_tests::signers_sorted_by_ordering ... ok [INFO] [stdout] test wallet::signer::signers_container_tests::signers_with_same_ordering ... ok [INFO] [stdout] test wallet::tx_builder::test::test_change_spend_policy_default ... ok [INFO] [stdout] test wallet::tx_builder::test::test_change_spend_policy_no_internal ... ok [INFO] [stdout] test wallet::tx_builder::test::test_change_spend_policy_only_internal ... ok [INFO] [stdout] test wallet::tx_builder::test::test_default_tx_version_1 ... ok [INFO] [stdout] test descriptor::dsl::test::test_dsl_miniscript_checks - should panic ... ok [INFO] [stdout] test wallet::tx_builder::test::test_output_ordering_bip69 ... ok [INFO] [stdout] test types::tests::test_invalid_feerate_neg_value - should panic ... ok [INFO] [stdout] test types::tests::test_invalid_feerate_neg_zero - should panic ... ok [INFO] [stdout] test wallet::tx_builder::test::test_output_ordering_untouched ... ok [INFO] [stdout] test wallet::tx_builder::test::test_output_ordering_default_shuffle ... ok [INFO] [stdout] test wallet::utils::test::test_check_nsequence_rbf_different_unit ... ok [INFO] [stdout] test wallet::utils::test::test_check_nsequence_rbf_lt_csv ... ok [INFO] [stdout] test wallet::utils::test::test_check_nsequence_rbf_mask ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_insufficient_funds - should panic ... ok [INFO] [stdout] test wallet::tx_builder::test::test_output_ordering_shuffle ... ok [INFO] [stdout] test wallet::utils::test::test_check_nsequence_rbf_msb_set ... ok [INFO] [stdout] test types::tests::test_invalid_feerate_inf - should panic ... ok [INFO] [stdout] test wallet::utils::test::test_check_nsequence_rbf_same_unit_blocks ... ok [INFO] [stdout] test wallet::utils::test::test_check_nsequence_rbf_same_unit_time ... ok [INFO] [stdout] test wallet::utils::test::test_is_dust ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_coin_selection_insufficient_funds_high_fees - should panic ... ok [INFO] [stdout] test wallet::coin_selection::test::test_largest_first_coin_selection_insufficient_funds - should panic ... ok [INFO] [stdout] test types::tests::test_invalid_feerate_nan - should panic ... ok [INFO] [stdout] test wallet::coin_selection::test::test_largest_first_coin_selection_insufficient_funds_high_fees - should panic ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_function_no_exact_match - should panic ... ok [INFO] [stdout] test wallet::coin_selection::test::test_oldest_first_coin_selection_insufficient_funds - should panic ... ok [INFO] [stdout] test wallet::coin_selection::test::test_oldest_first_coin_selection_insufficient_funds_high_fees - should panic ... ok [INFO] [stdout] test wallet::export::test::test_export_incompatible_change - should panic ... ok [INFO] [stdout] test wallet::coin_selection::test::test_bnb_function_tries_exceeded - should panic ... ok [INFO] [stdout] test wallet::export::test::test_export_no_change - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 115 passed; 0 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-2215a5a0ab45073e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/psbt.rs (/opt/rustwide/target/debug/deps/psbt-e6aa2ef80c359634) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_psbt_sign_with_finalized ... ok [INFO] [stdout] test test_psbt_fee_rate_with_nonwitness_utxo ... ok [INFO] [stdout] test test_psbt_fee_rate_with_witness_utxo ... ok [INFO] [stdout] test test_psbt_fee_rate_with_missing_txout ... ok [INFO] [stdout] test test_psbt_malformed_psbt_input_segwit - should panic ... ok [INFO] [stdout] test test_psbt_malformed_psbt_input_legacy - should panic ... ok [INFO] [stdout] test test_psbt_malformed_tx_input - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] Running tests/wallet.rs (/opt/rustwide/target/debug/deps/wallet-019fa91343b3b426) [INFO] [stdout] [INFO] [stdout] running 122 tests [INFO] [stdout] test test_add_foreign_utxo_where_outpoint_doesnt_match_psbt_input ... ok [INFO] [stdout] test test_add_foreign_utxo_only_witness_utxo ... ok [INFO] [stdout] test test_bump_fee_force_add_input ... ok [INFO] [stdout] test test_bump_fee_absolute_force_add_input ... ok [INFO] [stdout] test test_bump_fee_absolute_add_input ... ok [INFO] [stdout] test test_bump_fee_drain_wallet ... ok [INFO] [stdout] test test_bump_fee_absolute_reduce_single_recipient ... ok [INFO] [stdout] test test_add_foreign_utxo ... ok [INFO] [stdout] test test_allow_dust_limit ... ok [INFO] [stdout] test test_bump_fee_add_input ... ok [INFO] [stdout] test test_bump_fee_reduce_single_recipient ... ok [INFO] [stdout] test test_bump_fee_add_input_change_dust ... ok [INFO] [stdout] test test_bump_fee_reduce_change ... ok [INFO] [stdout] test test_create_tx_absolute_fee ... ok [INFO] [stdout] test test_create_tx_add_change ... ok [INFO] [stdout] test test_create_tx_both_non_witness_utxo_and_witness_utxo_default ... ok [INFO] [stdout] test test_create_tx_add_utxo ... ok [INFO] [stdout] test test_bump_fee_no_change_add_input_and_change ... ok [INFO] [stdout] test test_create_tx_absolute_zero_fee ... ok [INFO] [stdout] test test_bump_fee_unconfirmed_input ... ok [INFO] [stdout] test test_create_tx_custom_locktime_compatible_with_cltv ... ok [INFO] [stdout] test test_create_tx_custom_locktime ... ok [INFO] [stdout] test test_create_tx_custom_rbf_sequence ... ok [INFO] [stdout] test test_create_tx_custom_fee_rate ... ok [INFO] [stdout] test test_create_tx_custom_version ... ok [INFO] [stdout] test test_create_tx_default_fee_rate ... ok [INFO] [stdout] test test_create_tx_default_locktime_cltv ... ok [INFO] [stdout] test test_create_tx_default_locktime_is_last_sync_height ... ok [INFO] [stdout] test test_create_tx_custom_sighash ... ok [INFO] [stdout] test test_create_tx_drain_to_and_utxos ... ok [INFO] [stdout] test test_create_tx_default_sequence ... ok [INFO] [stdout] test test_create_tx_default_sighash ... ok [INFO] [stdout] test test_create_tx_drain_wallet_and_drain_to ... ok [INFO] [stdout] test test_create_tx_drain_wallet_and_drain_to_and_with_recipient ... ok [INFO] [stdout] test test_create_tx_fee_sniping_locktime_last_sync ... ok [INFO] [stdout] test test_add_foreign_utxo_invalid_psbt_input - should panic ... ok [INFO] [stdout] test test_bump_fee_irreplaceable_tx - should panic ... ok [INFO] [stdout] test test_bump_fee_low_abs - should panic ... ok [INFO] [stdout] test test_bump_fee_low_fee_rate - should panic ... ok [INFO] [stdout] test test_bump_fee_zero_abs - should panic ... ok [INFO] [stdout] test test_bump_fee_confirmed_tx - should panic ... ok [INFO] [stdout] test test_bump_fee_unconfirmed_inputs_only - should panic ... ok [INFO] [stdout] test test_create_tx_absolute_high_fee - should panic ... ok [INFO] [stdout] test test_bump_fee_remove_output_manually_selected_only - should panic ... ok [INFO] [stdout] test test_create_tx_global_xpubs_master_without_origin ... ok [INFO] [stdout] test test_calculate_fee_with_missing_foreign_utxo - should panic ... ok [INFO] [stdout] test test_create_tx_invalid_rbf_sequence - should panic ... ok [INFO] [stdout] test test_create_tx_manually_selected_empty_utxos - should panic ... ok [INFO] [stdout] test test_create_tx_change_policy_no_internal - should panic ... ok [INFO] [stdout] test test_create_tx_custom_locktime_incompatible_with_cltv - should panic ... ok [INFO] [stdout] test test_create_tx_drain_to_dust_amount - should panic ... ok [INFO] [stdout] test test_create_tx_global_xpubs_origin_missing - should panic ... ok [INFO] [stdout] test test_create_tx_drain_to_no_drain_wallet_no_utxos - should panic ... ok [INFO] [stdout] test test_create_tx_non_witness_utxo ... ok [INFO] [stdout] test test_create_tx_empty_recipients - should panic ... ok [INFO] [stdout] test test_create_tx_only_witness_utxo ... ok [INFO] [stdout] test test_create_tx_manually_selected_insufficient - should panic ... ok [INFO] [stdout] test test_create_tx_policy_path_required - should panic ... ok [INFO] [stdout] test test_create_tx_input_hd_keypaths ... ok [INFO] [stdout] test test_create_tx_no_rbf_csv ... ok [INFO] [stdout] test test_create_tx_no_rbf_cltv ... ok [INFO] [stdout] test test_create_tx_ordering_respected ... ok [INFO] [stdout] test test_create_tx_version_1_csv - should panic ... ok [INFO] [stdout] test test_create_tx_version_0 - should panic ... ok [INFO] [stdout] test test_create_tx_policy_path_use_csv ... ok [INFO] [stdout] test test_create_tx_shwpkh_has_witness_utxo ... ok [INFO] [stdout] test test_create_tx_set_witness_script_p2wsh ... ok [INFO] [stdout] test test_create_tx_set_redeem_script_p2sh ... ok [INFO] [stdout] test test_descriptor_checksum ... ok [INFO] [stdout] test test_create_tx_output_hd_keypaths ... ok [INFO] [stdout] test test_create_tx_set_redeem_witness_script_p2wsh_p2sh ... ok [INFO] [stdout] test test_create_tx_global_xpubs_with_origin ... ok [INFO] [stdout] test test_create_tx_policy_path_ignored_subtree_with_csv ... ok [INFO] [stdout] test test_create_tx_policy_path_no_csv ... ok [INFO] [stdout] test test_create_tx_with_default_rbf_csv ... ok [INFO] [stdout] test test_get_funded_wallet_tx_fee_rate ... ok [INFO] [stdout] test test_get_funded_wallet_balance ... ok [INFO] [stdout] test test_include_output_redeem_witness_script ... ok [INFO] [stdout] test test_get_funded_wallet_sent_and_received ... ok [INFO] [stdout] test test_get_funded_wallet_tx_fees ... ok [INFO] [stdout] test test_next_unused_address ... ok [INFO] [stdout] test test_create_tx_with_custom_rbf_csv - should panic ... ok [INFO] [stdout] test test_create_tx_skip_change_dust ... ok [INFO] [stdout] test test_get_psbt_input ... ok [INFO] [stdout] test test_sending_to_bip350_bech32m_address ... ok [INFO] [stdout] test test_fee_amount_negative_drain_val ... ok [INFO] [stdout] test test_fee_rate_sign_grinding_low_r ... ok [INFO] [stdout] test test_peek_address_at_index ... ok [INFO] [stdout] test test_returns_index_and_address ... ok [INFO] [stdout] test test_peek_address_at_index_not_derivable ... ok [INFO] [stdout] test test_get_address ... ok [INFO] [stdout] test test_sign_single_wif ... ok [INFO] [stdout] test test_get_address_no_reuse_single_descriptor ... ok [INFO] [stdout] test test_taproot_load_descriptor_duplicated_keys ... ok [INFO] [stdout] test test_signing_only_one_of_multiple_inputs ... ok [INFO] [stdout] test test_sign_single_xprv_with_master_fingerprint_and_path ... ok [INFO] [stdout] test test_fee_rate_sign_no_grinding_high_r ... ok [INFO] [stdout] test test_spend_coinbase ... ok [INFO] [stdout] test test_sign_single_xprv_no_hd_keypaths ... ok [INFO] [stdout] test test_remove_partial_sigs_after_finalize_sign_option ... ok [INFO] [stdout] test test_sign_single_xprv ... ok [INFO] [stdout] test test_sign_single_xprv_sh_wpkh ... ok [INFO] [stdout] test test_taproot_foreign_utxo ... ok [INFO] [stdout] test test_sign_nonstandard_sighash ... ok [INFO] [stdout] test test_taproot_psbt_populate_tap_key_origins ... ok [INFO] [stdout] test test_sign_single_xprv_bip44_path ... ok [INFO] [stdout] test test_taproot_psbt_input_tap_tree ... ok [INFO] [stdout] test test_taproot_psbt_populate_tap_key_origins_repeated_key ... ok [INFO] [stdout] test test_taproot_script_spend_sign_exclude_some_leaves ... ok [INFO] [stdout] test test_taproot_sign_explicit_sighash_all ... ok [INFO] [stdout] test test_taproot_script_spend_sign_all_leaves ... ok [INFO] [stdout] test test_unused_address ... ok [INFO] [stdout] test test_taproot_sign_derive_index_from_psbt ... ok [INFO] [stdout] test test_taproot_script_spend_sign_include_some_leaves ... ok [INFO] [stdout] test test_taproot_no_key_spend ... ok [INFO] [stdout] test test_taproot_sign_missing_witness_utxo ... ok [INFO] [stdout] test test_taproot_script_spend_sign_no_leaves ... ok [INFO] [stdout] test test_taproot_sign_using_non_witness_utxo ... ok [INFO] [stdout] test test_tx_cancellation ... ok [INFO] [stdout] test test_taproot_sign_non_default_sighash ... ok [INFO] [stdout] test test_taproot_script_spend ... ok [INFO] [stdout] test test_try_finalize_sign_option ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 122 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stderr] Doc-tests bdk [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::DescriptorTemplate (line 38) ... ok [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip84Public (line 378) ... FAILED [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::P2Wpkh (line 131) ... FAILED [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip49 (line 266) ... FAILED [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip44Public (line 228) ... FAILED [INFO] [stdout] test src/keys/mod.rs - keys::DerivableKey (line 389) ... ok [INFO] [stdout] test src/keys/mod.rs - keys::DerivableKey (line 420) ... ok [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip84 (line 341) ... FAILED [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::P2TR (line 159) ... FAILED [INFO] [stdout] test src/keys/mod.rs - keys::IntoDescriptorKey (line 226) ... ok [INFO] [stdout] test src/keys/mod.rs - keys::IntoDescriptorKey (line 208) ... ok [INFO] [stdout] test src/keys/mod.rs - keys::IntoDescriptorKey (line 281) - compile fail ... ok [INFO] [stdout] test src/keys/mod.rs - keys::IntoDescriptorKey (line 253) ... ok [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip86Public (line 453) ... FAILED [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::build_fee_bump (line 1214) - compile ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::calculate_fee (line 525) - compile ... ok [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::P2Wpkh_P2Sh (line 102) ... FAILED [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip86 (line 416) ... FAILED [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::calculate_fee_rate (line 556) - compile ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::calculate_fee (line 534) - compile ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::calculate_fee_rate (line 565) - compile ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::get_tx (line 621) - compile ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::sent_and_received (line 590) - compile ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::sent_and_received (line 599) - compile ... ok [INFO] [stdout] test src/descriptor/policy.rs - descriptor::policy (line 21) ... FAILED [INFO] [stdout] test src/descriptor/dsl.rs - descriptor::dsl::descriptor (line 491) ... ok [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip44 (line 191) ... FAILED [INFO] [stdout] test src/wallet/coin_selection.rs - wallet::coin_selection (line 26) ... FAILED [INFO] [stdout] test src/wallet/export.rs - wallet::export (line 41) ... FAILED [INFO] [stdout] test src/descriptor/dsl.rs - descriptor::dsl::descriptor (line 471) ... ok [INFO] [stdout] test src/descriptor/dsl.rs - descriptor::dsl::descriptor (line 425) ... ok [INFO] [stdout] test src/descriptor/dsl.rs - descriptor::dsl::descriptor (line 439) ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::sign (line 1385) ... FAILED [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::build_tx (line 822) ... FAILED [INFO] [stdout] test src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder (line 76) ... FAILED [INFO] [stdout] test src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder<'a,D,Cs,CreateTx>::drain_to (line 638) ... FAILED [INFO] [stdout] test src/wallet/tx_builder.rs - wallet::tx_builder (line 16) ... FAILED [INFO] [stdout] test src/wallet/export.rs - wallet::export (line 20) ... FAILED [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::Bip49Public (line 303) ... ok [INFO] [stdout] test src/descriptor/template.rs - descriptor::template::P2Pkh (line 74) ... ok [INFO] [stdout] test src/wallet/signer.rs - wallet::signer (line 17) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/wallet/mod.rs - wallet::Wallet::get_signers (line 798) ... ok [INFO] [stdout] test src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder<'a,D,Cs,Ctx>::policy_path (line 248) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip84Public (line 378) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::P2Wpkh (line 131) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip49 (line 266) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip44Public (line 228) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip84 (line 341) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::P2TR (line 159) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip86Public (line 453) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::P2Wpkh_P2Sh (line 102) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip86 (line 416) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/policy.rs - descriptor::policy (line 21) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/descriptor/template.rs - descriptor::template::Bip44 (line 191) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/coin_selection.rs - wallet::coin_selection (line 26) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/export.rs - wallet::export (line 41) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/mod.rs - wallet::Wallet::sign (line 1385) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/mod.rs - wallet::Wallet::build_tx (line 822) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder (line 76) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder<'a,D,Cs,CreateTx>::drain_to (line 638) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/tx_builder.rs - wallet::tx_builder (line 16) stdout ---- [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/wallet/export.rs - wallet::export (line 20) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcNkNt6O/symbols.o" "/tmp/rustdoctestpqXAYt/rust_out.rust_out.d69cc6d4c1d2326-cgu.0.rcgu.o" "/tmp/rustdoctestpqXAYt/rust_out.3fs8eqt7eirdrmta.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/secp256k1-sys-99b3a351fa1a45cb/out" "-L" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libbdk-8cd5df5203d4ead8.rlib" "/opt/rustwide/target/debug/deps/libbdk_chain-76865ba53c925b6e.rlib" "/opt/rustwide/target/debug/deps/libserde_json-e0feaf01827638f4.rlib" "/opt/rustwide/target/debug/deps/libryu-37cdbfb4f28a09f8.rlib" "/opt/rustwide/target/debug/deps/libitoa-5ba6d8ba689e035b.rlib" "/opt/rustwide/target/debug/deps/libminiscript-a71221dae835e398.rlib" "/opt/rustwide/target/debug/deps/liblog-6611e9c0789ca234.rlib" "/opt/rustwide/target/debug/deps/libbitcoin-b20c52a6db269891.rlib" "/opt/rustwide/target/debug/deps/libhex_lit-d81d1c0cdeacb1cc.rlib" "/opt/rustwide/target/debug/deps/libsecp256k1-3e9d2ac2d79acd09.rlib" "/opt/rustwide/target/debug/deps/librand-22b8e018de076310.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-6cb599aaa24bf056.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-2e7f3c881e7293c7.rlib" "/opt/rustwide/target/debug/deps/librand_core-897c1d6bb910cf44.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-7802e33b82d854dc.rlib" "/opt/rustwide/target/debug/deps/liblibc-52d295c967bea876.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0128a598f57c42f0.rlib" "/opt/rustwide/target/debug/deps/libsecp256k1_sys-e2d39d59e6b02a13.rlib" "/opt/rustwide/target/debug/deps/libbitcoin_hashes-78008b775b206b9d.rlib" "/opt/rustwide/target/debug/deps/libbitcoin_private-733133b53df9de99.rlib" "/opt/rustwide/target/debug/deps/libserde-b4fe116d4d6e435e.rlib" "/opt/rustwide/target/debug/deps/libbech32-325f7e835bf6ee8c.rlib" "/opt/rustwide/target/debug/deps/libbase64-f062755f48da8a6d.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-41777efa78699460.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c112ec61d40d65ca.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-20279e89ddf4a3cc.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-04ebab3d6657d9b7.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-43ee38a2c180d260.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-d8bc9f4e15c9d54f.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e6b80df35ce800f7.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e1bb29bdfec551bd.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-7d60d25f346b95e2.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f568bda7d014913a.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-a759d15c36457a02.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-dd7d06242b5022a0.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-f4343bfa39e809a4.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-af1cb76e71c5600e.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c4c4e24ed6290fa.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-58f5eb9eff701be9.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9686387289eaa322.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b7903030bc1640bf.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestpqXAYt/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/descriptor/policy.rs - descriptor::policy (line 21) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip44 (line 191) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip44Public (line 228) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip49 (line 266) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip84 (line 341) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip84Public (line 378) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip86 (line 416) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::Bip86Public (line 453) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::P2TR (line 159) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::P2Wpkh (line 131) [INFO] [stdout] src/descriptor/template.rs - descriptor::template::P2Wpkh_P2Sh (line 102) [INFO] [stdout] src/wallet/coin_selection.rs - wallet::coin_selection (line 26) [INFO] [stdout] src/wallet/export.rs - wallet::export (line 20) [INFO] [stdout] src/wallet/export.rs - wallet::export (line 41) [INFO] [stdout] src/wallet/mod.rs - wallet::Wallet::build_tx (line 822) [INFO] [stdout] src/wallet/mod.rs - wallet::Wallet::sign (line 1385) [INFO] [stdout] src/wallet/tx_builder.rs - wallet::tx_builder (line 16) [INFO] [stdout] src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder (line 76) [INFO] [stdout] src/wallet/tx_builder.rs - wallet::tx_builder::TxBuilder<'a,D,Cs,CreateTx>::drain_to (line 638) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 25 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 32.86s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eac8967ddb89fdb94d56f903a78c5cec508afec692aec6f18d9c417a7990eabf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac8967ddb89fdb94d56f903a78c5cec508afec692aec6f18d9c417a7990eabf", kill_on_drop: false }` [INFO] [stdout] eac8967ddb89fdb94d56f903a78c5cec508afec692aec6f18d9c417a7990eabf