draft(electrum): validate_merkle test #251
Clippy Results
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check failure on line 418 in crates/electrum/src/bdk_electrum_client.rs
github-actions / Clippy Results
no method named `txid_from_pos_with_merkle` found for type parameter `E` in the current scope
error[E0599]: no method named `txid_from_pos_with_merkle` found for type parameter `E` in the current scope
--> crates/electrum/src/bdk_electrum_client.rs:418:18
|
30 | impl<E: ElectrumApi> BdkElectrumClient<E> {
| - method `txid_from_pos_with_merkle` not found for this type parameter
...
416 | if let Ok(txid_from_pos_res) = self
| ____________________________________________-
417 | | .inner
418 | | .txid_from_pos_with_merkle(merkle_res.block_height, 0)
| | -^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `E`
| |_________________|
|
Check failure on line 418 in crates/electrum/src/bdk_electrum_client.rs
github-actions / Clippy Results
no method named `txid_from_pos_with_merkle` found for type parameter `E` in the current scope
error[E0599]: no method named `txid_from_pos_with_merkle` found for type parameter `E` in the current scope
--> crates/electrum/src/bdk_electrum_client.rs:418:18
|
30 | impl<E: ElectrumApi> BdkElectrumClient<E> {
| - method `txid_from_pos_with_merkle` not found for this type parameter
...
416 | if let Ok(txid_from_pos_res) = self
| ____________________________________________-
417 | | .inner
418 | | .txid_from_pos_with_merkle(merkle_res.block_height, 0)
| | -^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `E`
| |_________________|
|
Check failure on line 821 in crates/electrum/src/bdk_electrum_client.rs
github-actions / Clippy Results
method `txid_from_pos` is not a member of trait `ElectrumApi`
error[E0407]: method `txid_from_pos` is not a member of trait `ElectrumApi`
--> crates/electrum/src/bdk_electrum_client.rs:819:9
|
819 | / fn txid_from_pos(&self, _height: usize, _tx_pos: usize) -> Result<Txid, Error> {
820 | | unimplemented!()
821 | | }
| |_________^ not a member of trait `ElectrumApi`
Check failure on line 643 in crates/electrum/src/bdk_electrum_client.rs
github-actions / Clippy Results
method `txid_from_pos_with_merkle` is not a member of trait `ElectrumApi`
error[E0407]: method `txid_from_pos_with_merkle` is not a member of trait `ElectrumApi`
--> crates/electrum/src/bdk_electrum_client.rs:635:9
|
635 | / fn txid_from_pos_with_merkle(
636 | | &self,
637 | | _block_height: usize,
638 | | _pos: usize,
... |
642 | | .ok_or_else(|| Error::Message("Missing TxidFromPosRes".to_string()))
643 | | }
| |_________^ not a member of trait `ElectrumApi`
Check failure on line 590 in crates/electrum/src/bdk_electrum_client.rs
github-actions / Clippy Results
unresolved import `electrum_client::TxidFromPosRes`
error[E0432]: unresolved import `electrum_client::TxidFromPosRes`
--> crates/electrum/src/bdk_electrum_client.rs:590:28
|
590 | ServerFeaturesRes, TxidFromPosRes,
| ^^^^^^^^^^^^^^ no `TxidFromPosRes` in the root