[INFO] fetching crate bdk_electrum 0.23.2... [INFO] testing bdk_electrum-0.23.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bdk_electrum 0.23.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate bdk_electrum 0.23.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bdk_electrum 0.23.2 [INFO] tweaked toml for crates.io crate bdk_electrum 0.23.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bdk_electrum 0.23.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bdk_electrum 0.23.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded bdk_core v0.6.2 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded electrum-client v0.24.0 [INFO] [stderr] Downloaded aws-lc-rs v1.14.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded rustls-webpki v0.103.5 [INFO] [stderr] Downloaded bitcoin v0.32.7 [INFO] [stderr] Downloaded aws-lc-sys v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c31d07f299f0bf4c19ed125bcdb823ab88bf6d7bd24de2e4d5546614b1d08c7 [INFO] running `Command { std: "docker" "start" "-a" "4c31d07f299f0bf4c19ed125bcdb823ab88bf6d7bd24de2e4d5546614b1d08c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c31d07f299f0bf4c19ed125bcdb823ab88bf6d7bd24de2e4d5546614b1d08c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c31d07f299f0bf4c19ed125bcdb823ab88bf6d7bd24de2e4d5546614b1d08c7", kill_on_drop: false }` [INFO] [stdout] 4c31d07f299f0bf4c19ed125bcdb823ab88bf6d7bd24de2e4d5546614b1d08c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba8412139e500f9c163c8df4bfd0c29e4dbcba7aa7e06ef33515f038da98655a [INFO] running `Command { std: "docker" "start" "-a" "ba8412139e500f9c163c8df4bfd0c29e4dbcba7aa7e06ef33515f038da98655a", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling aws-lc-rs v1.14.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling aws-lc-sys v0.31.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling rustls-webpki v0.103.5 [INFO] [stderr] Compiling bdk_core v0.6.2 [INFO] [stderr] Compiling electrum-client v0.24.0 [INFO] [stderr] Compiling bdk_electrum v0.23.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "ba8412139e500f9c163c8df4bfd0c29e4dbcba7aa7e06ef33515f038da98655a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8412139e500f9c163c8df4bfd0c29e4dbcba7aa7e06ef33515f038da98655a", kill_on_drop: false }` [INFO] [stdout] ba8412139e500f9c163c8df4bfd0c29e4dbcba7aa7e06ef33515f038da98655a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a854ba7d833c9e45dfa49ea5f83bad411746b0ee7aa0ffb9a38f13ab348365e1 [INFO] running `Command { std: "docker" "start" "-a" "a854ba7d833c9e45dfa49ea5f83bad411746b0ee7aa0ffb9a38f13ab348365e1", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling bdk_electrum v0.23.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> src/bdk_electrum_client.rs:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | use bdk_chain::bitcoin::Amount; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> src/bdk_electrum_client.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | use bdk_chain::bitcoin::{constants, Network, OutPoint, ScriptBuf, Transaction, TxIn}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bdk_chain::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bdk_chain::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_testenv` [INFO] [stdout] --> tests/test_electrum.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use bdk_testenv::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `bdk_testenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_testenv`, use `cargo add bdk_testenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_testenv` [INFO] [stdout] --> tests/test_electrum.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use bdk_testenv::{ [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `bdk_testenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_testenv`, use `cargo add bdk_testenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_chain` [INFO] [stdout] --> src/bdk_electrum_client.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | use bdk_chain::{BlockId, CheckPoint}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_testenv` [INFO] [stdout] --> src/bdk_electrum_client.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | use bdk_testenv::{anyhow, bitcoincore_rpc::RpcApi, utils::new_tx, TestEnv}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `bdk_testenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_testenv`, use `cargo add bdk_testenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_testenv` [INFO] [stdout] --> src/bdk_electrum_client.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | use bdk_testenv::{anyhow, bitcoincore_rpc::RpcApi, utils::new_tx, TestEnv}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `bdk_testenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_testenv`, use `cargo add bdk_testenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:813:20 [INFO] [stdout] | [INFO] [stdout] 813 | let outpoint = bdk_chain::bitcoin::OutPoint::new(prev_txid, vout); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `bdk_core::spk_client::SyncItem::OutPoint`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 813 - let outpoint = bdk_chain::bitcoin::OutPoint::new(prev_txid, vout); [INFO] [stdout] 813 + let outpoint = bdk_core::spk_client::SyncItem::new(prev_txid, vout); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:100:61 [INFO] [stdout] | [INFO] [stdout] 100 | let receiver_addr = Address::from_script(&receiver_spk, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Network; [INFO] [stdout] | [INFO] [stdout] help: if you import `Network`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 100 - let receiver_addr = Address::from_script(&receiver_spk, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] 100 + let receiver_addr = Address::from_script(&receiver_spk, Network::Regtest)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:115:57 [INFO] [stdout] | [INFO] [stdout] 115 | let sender_addr = Address::from_script(&sender_spk, bdk_chain::bitcoin::Network::Regtest) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Network; [INFO] [stdout] | [INFO] [stdout] help: if you import `Network`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - let sender_addr = Address::from_script(&sender_spk, bdk_chain::bitcoin::Network::Regtest) [INFO] [stdout] 115 + let sender_addr = Address::from_script(&sender_spk, Network::Regtest) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:512:61 [INFO] [stdout] | [INFO] [stdout] 512 | let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Network; [INFO] [stdout] | [INFO] [stdout] help: if you import `Network`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 512 - let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] 512 + let addr_to_track = Address::from_script(&spk_to_track, Network::Regtest)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:655:61 [INFO] [stdout] | [INFO] [stdout] 655 | let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Network; [INFO] [stdout] | [INFO] [stdout] help: if you import `Network`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 655 - let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] 655 + let addr_to_track = Address::from_script(&spk_to_track, Network::Regtest)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:741:61 [INFO] [stdout] | [INFO] [stdout] 741 | let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Network; [INFO] [stdout] | [INFO] [stdout] help: if you import `Network`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 741 - let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] 741 + let addr_to_track = Address::from_script(&spk_to_track, Network::Regtest)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:776:61 [INFO] [stdout] | [INFO] [stdout] 776 | let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Network; [INFO] [stdout] | [INFO] [stdout] help: if you import `Network`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 776 - let addr_to_track = Address::from_script(&spk_to_track, bdk_chain::bitcoin::Network::Regtest)?; [INFO] [stdout] 776 + let addr_to_track = Address::from_script(&spk_to_track, Network::Regtest)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] --> tests/test_electrum.rs:825:17 [INFO] [stdout] | [INFO] [stdout] 825 | let txout = bdk_chain::bitcoin::TxOut { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `bdk_chain` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bdk_chain`, use `cargo add bdk_chain` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these crates [INFO] [stdout] | [INFO] [stdout] 1 + use bdk_core::bitcoin; [INFO] [stdout] | [INFO] [stdout] 1 + use electrum_client::bitcoin; [INFO] [stdout] | [INFO] [stdout] help: if you import `bitcoin`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 825 - let txout = bdk_chain::bitcoin::TxOut { [INFO] [stdout] 825 + let txout = bitcoin::TxOut { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/test_electrum.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_electrum` (test "test_electrum") due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bdk_electrum` (lib test) due to 5 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a854ba7d833c9e45dfa49ea5f83bad411746b0ee7aa0ffb9a38f13ab348365e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a854ba7d833c9e45dfa49ea5f83bad411746b0ee7aa0ffb9a38f13ab348365e1", kill_on_drop: false }` [INFO] [stdout] a854ba7d833c9e45dfa49ea5f83bad411746b0ee7aa0ffb9a38f13ab348365e1