feat: add utility to check indexer persistence #12
Annotations
13 errors and 4 warnings
|
mismatched types:
crates/electrum/tests/test_electrum.rs#L477
error[E0308]: mismatched types
--> crates/electrum/tests/test_electrum.rs:477:24
|
477 | .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/electrum/tests/test_electrum.rs:9:5
|
9 | use bdk_core::bitcoin::{
| -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate
...
14 | use bdk_testenv::{
| ----------- 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/electrum/tests/test_electrum.rs#L462
error[E0308]: mismatched types
--> crates/electrum/tests/test_electrum.rs:462:24
|
462 | .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/electrum/tests/test_electrum.rs:9:5
|
9 | use bdk_core::bitcoin::{
| -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate
...
14 | use bdk_testenv::{
| ----------- 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/electrum/tests/test_electrum.rs#L429
error[E0308]: mismatched types
--> crates/electrum/tests/test_electrum.rs:429:24
|
429 | .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/electrum/tests/test_electrum.rs:9:5
|
9 | use bdk_core::bitcoin::{
| -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate
...
14 | use bdk_testenv::{
| ----------- 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#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/electrum/tests/test_electrum.rs#L421
error[E0308]: mismatched types
--> crates/electrum/tests/test_electrum.rs:421:24
|
421 | .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/electrum/tests/test_electrum.rs:9:5
|
9 | use bdk_core::bitcoin::{
| -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate
...
14 | use bdk_testenv::{
| ----------- 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/electrum/tests/test_electrum.rs#L323
error[E0308]: mismatched types
--> crates/electrum/tests/test_electrum.rs:323:38
|
323 | 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/electrum/tests/test_electrum.rs:9:5
|
9 | use bdk_core::bitcoin::{
| -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate
...
14 | use bdk_testenv::{
| ----------- 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
--> /rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/alloc/src/collections/btree/set.rs:770:12
|
|
mismatched types:
crates/electrum/tests/test_electrum.rs#L307
error[E0308]: mismatched types
--> crates/electrum/tests/test_electrum.rs:307:24
|
307 | .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/electrum/tests/test_electrum.rs:9:5
|
9 | use bdk_core::bitcoin::{
| -------- one version of crate `bdk_core` used here, as a direct dependency of the current crate
...
14 | use bdk_testenv::{
| ----------- 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 {
| ^^^^^^^^^
|
|
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/blocking_ext.rs#L181
error[E0308]: mismatched types
--> crates/esplora/tests/blocking_ext.rs:181:24
|
181 | .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:130:12
|
130 | pub fn chain_tip(mut self, cp: CheckPoint) -> Self {
| ^^^^^^^^^
|
|
Code Coverage
Process completed with exit code 101.
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|