Dev #109
Clippy (MSRV)
24 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 24 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.65.0 (897e37553 2022-11-02)
- cargo 1.65.0 (4bc8f24d3 2022-10-20)
- clippy 0.1.65 (897e375 2022-11-02)
Annotations
Check failure on line 807 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `utxos_spent`
error: unused variable: `utxos_spent`
--> zcash_client_backend/src/data_api/wallet.rs:807:9
|
807 | let utxos_spent = {
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utxos_spent`
Check failure on line 593 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `proposal`
error: unused variable: `proposal`
--> zcash_client_backend/src/data_api/wallet.rs:593:5
|
593 | proposal: &Proposal<FeeRuleT, N>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal`
Check failure on line 592 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `ovk_policy`
error: unused variable: `ovk_policy`
--> zcash_client_backend/src/data_api/wallet.rs:592:5
|
592 | ovk_policy: OvkPolicy,
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ovk_policy`
Check failure on line 591 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `usk`
error: unused variable: `usk`
--> zcash_client_backend/src/data_api/wallet.rs:591:5
|
591 | usk: &UnifiedSpendingKey,
| ^^^ help: if this is intentional, prefix it with an underscore: `_usk`
Check failure on line 590 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `output_prover`
error: unused variable: `output_prover`
--> zcash_client_backend/src/data_api/wallet.rs:590:5
|
590 | output_prover: &impl OutputProver,
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_prover`
Check failure on line 589 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `spend_prover`
error: unused variable: `spend_prover`
--> zcash_client_backend/src/data_api/wallet.rs:589:5
|
589 | spend_prover: &impl SpendProver,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spend_prover`
Check failure on line 588 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `params`
error: unused variable: `params`
--> zcash_client_backend/src/data_api/wallet.rs:588:5
|
588 | params: &ParamsT,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
Check failure on line 587 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `wallet_db`
error: unused variable: `wallet_db`
--> zcash_client_backend/src/data_api/wallet.rs:587:5
|
587 | wallet_db: &mut DbT,
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_db`
|
= note: `-D unused-variables` implied by `-D warnings`
Check failure on line 807 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `utxos_spent`
error: unused variable: `utxos_spent`
--> zcash_client_backend/src/data_api/wallet.rs:807:9
|
807 | let utxos_spent = {
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_utxos_spent`
Check failure on line 593 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `proposal`
error: unused variable: `proposal`
--> zcash_client_backend/src/data_api/wallet.rs:593:5
|
593 | proposal: &Proposal<FeeRuleT, N>,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal`
Check failure on line 592 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `ovk_policy`
error: unused variable: `ovk_policy`
--> zcash_client_backend/src/data_api/wallet.rs:592:5
|
592 | ovk_policy: OvkPolicy,
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ovk_policy`
Check failure on line 591 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `usk`
error: unused variable: `usk`
--> zcash_client_backend/src/data_api/wallet.rs:591:5
|
591 | usk: &UnifiedSpendingKey,
| ^^^ help: if this is intentional, prefix it with an underscore: `_usk`
Check failure on line 590 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `output_prover`
error: unused variable: `output_prover`
--> zcash_client_backend/src/data_api/wallet.rs:590:5
|
590 | output_prover: &impl OutputProver,
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_prover`
Check failure on line 589 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `spend_prover`
error: unused variable: `spend_prover`
--> zcash_client_backend/src/data_api/wallet.rs:589:5
|
589 | spend_prover: &impl SpendProver,
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spend_prover`
Check failure on line 588 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `params`
error: unused variable: `params`
--> zcash_client_backend/src/data_api/wallet.rs:588:5
|
588 | params: &ParamsT,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
Check failure on line 587 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused variable: `wallet_db`
error: unused variable: `wallet_db`
--> zcash_client_backend/src/data_api/wallet.rs:587:5
|
587 | wallet_db: &mut DbT,
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet_db`
|
= note: `-D unused-variables` implied by `-D warnings`
Check failure on line 609 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unreachable statement
error: unreachable statement
--> zcash_client_backend/src/data_api/wallet.rs:609:5
|
608 | unimplemented!();
| ---------------- any code following this expression is unreachable
609 | let mut step_results = Vec::with_capacity(proposal.steps().len());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
|
= note: `-D unreachable-code` implied by `-D warnings`
Check failure on line 609 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unreachable statement
error: unreachable statement
--> zcash_client_backend/src/data_api/wallet.rs:609:5
|
608 | unimplemented!();
| ---------------- any code following this expression is unreachable
609 | let mut step_results = Vec::with_capacity(proposal.steps().len());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
|
= note: `-D unreachable-code` implied by `-D warnings`
Check failure on line 61 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused import: `sapling::zip212_enforcement`
error: unused import: `sapling::zip212_enforcement`
--> zcash_client_backend/src/data_api/wallet.rs:61:45
|
61 | components::{amount::NonNegativeAmount, sapling::zip212_enforcement},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 48 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused imports: `Recipient`, `SentTransactionOutput`, `SentTransaction`
error: unused imports: `Recipient`, `SentTransactionOutput`, `SentTransaction`
--> zcash_client_backend/src/data_api/wallet.rs:48:32
|
48 | error::Error, Account, SentTransaction, SentTransactionOutput, WalletCommitmentTrees,
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
...
55 | wallet::{Note, OvkPolicy, Recipient, TransparentAddressMetadata},
| ^^^^^^^^^
Check failure on line 39 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused imports: `PreparedIncomingViewingKey`, `try_sapling_note_decryption`
error: unused imports: `PreparedIncomingViewingKey`, `try_sapling_note_decryption`
--> zcash_client_backend/src/data_api/wallet.rs:39:23
|
39 | note_encryption::{try_sapling_note_decryption, PreparedIncomingViewingKey},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
Check failure on line 61 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused import: `sapling::zip212_enforcement`
error: unused import: `sapling::zip212_enforcement`
--> zcash_client_backend/src/data_api/wallet.rs:61:45
|
61 | components::{amount::NonNegativeAmount, sapling::zip212_enforcement},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 48 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused imports: `Recipient`, `SentTransactionOutput`, `SentTransaction`
error: unused imports: `Recipient`, `SentTransactionOutput`, `SentTransaction`
--> zcash_client_backend/src/data_api/wallet.rs:48:32
|
48 | error::Error, Account, SentTransaction, SentTransactionOutput, WalletCommitmentTrees,
| ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^
...
55 | wallet::{Note, OvkPolicy, Recipient, TransparentAddressMetadata},
| ^^^^^^^^^
Check failure on line 39 in zcash_client_backend/src/data_api/wallet.rs
github-actions / Clippy (MSRV)
unused imports: `PreparedIncomingViewingKey`, `try_sapling_note_decryption`
error: unused imports: `PreparedIncomingViewingKey`, `try_sapling_note_decryption`
--> zcash_client_backend/src/data_api/wallet.rs:39:23
|
39 | note_encryption::{try_sapling_note_decryption, PreparedIncomingViewingKey},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`