Feat/support 4844 #10
Annotations
9 errors and 1 warning
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L372
[clippy] reported by reviewdog 🐶
error: redundant field names in struct initialization
--> lib/src/taiko/host.rs:372:9
|
372 | tx_blob_hash: tx_blob_hash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `tx_blob_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
Raw Output:
lib/src/taiko/host.rs:372:9:e:error: redundant field names in struct initialization
--> lib/src/taiko/host.rs:372:9
|
372 | tx_blob_hash: tx_blob_hash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `tx_blob_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L372
[clippy] reported by reviewdog 🐶
error: redundant field names in struct initialization
--> lib/src/taiko/host.rs:372:9
|
372 | tx_blob_hash: tx_blob_hash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `tx_blob_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
Raw Output:
lib/src/taiko/host.rs:372:9:e:error: redundant field names in struct initialization
--> lib/src/taiko/host.rs:372:9
|
372 | tx_blob_hash: tx_blob_hash,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `tx_blob_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
= note: `-D clippy::redundant-field-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L201
[clippy] reported by reviewdog 🐶
error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read
--> lib/src/taiko/host.rs:202:9
|
201 | struct GetBlobData {
| ----------- fields in this struct
202 | pub index: String,
| ^^^^^
...
206 | pub kzg_proof: String,
| ^^^^^^^^^
207 | pub kzg_commitment_inclusion_proof: Vec<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `GetBlobData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Raw Output:
lib/src/taiko/host.rs:201:8:e:error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read
--> lib/src/taiko/host.rs:202:9
|
201 | struct GetBlobData {
| ----------- fields in this struct
202 | pub index: String,
| ^^^^^
...
206 | pub kzg_proof: String,
| ^^^^^^^^^
207 | pub kzg_commitment_inclusion_proof: Vec<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `GetBlobData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L201
[clippy] reported by reviewdog 🐶
error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read
--> lib/src/taiko/host.rs:202:9
|
201 | struct GetBlobData {
| ----------- fields in this struct
202 | pub index: String,
| ^^^^^
...
206 | pub kzg_proof: String,
| ^^^^^^^^^
207 | pub kzg_commitment_inclusion_proof: Vec<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `GetBlobData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Raw Output:
lib/src/taiko/host.rs:201:8:e:error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read
--> lib/src/taiko/host.rs:202:9
|
201 | struct GetBlobData {
| ----------- fields in this struct
202 | pub index: String,
| ^^^^^
...
206 | pub kzg_proof: String,
| ^^^^^^^^^
207 | pub kzg_commitment_inclusion_proof: Vec<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `GetBlobData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L258
[clippy] reported by reviewdog 🐶
error: writing `&String` instead of `&str` involves a new object where a slice will do
--> lib/src/taiko/host.rs:258:31
|
258 | fn calc_blob_hash(commitment: &String) -> [u8; 32] {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
Raw Output:
lib/src/taiko/host.rs:258:31:e:error: writing `&String` instead of `&str` involves a new object where a slice will do
--> lib/src/taiko/host.rs:258:31
|
258 | fn calc_blob_hash(commitment: &String) -> [u8; 32] {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L258
[clippy] reported by reviewdog 🐶
error: writing `&String` instead of `&str` involves a new object where a slice will do
--> lib/src/taiko/host.rs:258:31
|
258 | fn calc_blob_hash(commitment: &String) -> [u8; 32] {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
Raw Output:
lib/src/taiko/host.rs:258:31:e:error: writing `&String` instead of `&str` involves a new object where a slice will do
--> lib/src/taiko/host.rs:258:31
|
258 | fn calc_blob_hash(commitment: &String) -> [u8; 32] {
| ^^^^^^^ help: change this to: `&str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L261
[clippy] reported by reviewdog 🐶
error: using `clone` on type `[u8; 32]` which implements the `Copy` trait
--> lib/src/taiko/host.rs:261:34
|
261 | let version_hash: [u8; 32] = kzg_to_versioned_hash(kzg_commit).0.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `kzg_to_versioned_hash(kzg_commit).0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
Raw Output:
lib/src/taiko/host.rs:261:34:e:error: using `clone` on type `[u8; 32]` which implements the `Copy` trait
--> lib/src/taiko/host.rs:261:34
|
261 | let version_hash: [u8; 32] = kzg_to_versioned_hash(kzg_commit).0.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `kzg_to_versioned_hash(kzg_commit).0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
__END__
|
Run risc0/clippy-action@main:
lib/src/taiko/host.rs#L261
[clippy] reported by reviewdog 🐶
error: using `clone` on type `[u8; 32]` which implements the `Copy` trait
--> lib/src/taiko/host.rs:261:34
|
261 | let version_hash: [u8; 32] = kzg_to_versioned_hash(kzg_commit).0.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `kzg_to_versioned_hash(kzg_commit).0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
Raw Output:
lib/src/taiko/host.rs:261:34:e:error: using `clone` on type `[u8; 32]` which implements the `Copy` trait
--> lib/src/taiko/host.rs:261:34
|
261 | let version_hash: [u8; 32] = kzg_to_versioned_hash(kzg_commit).0.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `kzg_to_versioned_hash(kzg_commit).0`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::clone_on_copy)]`
__END__
|
Run risc0/clippy-action@main
reviewdog exited with status code: 1
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, risc0/[email protected], risc0/clippy-action@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading