Skip to content

feat: add utilities for testing persistence #47

feat: add utilities for testing persistence

feat: add utilities for testing persistence #47

Triggered via push August 3, 2025 10:34
Status Success
Total duration 15s
Artifacts

audit.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
mismatched types: crates/esplora/tests/blocking_ext.rs#L355
error[E0308]: mismatched types --> crates/esplora/tests/blocking_ext.rs:355:24 | 355 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/blocking_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:426:12 | 426 | pub fn chain_tip(mut self, tip: CheckPoint) -> Self { | ^^^^^^^^^
mismatched types: crates/esplora/tests/blocking_ext.rs#L340
error[E0308]: mismatched types --> crates/esplora/tests/blocking_ext.rs:340:24 | 340 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/blocking_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:426:12 | 426 | pub fn chain_tip(mut self, tip: CheckPoint) -> Self { | ^^^^^^^^^
mismatched types: crates/esplora/tests/blocking_ext.rs#L305
error[E0308]: mismatched types --> crates/esplora/tests/blocking_ext.rs:305:24 | 305 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/blocking_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:426:12 | 426 | pub fn chain_tip(mut self, tip: CheckPoint) -> Self { | ^^^^^^^^^
mismatched types: crates/esplora/tests/blocking_ext.rs#L297
error[E0308]: mismatched types --> crates/esplora/tests/blocking_ext.rs:297:24 | 297 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/blocking_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:426:12 | 426 | pub fn chain_tip(mut self, tip: CheckPoint) -> Self { | ^^^^^^^^^
mismatched types: crates/esplora/tests/blocking_ext.rs#L197
error[E0308]: mismatched types --> crates/esplora/tests/blocking_ext.rs:197:38 | 197 | superset_cps.is_superset(&update_cps) | ----------- ^^^^^^^^^^^ expected `bdk_core::block_id::BlockId`, found `bdk_chain::BlockId` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/block_id.rs:6:1 | 6 | pub struct BlockId { | ^^^^^^^^^^^^^^^^^^ this is the found type `bdk_chain::BlockId` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/block_id.rs:6:1 | 6 | pub struct BlockId { | ^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_core::block_id::BlockId` | ::: crates/esplora/tests/blocking_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/alloc/src/collections/btree/set.rs:770:12
mismatched types: crates/esplora/tests/async_ext.rs#L354
error[E0308]: mismatched types --> crates/esplora/tests/async_ext.rs:354:24 | 354 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/async_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:426:12 | 426 | pub fn chain_tip(mut self, tip: CheckPoint) -> Self { | ^^^^^^^^^
mismatched types: crates/esplora/tests/async_ext.rs#L339
error[E0308]: mismatched types --> crates/esplora/tests/async_ext.rs:339:24 | 339 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/async_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:426:12 | 426 | pub fn chain_tip(mut self, tip: CheckPoint) -> Self { | ^^^^^^^^^
mismatched types: crates/esplora/tests/async_ext.rs#L196
error[E0308]: mismatched types --> crates/esplora/tests/async_ext.rs:196:38 | 196 | superset_cps.is_superset(&update_cps) | ----------- ^^^^^^^^^^^ expected `bdk_core::block_id::BlockId`, found `bdk_chain::BlockId` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/block_id.rs:6:1 | 6 | pub struct BlockId { | ^^^^^^^^^^^^^^^^^^ this is the found type `bdk_chain::BlockId` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/block_id.rs:6:1 | 6 | pub struct BlockId { | ^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_core::block_id::BlockId` | ::: crates/esplora/tests/async_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/alloc/src/collections/btree/set.rs:770:12
mismatched types: crates/esplora/tests/async_ext.rs#L180
error[E0308]: mismatched types --> crates/esplora/tests/async_ext.rs:180:24 | 180 | .chain_tip(cp_tip.clone()) | --------- ^^^^^^^^^^^^^^ expected `bdk_chain::CheckPoint`, found `bdk_core::checkpoint::CheckPoint` | | | arguments to this method are incorrect | note: two different versions of crate `bdk_core` are being used; two types coming from two different versions of the same crate are different types even if they look the same --> /home/runner/work/bdk/bdk/crates/core/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the expected type `bdk_chain::CheckPoint` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bdk_core-0.6.0/src/checkpoint.rs:13:1 | 13 | pub struct CheckPoint(Arc<CPInner>); | ^^^^^^^^^^^^^^^^^^^^^ this is the found type `bdk_core::checkpoint::CheckPoint` | ::: crates/esplora/tests/common/mod.rs:1:5 | 1 | use bdk_core::bitcoin::key::{Secp256k1, UntweakedPublicKey}; | -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate | ::: crates/esplora/tests/async_ext.rs:7:5 | 7 | use bdk_testenv::bitcoincore_rpc::json::CreateRawTransactionInput; | ----------- one version of crate `bdk_core` used here, as a dependency of crate `bdk_chain` = help: you can use `cargo tree` to explore your dependency tree note: method defined here --> /home/runner/work/bdk/bdk/crates/core/src/spk_client.rs:130:12 | 130 | pub fn chain_tip(mut self, cp: CheckPoint) -> Self { | ^^^^^^^^^