feat!: SolanaRpcClient::get_nonce_account_*
methods
#111
Annotations
10 warnings
`impl (for<'a> Fn(insta::internals::Content, insta::internals::ContentPath<'a>) -> std::string::String) + std::clone::Clone + 'static` will capture more lifetimes than possibly intended in edition 2024:
crates/test_utils/src/lib.rs#L10
warning: `impl (for<'a> Fn(insta::internals::Content, insta::internals::ContentPath<'a>) -> std::string::String) + std::clone::Clone + 'static` will capture more lifetimes than possibly intended in edition 2024
--> crates/test_utils/src/lib.rs:10:6
|
10 | ) -> impl Fn(Content, ContentPath) -> String + Clone + 'static {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/rpit-lifetime-capture.html>
note: specifically, this lifetime is in scope but not mentioned in the type's bounds
--> crates/test_utils/src/lib.rs:9:15
|
9 | replacement: &str,
| ^
= note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
= note: `-W impl-trait-overcaptures` implied by `-W rust-2024-compatibility`
= help: to override `-W rust-2024-compatibility` add `#[allow(impl_trait_overcaptures)]`
|
`impl (for<'a> Fn(insta::internals::Content, insta::internals::ContentPath<'a>) -> std::string::String) + std::clone::Clone + 'static` will capture more lifetimes than possibly intended in edition 2024:
crates/test_utils/src/lib.rs#L28
warning: `impl (for<'a> Fn(insta::internals::Content, insta::internals::ContentPath<'a>) -> std::string::String) + std::clone::Clone + 'static` will capture more lifetimes than possibly intended in edition 2024
--> crates/test_utils/src/lib.rs:28:6
|
28 | ) -> impl Fn(Content, ContentPath) -> String + Clone + 'static {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/rpit-lifetime-capture.html>
note: specifically, this lifetime is in scope but not mentioned in the type's bounds
--> crates/test_utils/src/lib.rs:27:15
|
27 | replacement: &str,
| ^
= note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
|
the `expr` fragment specifier will accept more expressions in the 2024 edition:
crates/wallet_standard/src/solana/sign_in.rs#L167
warning: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> crates/wallet_standard/src/solana/sign_in.rs:167:11
|
167 | ($field:expr, $name:literal) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
= note: `-W edition-2024-expr-fragment-specifier` implied by `-W rust-2024-compatibility`
= help: to override `-W rust-2024-compatibility` add `#[allow(edition_2024_expr_fragment_specifier)]`
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
167 | ($field:expr_2021, $name:literal) => {
| ~~~~~~~~~
|
the `expr` fragment specifier will accept more expressions in the 2024 edition:
crates/wallet_standard/src/solana/sign_in.rs#L240
warning: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> crates/wallet_standard/src/solana/sign_in.rs:240:11
|
240 | ($field:expr, $name:literal) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
240 | ($field:expr_2021, $name:literal) => {
| ~~~~~~~~~
|
the `expr` fragment specifier will accept more expressions in the 2024 edition:
crates/wallet_standard_browser/src/types.rs#L26
warning: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> crates/wallet_standard_browser/src/types.rs:26:23
|
26 | ($ident:ident, $name:expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
= note: `-W edition-2024-expr-fragment-specifier` implied by `-W rust-2024-compatibility`
= help: to override `-W rust-2024-compatibility` add `#[allow(edition_2024_expr_fragment_specifier)]`
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
26 | ($ident:ident, $name:expr_2021) => {
| ~~~~~~~~~
|
item in documentation is missing backticks:
crates/wallet_standard_browser/readme.md#L1
warning: item in documentation is missing backticks
--> /home/runner/work/wasm_solana/wasm_solana/crates/wallet_standard_browser/readme.md:1:3
|
1 | # wallet_standard_browser
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
= note: `-W clippy::doc-markdown` implied by `-W clippy::pedantic`
= help: to override `-W clippy::pedantic` add `#[allow(clippy::doc_markdown)]`
help: try
|
1 | # `wallet_standard_browser`
| ~~~~~~~~~~~~~~~~~~~~~~~~~
|
unused import: `solana_sdk::nonce`:
crates/wasm_client_solana/src/nonce_utils.rs#L10
warning: unused import: `solana_sdk::nonce`
--> crates/wasm_client_solana/src/nonce_utils.rs:10:5
|
10 | use solana_sdk::nonce;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
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#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
|
unused variable: `response`:
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
|
trait `SolanaRpcSender` is never used:
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
|