Setting up tide-disco bindings #13
clippy
14 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 14 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check failure on line 12 in src/block_metadata.rs
github-actions / clippy
bounds on generic parameters are not enforced in type aliases
error: bounds on generic parameters are not enforced in type aliases
--> src/block_metadata.rs:12:23
|
12 | pub type BlockHash<I: NodeType> = Commitment<HashableBlock<I>>;
| ^^^^^^^^
|
= note: `-D type-alias-bounds` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(type_alias_bounds)]`
help: the bound will not be checked when the type alias is used, and should be removed
|
12 - pub type BlockHash<I: NodeType> = Commitment<HashableBlock<I>>;
12 + pub type BlockHash<I> = Commitment<HashableBlock<I>>;
|
Check failure on line 12 in src/block_metadata.rs
github-actions / clippy
bounds on generic parameters are not enforced in type aliases
error: bounds on generic parameters are not enforced in type aliases
--> src/block_metadata.rs:12:23
|
12 | pub type BlockHash<I: NodeType> = Commitment<HashableBlock<I>>;
| ^^^^^^^^
|
= note: `-D type-alias-bounds` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(type_alias_bounds)]`
help: the bound will not be checked when the type alias is used, and should be removed
|
12 - pub type BlockHash<I: NodeType> = Commitment<HashableBlock<I>>;
12 + pub type BlockHash<I> = Commitment<HashableBlock<I>>;
|
Check failure on line 11 in src/builder.rs
github-actions / clippy
unused import: `OptionExt`
error: unused import: `OptionExt`
--> src/builder.rs:11:13
|
11 | use snafu::{OptionExt, ResultExt, Snafu};
| ^^^^^^^^^
Check failure on line 11 in src/builder.rs
github-actions / clippy
unused import: `OptionExt`
error: unused import: `OptionExt`
--> src/builder.rs:11:13
|
11 | use snafu::{OptionExt, ResultExt, Snafu};
| ^^^^^^^^^
Check failure on line 7 in src/data_source.rs
github-actions / clippy
unused import: `BlockPayload`
error: unused import: `BlockPayload`
--> src/data_source.rs:7:74
|
7 | traits::{node_implementation::NodeType, signature_key::SignatureKey, BlockPayload},
| ^^^^^^^^^^^^
Check failure on line 4 in src/data_source.rs
github-actions / clippy
unused import: `commit::Committable`
error: unused import: `commit::Committable`
--> src/data_source.rs:4:5
|
4 | use commit::Committable;
| ^^^^^^^^^^^^^^^^^^^
Check failure on line 7 in src/data_source.rs
github-actions / clippy
unused import: `BlockPayload`
error: unused import: `BlockPayload`
--> src/data_source.rs:7:74
|
7 | traits::{node_implementation::NodeType, signature_key::SignatureKey, BlockPayload},
| ^^^^^^^^^^^^
Check failure on line 4 in src/data_source.rs
github-actions / clippy
unused import: `commit::Committable`
error: unused import: `commit::Committable`
--> src/data_source.rs:4:5
|
4 | use commit::Committable;
| ^^^^^^^^^^^^^^^^^^^
Check failure on line 1 in src/data_source.rs
github-actions / clippy
unused import: `std::sync::Arc`
error: unused import: `std::sync::Arc`
--> src/data_source.rs:1:5
|
1 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
Check failure on line 1 in src/data_source.rs
github-actions / clippy
unused import: `std::sync::Arc`
error: unused import: `std::sync::Arc`
--> src/data_source.rs:1:5
|
1 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
Check failure on line 17 in src/builder.rs
github-actions / clippy
unused imports: `block_metadata::BlockHash`, `self`
error: unused imports: `block_metadata::BlockHash`, `self`
--> src/builder.rs:17:5
|
17 | block_metadata::BlockHash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
18 | data_source::{self, BuilderDataSource},
| ^^^^
Check failure on line 17 in src/builder.rs
github-actions / clippy
unused imports: `block_metadata::BlockHash`, `self`
error: unused imports: `block_metadata::BlockHash`, `self`
--> src/builder.rs:17:5
|
17 | block_metadata::BlockHash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
18 | data_source::{self, BuilderDataSource},
| ^^^^
Check failure on line 7 in src/builder.rs
github-actions / clippy
unused import: `data::VidCommitment`
error: unused import: `data::VidCommitment`
--> src/builder.rs:7:5
|
7 | data::VidCommitment,
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Check failure on line 7 in src/builder.rs
github-actions / clippy
unused import: `data::VidCommitment`
error: unused import: `data::VidCommitment`
--> src/builder.rs:7:5
|
7 | data::VidCommitment,
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`