[INFO] fetching crate bdk_wallet 2.1.0... [INFO] checking bdk_wallet-2.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bdk_wallet 2.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate bdk_wallet 2.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bdk_wallet 2.1.0 [INFO] tweaked toml for crates.io crate bdk_wallet 2.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bdk_wallet 2.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bdk_wallet 2.1.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bdk_core v0.6.1 [INFO] [stderr] Downloaded bdk_file_store v0.21.1 [INFO] [stderr] Downloaded bip39 v2.2.0 [INFO] [stderr] Downloaded bdk_chain v0.23.1 [INFO] [stderr] Downloaded miniscript v12.3.5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0e4163e0e2e459584199b1eb5b78599c1a7569cf3c6eb00a91fa67eaabe0bc4 [INFO] running `Command { std: "docker" "start" "-a" "b0e4163e0e2e459584199b1eb5b78599c1a7569cf3c6eb00a91fa67eaabe0bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0e4163e0e2e459584199b1eb5b78599c1a7569cf3c6eb00a91fa67eaabe0bc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e4163e0e2e459584199b1eb5b78599c1a7569cf3c6eb00a91fa67eaabe0bc4", kill_on_drop: false }` [INFO] [stdout] b0e4163e0e2e459584199b1eb5b78599c1a7569cf3c6eb00a91fa67eaabe0bc4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3c3223c75885a20edc152d88eb82a5a0eb87fb41510c018cced5043331e6fd [INFO] running `Command { std: "docker" "start" "-a" "7d3c3223c75885a20edc152d88eb82a5a0eb87fb41510c018cced5043331e6fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.32.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking bdk_core v0.6.1 [INFO] [stderr] Checking miniscript v12.3.5 [INFO] [stderr] Checking bdk_chain v0.23.1 [INFO] [stderr] Checking bdk_wallet v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/export.rs:224:16 [INFO] [stdout] | [INFO] [stdout] 224 | use crate::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/mod.rs:2797:16 [INFO] [stdout] | [INFO] [stdout] 2797 | use crate::test_utils::get_test_tr_single_sig_xprv_and_change_desc; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 33 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/mod.rs:2798:16 [INFO] [stdout] | [INFO] [stdout] 2798 | use crate::test_utils::insert_tx; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 33 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1170:20 [INFO] [stdout] | [INFO] [stdout] 1170 | use crate::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1260:20 [INFO] [stdout] | [INFO] [stdout] 1260 | use crate::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1306:20 [INFO] [stdout] | [INFO] [stdout] 1306 | use crate::test_utils::get_funded_wallet_wpkh; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 33 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1320:20 [INFO] [stdout] | [INFO] [stdout] 1320 | use crate::test_utils::get_funded_wallet_wpkh; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 33 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1337:20 [INFO] [stdout] | [INFO] [stdout] 1337 | use crate::test_utils::{get_funded_wallet_single, get_funded_wallet_wpkh, get_test_wpkh}; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 33 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1394:20 [INFO] [stdout] | [INFO] [stdout] 1394 | use crate::test_utils::get_funded_wallet_wpkh; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test-utils` feature [INFO] [stdout] 33 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/descriptor/policy.rs:1057:26 [INFO] [stdout] | [INFO] [stdout] 1057 | fn psbt_inputs_sat(psbt: &Psbt) -> impl Iterator { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1057 | fn psbt_inputs_sat(psbt: &Psbt) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wallet/mod.rs:1168:19 [INFO] [stdout] | [INFO] [stdout] 1168 | pub fn get_tx(&self, txid: Txid) -> Option { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1168 | pub fn get_tx(&self, txid: Txid) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wallet/mod.rs:1190:25 [INFO] [stdout] | [INFO] [stdout] 1190 | pub fn transactions(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ -------- -- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1190 | pub fn transactions(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/wallet/mod.rs:1218:36 [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn transactions_sort_by(&self, compare: F) -> Vec [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1218 | pub fn transactions_sort_by(&self, compare: F) -> Vec> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_wallet::test_utils` [INFO] [stdout] --> tests/psbt.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use bdk_wallet::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `bdk_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (test "psbt") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `bdk_wallet::test_utils` [INFO] [stdout] --> tests/build_fee_bump.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use bdk_wallet::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `bdk_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `bdk_wallet::test_utils` [INFO] [stdout] --> tests/wallet.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use bdk_wallet::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `bdk_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_wallet::test_utils` [INFO] [stdout] --> tests/persisted_wallet.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use bdk_wallet::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `bdk_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bdk_wallet::test_utils` [INFO] [stdout] --> tests/add_foreign_utxo.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use bdk_wallet::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `bdk_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (test "add_foreign_utxo") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | / run::( [INFO] [stdout] 217 | | "store.sqlite", [INFO] [stdout] 218 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 219 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 220 | | )?; [INFO] [stdout] | |_____^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | / run( [INFO] [stdout] 309 | | "store.sqlite", [INFO] [stdout] 310 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 311 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 312 | | )?; [INFO] [stdout] | |_____^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `wallet_load_checks::run` [INFO] [stdout] --> tests/persisted_wallet.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 227 | fn run( [INFO] [stdout] | --- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 235 | Db: WalletPersister + std::fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (test "build_fee_bump") due to 1 previous error [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | .create_wallet(&mut db) [INFO] [stdout] | ------------- ^^^^^^^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CreateParams::create_wallet` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/params.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn create_wallet

( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 190 | P: WalletPersister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `CreateParams::create_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `persist` exists for struct `PersistedWallet`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | assert!(wallet.persist(&mut db).unwrap()); [INFO] [stdout] | -------^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `PersistedWallet::persist(&mut wallet, &mut db)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.31.0/src/lib.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | pub struct Connection { [INFO] [stdout] | --------------------- doesn't satisfy `Connection: WalletPersister` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `WalletPersister` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/persisted.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | fn persist(persister: &mut Self, changeset: &ChangeSet) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Connection: WalletPersister` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 356 | .load_wallet(&mut db) [INFO] [stdout] | ----------- ^^^^^^^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LoadParams::load_wallet` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/params.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 317 | P: WalletPersister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `LoadParams::load_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | .create_wallet(&mut db) [INFO] [stdout] | ------------- ^^^^^^^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `CreateParams::create_wallet` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/params.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn create_wallet

( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 190 | P: WalletPersister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `CreateParams::create_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `persist` exists for struct `PersistedWallet`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:389:20 [INFO] [stdout] | [INFO] [stdout] 389 | assert!(wallet.persist(&mut db).unwrap()); [INFO] [stdout] | -------^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `PersistedWallet::persist(&mut wallet, &mut db)` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rusqlite-0.31.0/src/lib.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | pub struct Connection { [INFO] [stdout] | --------------------- doesn't satisfy `Connection: WalletPersister` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `WalletPersister` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/persisted.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | fn persist(persister: &mut Self, changeset: &ChangeSet) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Connection: WalletPersister` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | .load_wallet(&mut db) [INFO] [stdout] | ----------- ^^^^^^^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LoadParams::load_wallet` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/params.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 317 | P: WalletPersister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `LoadParams::load_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/persisted_wallet.rs:414:22 [INFO] [stdout] | [INFO] [stdout] 414 | .load_wallet(&mut db); [INFO] [stdout] | ----------- ^^^^^^^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `LoadParams::load_wallet` [INFO] [stdout] --> /opt/rustwide/workdir/src/wallet/params.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 317 | P: WalletPersister, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `LoadParams::load_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (test "persisted_wallet") due to 10 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (test "wallet") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "7d3c3223c75885a20edc152d88eb82a5a0eb87fb41510c018cced5043331e6fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3c3223c75885a20edc152d88eb82a5a0eb87fb41510c018cced5043331e6fd", kill_on_drop: false }` [INFO] [stdout] 7d3c3223c75885a20edc152d88eb82a5a0eb87fb41510c018cced5043331e6fd