[WEEKLY RELEASE] HotShot 0.5.84 #355
clippy
7 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 7 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check failure on line 3893 in crates/legacy/src/service.rs
github-actions / clippy
no variant or associated item named `WaitAndKeepGetError` found for enum `service::ClaimBlockHeaderInputError` in the current scope
error[E0599]: no variant or associated item named `WaitAndKeepGetError` found for enum `service::ClaimBlockHeaderInputError` in the current scope
--> crates/legacy/src/service.rs:3893:45
|
603 | enum ClaimBlockHeaderInputError<Types: NodeType> {
| ------------------------------------------------ variant or associated item `WaitAndKeepGetError` not found for this enum
...
3893 | Err(ClaimBlockHeaderInputError::WaitAndKeepGetError(_)) => {
| ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ClaimBlockHeaderInputError<_>`
Check failure on line 3797 in crates/legacy/src/service.rs
github-actions / clippy
no variant or associated item named `CouldNotGetVidInTime` found for enum `service::ClaimBlockHeaderInputError` in the current scope
error[E0599]: no variant or associated item named `CouldNotGetVidInTime` found for enum `service::ClaimBlockHeaderInputError` in the current scope
--> crates/legacy/src/service.rs:3797:45
|
603 | enum ClaimBlockHeaderInputError<Types: NodeType> {
| ------------------------------------------------ variant or associated item `CouldNotGetVidInTime` not found for this enum
...
3797 | Err(ClaimBlockHeaderInputError::CouldNotGetVidInTime) => {
| ^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ClaimBlockHeaderInputError<_>`
Check failure on line 927 in crates/legacy/src/service.rs
github-actions / clippy
unused variable: `truncated`
error: unused variable: `truncated`
--> crates/legacy/src/service.rs:927:61
|
927 | if let Some((vid_commitment, metadata, offered_fee, truncated)) =
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
Check failure on line 55 in crates/legacy/src/service.rs
github-actions / clippy
constant `VID_RESPONSE_TARGET_MARGIN_DIVISOR` is never used
error: constant `VID_RESPONSE_TARGET_MARGIN_DIVISOR` is never used
--> crates/legacy/src/service.rs:55:7
|
55 | const VID_RESPONSE_TARGET_MARGIN_DIVISOR: u32 = 10;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 59 in crates/legacy/src/lib.rs
github-actions / clippy
method `get` is never used
error: method `get` is never used
--> crates/legacy/src/lib.rs:59:25
|
50 | impl<T: Clone> WaitAndKeep<T> {
| ----------------------------- method in this implementation
...
59 | pub(crate) async fn get(&mut self) -> Result<T, WaitAndKeepGetError> {
| ^^^
Check failure on line 25 in crates/legacy/src/testing/finalization_test.rs
github-actions / clippy
unused import: `EpochNumber`
error: unused import: `EpochNumber`
--> crates/legacy/src/testing/finalization_test.rs:25:25
|
25 | data::{DaProposal2, EpochNumber, QuorumProposal2, QuorumProposalWrapper, ViewNumber},
| ^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Check failure on line 927 in crates/legacy/src/service.rs
github-actions / clippy
unused variable: `truncated`
error: unused variable: `truncated`
--> crates/legacy/src/service.rs:927:61
|
927 | if let Some((vid_commitment, metadata, offered_fee, truncated)) =
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`