Update bitcoin requirement from 0.30.0 to 0.31.0 #1074
clippy
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-beta.5 (1a06ac5b5 2023-12-01)
- cargo 1.75.0-beta.5 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (1a06ac5 2023-12-01)
Annotations
Check failure on line 34 in cw-orch-daemon/src/lib.rs
github-actions / clippy
unused imports: `authz::v1beta1 as authz`, `crisis::v1beta1 as crisis`, `distribution::v1beta1 as distribution`, `evidence::v1beta1 as evidence`, `mint::v1beta1 as mint`, `params::v1beta1 as params`, `slashing::v1beta1 as slashing`, `v1beta1 as base`
error: unused imports: `authz::v1beta1 as authz`, `crisis::v1beta1 as crisis`, `distribution::v1beta1 as distribution`, `evidence::v1beta1 as evidence`, `mint::v1beta1 as mint`, `params::v1beta1 as params`, `slashing::v1beta1 as slashing`, `v1beta1 as base`
--> cw-orch-daemon/src/lib.rs:34:13
|
34 | authz::v1beta1 as authz,
| ^^^^^^^^^^^^^^^^^^^^^^^
35 | bank::v1beta1 as bank,
36 | base::{abci::v1beta1 as abci, tendermint::v1beta1 as tendermint, v1beta1 as base},
| ^^^^^^^^^^^^^^^
37 | crisis::v1beta1 as crisis,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
38 | distribution::v1beta1 as distribution,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39 | evidence::v1beta1 as evidence,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
42 | mint::v1beta1 as mint,
| ^^^^^^^^^^^^^^^^^^^^^
43 | params::v1beta1 as params,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
44 | slashing::v1beta1 as slashing,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Check failure on line 50 in cw-orch-daemon/src/error.rs
github-actions / clippy
cannot find type `Error` in crate `bitcoin::bech32`
error[E0412]: cannot find type `Error` in crate `bitcoin::bech32`
--> cw-orch-daemon/src/error.rs:50:34
|
50 | source: bitcoin::bech32::Error,
| ^^^^^ not found in `bitcoin::bech32`
|
help: consider importing one of these items
|
3 + use anyhow::Error;
|
3 + use bitcoin::absolute::Error;
|
3 + use bitcoin::address::Error;
|
3 + use bitcoin::base58::Error;
|
and 44 other candidates
help: if you import `Error`, refer to it directly
|
50 - source: bitcoin::bech32::Error,
50 + source: Error,
|
Check failure on line 13 in cw-orch-daemon/src/tx_builder.rs
github-actions / clippy
unresolved import `secp256k1::All`
error[E0432]: unresolved import `secp256k1::All`
--> cw-orch-daemon/src/tx_builder.rs:13:5
|
13 | use secp256k1::All;
| ^^^^^^^^^^^^^^ no `All` in the root
|
help: consider importing one of these items instead
|
13 | use bitcoin::EcdsaSighashType::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 | use bitcoin::TapSighashType::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 | use bitcoin::p2p::message_bloom::BloomFlags::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 | use bitcoin::sighash::Prevouts::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check failure on line 5 in cw-orch-daemon/src/tx_broadcaster.rs
github-actions / clippy
unresolved import `secp256k1::All`
error[E0432]: unresolved import `secp256k1::All`
--> cw-orch-daemon/src/tx_broadcaster.rs:5:5
|
5 | use secp256k1::All;
| ^^^^^^^^^^^^^^ no `All` in the root
|
help: consider importing one of these items instead
|
5 | use bitcoin::EcdsaSighashType::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | use bitcoin::TapSighashType::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | use bitcoin::p2p::message_bloom::BloomFlags::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 | use bitcoin::sighash::Prevouts::All;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check failure on line 2 in cw-orch-daemon/src/keys/public.rs
github-actions / clippy
unresolved imports `bitcoin::bech32::u5`, `bitcoin::bech32::FromBase32`, `bitcoin::bech32::ToBase32`, `bitcoin::bech32::Variant`
error[E0432]: unresolved imports `bitcoin::bech32::u5`, `bitcoin::bech32::FromBase32`, `bitcoin::bech32::ToBase32`, `bitcoin::bech32::Variant`
--> cw-orch-daemon/src/keys/public.rs:2:39
|
2 | use bitcoin::bech32::{decode, encode, u5, FromBase32, ToBase32, Variant};
| ^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ no `Variant` in the root
| | | |
| | | no `ToBase32` in the root
| | no `FromBase32` in the root
| no `u5` in the root
Check failure on line 8 in cw-orch-daemon/src/keys/private.rs
github-actions / clippy
unresolved import `bitcoin::bip32::ExtendedPrivKey`
error[E0432]: unresolved import `bitcoin::bip32::ExtendedPrivKey`
--> cw-orch-daemon/src/keys/private.rs:8:13
|
8 | bip32::{ExtendedPrivKey, IntoDerivationPath},
| ^^^^^^^^^^^^^^^ no `ExtendedPrivKey` in `bip32`
Check failure on line 36 in cw-orch-daemon/src/sender.rs
github-actions / clippy
unresolved import `secp256k1::All`
error[E0432]: unresolved import `secp256k1::All`
--> cw-orch-daemon/src/sender.rs:36:17
|
36 | use secp256k1::{All, Context, Secp256k1, Signing};
| ^^^ no `All` in the root
|
= help: consider importing one of these items instead:
bitcoin::EcdsaSighashType::All
bitcoin::TapSighashType::All
bitcoin::p2p::message_bloom::BloomFlags::All
bitcoin::sighash::Prevouts::All