[INFO] fetching crate bdk_wallet 1.2.0... [INFO] checking bdk_wallet-1.2.0 against master#8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 for pr-133502-5 [INFO] extracting crate bdk_wallet 1.2.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bdk_wallet 1.2.0 on toolchain 8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bdk_wallet 1.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bdk_wallet 1.2.0 [INFO] tweaked toml for crates.io crate bdk_wallet 1.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate bdk_wallet 1.2.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" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "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.4.1 [INFO] [stderr] Downloaded bdk_file_store v0.18.1 [INFO] [stderr] Downloaded bdk_chain v0.21.1 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded miniscript v12.3.1 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a29fc53472249e7886450b5c4c5247a2a07cf87cfc478f7a6377fa8c876411c [INFO] running `Command { std: "docker" "start" "-a" "2a29fc53472249e7886450b5c4c5247a2a07cf87cfc478f7a6377fa8c876411c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a29fc53472249e7886450b5c4c5247a2a07cf87cfc478f7a6377fa8c876411c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a29fc53472249e7886450b5c4c5247a2a07cf87cfc478f7a6377fa8c876411c", kill_on_drop: false }` [INFO] [stdout] 2a29fc53472249e7886450b5c4c5247a2a07cf87cfc478f7a6377fa8c876411c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81f066996cf6a3cb3d3e875c2de69538b71508191fd81883c798993f0f112db [INFO] running `Command { std: "docker" "start" "-a" "e81f066996cf6a3cb3d3e875c2de69538b71508191fd81883c798993f0f112db", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling bitcoin v0.32.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rustix v1.0.5 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_json v1.0.140 [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.4.1 [INFO] [stderr] Checking miniscript v12.3.1 [INFO] [stderr] Checking bdk_file_store v0.18.1 [INFO] [stderr] Checking bdk_chain v0.21.1 [INFO] [stderr] Checking bdk_wallet v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/wallet/export.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | 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:2566:16 [INFO] [stdout] | [INFO] [stdout] 2566 | 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:2567:16 [INFO] [stdout] | [INFO] [stdout] 2567 | 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:1082:20 [INFO] [stdout] | [INFO] [stdout] 1082 | 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:1147:20 [INFO] [stdout] | [INFO] [stdout] 1147 | 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:1216:20 [INFO] [stdout] | [INFO] [stdout] 1216 | 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:1289:20 [INFO] [stdout] | [INFO] [stdout] 1289 | 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 `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:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `Store<_>: WalletPersister` is not satisfied [INFO] [stdout] --> tests/wallet.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / run( [INFO] [stdout] 119 | | "store.db", [INFO] [stdout] 120 | | |path| Ok(bdk_file_store::Store::create_new(DB_MAGIC, path)?), [INFO] [stdout] 121 | | |path| Ok(bdk_file_store::Store::open(DB_MAGIC, path)?), [INFO] [stdout] 122 | | )?; [INFO] [stdout] | |_____^ the trait `WalletPersister` is not implemented for `Store<_>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `wallet_is_persisted::run` [INFO] [stdout] --> tests/wallet.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 51 | fn run( [INFO] [stdout] | --- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 59 | Db: WalletPersister, [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:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / run::( [INFO] [stdout] 124 | | "store.sqlite", [INFO] [stdout] 125 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 126 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 127 | | )?; [INFO] [stdout] | |_____^ the trait `WalletPersister` is not implemented for `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Store: WalletPersister` is not satisfied [INFO] [stdout] --> tests/wallet.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / run( [INFO] [stdout] 211 | | "store.db", [INFO] [stdout] 212 | | |path| { [INFO] [stdout] 213 | | Ok(bdk_file_store::Store::::create_new( [INFO] [stdout] ... | [INFO] [stdout] 217 | | |path| Ok(bdk_file_store::Store::::open(DB_MAGIC, path)?), [INFO] [stdout] 218 | | )?; [INFO] [stdout] | |_____^ the trait `WalletPersister` is not implemented for `Store` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `wallet_load_checks::run` [INFO] [stdout] --> tests/wallet.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 134 | fn run( [INFO] [stdout] | --- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 142 | 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:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / run( [INFO] [stdout] 220 | | "store.sqlite", [INFO] [stdout] 221 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 222 | | |path| Ok(bdk_chain::rusqlite::Connection::open(path)?), [INFO] [stdout] 223 | | )?; [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:142:13 [INFO] [stdout] | [INFO] [stdout] 134 | fn run( [INFO] [stdout] | --- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 142 | 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:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | .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:127:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_wallet

( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 127 | 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:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | 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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:267:22 [INFO] [stdout] | [INFO] [stdout] 267 | .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:243:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 243 | 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:297:24 [INFO] [stdout] | [INFO] [stdout] 297 | .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:127:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_wallet

( [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 127 | 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:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | 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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | .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:243:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 243 | 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:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | .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:243:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn load_wallet

( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 243 | 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 12 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" "e81f066996cf6a3cb3d3e875c2de69538b71508191fd81883c798993f0f112db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81f066996cf6a3cb3d3e875c2de69538b71508191fd81883c798993f0f112db", kill_on_drop: false }` [INFO] [stdout] e81f066996cf6a3cb3d3e875c2de69538b71508191fd81883c798993f0f112db