[INFO] fetching crate bdk_wallet 2.0.0... [INFO] checking bdk_wallet-2.0.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate bdk_wallet 2.0.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bdk_wallet 2.0.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bdk_wallet 2.0.0 [INFO] tweaked toml for crates.io crate bdk_wallet 2.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bdk_wallet 2.0.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bdk_wallet 2.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bdk_file_store v0.21.0 [INFO] [stderr] Downloaded bdk_chain v0.23.0 [INFO] [stderr] Downloaded cc v1.2.25 [INFO] [stderr] Downloaded miniscript v12.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a990f0d18fd5820e2b1f4473703c974bb3ff12cd82c6641a668781c4571271c [INFO] running `Command { std: "docker" "start" "-a" "4a990f0d18fd5820e2b1f4473703c974bb3ff12cd82c6641a668781c4571271c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a990f0d18fd5820e2b1f4473703c974bb3ff12cd82c6641a668781c4571271c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a990f0d18fd5820e2b1f4473703c974bb3ff12cd82c6641a668781c4571271c", kill_on_drop: false }` [INFO] [stdout] 4a990f0d18fd5820e2b1f4473703c974bb3ff12cd82c6641a668781c4571271c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daf54b6b1f291722b57cdb86bf5299e5955ba52188357a98e4ea0905081104eb [INFO] running `Command { std: "docker" "start" "-a" "daf54b6b1f291722b57cdb86bf5299e5955ba52188357a98e4ea0905081104eb", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.25 [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 hex_lit v0.1.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling bitcoin v0.32.6 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [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 getrandom v0.3.3 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 hashlink v0.9.1 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking miniscript v12.3.2 [INFO] [stderr] Checking bdk_core v0.6.0 [INFO] [stderr] Checking bdk_chain v0.23.0 [INFO] [stderr] Checking bdk_wallet v2.0.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:2712:16 [INFO] [stdout] | [INFO] [stdout] 2712 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `test-utils` feature [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/mod.rs:2713:16 [INFO] [stdout] | [INFO] [stdout] 2713 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `test-utils` feature [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1093:20 [INFO] [stdout] | [INFO] [stdout] 1093 | 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:1158:20 [INFO] [stdout] | [INFO] [stdout] 1158 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `test-utils` feature [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1227:20 [INFO] [stdout] | [INFO] [stdout] 1227 | use crate::test_utils::{get_funded_wallet_wpkh, get_test_wpkh_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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `test-utils` feature [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/tx_builder.rs:1300:20 [INFO] [stdout] | [INFO] [stdout] 1300 | use crate::test_utils::{get_funded_wallet_wpkh, get_test_wpkh_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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `test-utils` feature [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "test-utils")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1057 | fn psbt_inputs_sat(psbt: &Psbt) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wallet/mod.rs:1139:19 [INFO] [stdout] | [INFO] [stdout] 1139 | pub fn get_tx(&self, txid: Txid) -> Option { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1139 | pub fn get_tx(&self, txid: Txid) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wallet/mod.rs:1161:25 [INFO] [stdout] | [INFO] [stdout] 1161 | pub fn transactions(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ -------- -- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1161 | pub fn transactions(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/wallet/mod.rs:1189:36 [INFO] [stdout] | [INFO] [stdout] 1189 | pub fn transactions_sort_by(&self, compare: F) -> Vec [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1189 | 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] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bdk_wallet` (test "psbt") due to 1 previous error [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:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use bdk_wallet::test_utils::*; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `bdk_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/wallet.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / run::( [INFO] [stdout] 185 | | "store.sqlite", [INFO] [stdout] 186 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 187 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 188 | | )?; [INFO] [stdout] | |_____^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/wallet.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | / run( [INFO] [stdout] 277 | | "store.sqlite", [INFO] [stdout] 278 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 279 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 280 | | )?; [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/wallet.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 195 | fn run( [INFO] [stdout] | --- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 203 | Db: WalletPersister + std::fmt::Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Connection: WalletPersister` is not satisfied [INFO] [stdout] --> tests/wallet.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | .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:139:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn create_wallet

( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 139 | 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/wallet.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | 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/wallet.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | .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:266:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 266 | 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/wallet.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | .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:139:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn create_wallet

( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 139 | 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/wallet.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | 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/wallet.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | .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:266:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 266 | 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/wallet.rs:382:22 [INFO] [stdout] | [INFO] [stdout] 382 | .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:266:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 266 | 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 "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` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "daf54b6b1f291722b57cdb86bf5299e5955ba52188357a98e4ea0905081104eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf54b6b1f291722b57cdb86bf5299e5955ba52188357a98e4ea0905081104eb", kill_on_drop: false }` [INFO] [stdout] daf54b6b1f291722b57cdb86bf5299e5955ba52188357a98e4ea0905081104eb