build(deps): bump anyhow from 1.0.94 to 1.0.95 #188
Annotations
10 warnings
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/solana_config_program.rs#L11
warning: use of deprecated struct `solana_sdk::stake::config::Config`: Please use `solana_sdk::stake::state::warmup_cooldown_rate()` instead
--> crates/wasm_client_solana/src/solana_config_program.rs:11:32
|
11 | use solana_sdk::stake::config::Config as StakeConfig;
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/solana_transaction_status/parse_stake.rs#L291
warning: use of deprecated unit variant `solana_sdk::stake::instruction::StakeInstruction::Redelegate`: Redelegate will not be enabled
--> crates/wasm_client_solana/src/solana_transaction_status/parse_stake.rs:291:21
|
291 | StakeInstruction::Redelegate => {
| ^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/providers/websocket_provider.rs#L201
warning: unused variable: `response`
--> crates/wasm_client_solana/src/providers/websocket_provider.rs:201:12
|
201 | let Some(response) = stream.next().await else {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
|
= note: `#[warn(unused_variables)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/rpc_sender.rs#L8
warning: trait `SolanaRpcSender` is never used
--> crates/wasm_client_solana/src/rpc_sender.rs:8:11
|
8 | pub trait SolanaRpcSender {
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/solana_account_decoder/parse_config.rs#L63
warning: this argument is passed by value, but not consumed in the function body
--> crates/wasm_client_solana/src/solana_account_decoder/parse_config.rs:63:44
|
63 | fn parse_config_data<T>(data: &[u8], keys: Vec<(Pubkey, bool)>) -> Option<UiConfig<T>>
| ^^^^^^^^^^^^^^^^^^^ help: consider changing the type to: `&[(Pubkey, bool)]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
= note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]`
|
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/solana_client.rs#L483
warning: wildcard matches only a single variant and will also match any future added variants
--> crates/wasm_client_solana/src/solana_client.rs:483:7
|
483 | _ => true,
| ^ help: try: `CommitmentLevel::Processed`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
= note: `-W clippy::match-wildcard-for-single-variants` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::match_wildcard_for_single_variants)]`
|
Run clechasseur/rs-clippy-check@v3:
crates/wasm_client_solana/src/solana_transaction_status/mod.rs#L281
warning: this argument is passed by value, but not consumed in the function body
--> crates/wasm_client_solana/src/solana_transaction_status/mod.rs:281:35
|
281 | pub fn parse(inner_instructions: InnerInstructions, account_keys: &AccountKeys) -> Self {
| ^^^^^^^^^^^^^^^^^ help: consider taking a reference instead: `&InnerInstructions`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
|
Run clechasseur/rs-clippy-check@v3:
programs/example_program/src/lib.rs#L5
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/example_program/src/lib.rs:5:1
|
5 | #[program]
| ^^^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
= help: try referring to `program` crate for guidance on how handle this unexpected cfg
= help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
= note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run clechasseur/rs-clippy-check@v3:
programs/example_program/src/lib.rs#L5
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/example_program/src/lib.rs:5:1
|
5 | #[program]
| ^^^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
= help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
= help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Run clechasseur/rs-clippy-check@v3:
programs/example_program/src/lib.rs#L5
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/example_program/src/lib.rs:5:1
|
5 | #[program]
| ^^^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
= help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
= help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Loading