Setting up tide-disco bindings #12
Annotations
14 errors and 1 warning
bounds on generic parameters are not enforced in type aliases:
src/block_metadata.rs#L12
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>>;
|
|
bounds on generic parameters are not enforced in type aliases:
src/block_metadata.rs#L12
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>>;
|
|
unused import: `OptionExt`:
src/builder.rs#L11
error: unused import: `OptionExt`
--> src/builder.rs:11:13
|
11 | use snafu::{OptionExt, ResultExt, Snafu};
| ^^^^^^^^^
|
unused import: `OptionExt`:
src/builder.rs#L11
error: unused import: `OptionExt`
--> src/builder.rs:11:13
|
11 | use snafu::{OptionExt, ResultExt, Snafu};
| ^^^^^^^^^
|
unused import: `BlockPayload`:
src/data_source.rs#L7
error: unused import: `BlockPayload`
--> src/data_source.rs:7:74
|
7 | traits::{node_implementation::NodeType, signature_key::SignatureKey, BlockPayload},
| ^^^^^^^^^^^^
|
unused import: `commit::Committable`:
src/data_source.rs#L4
error: unused import: `commit::Committable`
--> src/data_source.rs:4:5
|
4 | use commit::Committable;
| ^^^^^^^^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
src/data_source.rs#L1
error: unused import: `std::sync::Arc`
--> src/data_source.rs:1:5
|
1 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused imports: `block_metadata::BlockHash`, `self`:
src/builder.rs#L17
error: unused imports: `block_metadata::BlockHash`, `self`
--> src/builder.rs:17:5
|
17 | block_metadata::BlockHash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
18 | data_source::{self, BuilderDataSource},
| ^^^^
|
unused import: `data::VidCommitment`:
src/builder.rs#L7
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)]`
|
unused import: `BlockPayload`:
src/data_source.rs#L7
error: unused import: `BlockPayload`
--> src/data_source.rs:7:74
|
7 | traits::{node_implementation::NodeType, signature_key::SignatureKey, BlockPayload},
| ^^^^^^^^^^^^
|
unused import: `commit::Committable`:
src/data_source.rs#L4
error: unused import: `commit::Committable`
--> src/data_source.rs:4:5
|
4 | use commit::Committable;
| ^^^^^^^^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
src/data_source.rs#L1
error: unused import: `std::sync::Arc`
--> src/data_source.rs:1:5
|
1 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused imports: `block_metadata::BlockHash`, `self`:
src/builder.rs#L17
error: unused imports: `block_metadata::BlockHash`, `self`
--> src/builder.rs:17:5
|
17 | block_metadata::BlockHash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
18 | data_source::{self, BuilderDataSource},
| ^^^^
|
unused import: `data::VidCommitment`:
src/builder.rs#L7
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)]`
|
windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|