Skip to content

Feat/support 4844

Feat/support 4844 #9

Triggered via pull request February 20, 2024 09:35
Status Failure
Total duration 10m 53s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
fmt
Process completed with exit code 1.
clippy: lib/src/taiko/host.rs#L403
[clippy] reported by reviewdog 🐶 error: redundant field names in struct initialization --> lib/src/taiko/host.rs:403:9 | 403 | 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:403:9:e:error: redundant field names in struct initialization --> lib/src/taiko/host.rs:403:9 | 403 | 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__
clippy: lib/src/taiko/host.rs#L403
[clippy] reported by reviewdog 🐶 error: redundant field names in struct initialization --> lib/src/taiko/host.rs:403:9 | 403 | 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:403:9:e:error: redundant field names in struct initialization --> lib/src/taiko/host.rs:403:9 | 403 | 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__
clippy: lib/src/taiko/host.rs#L220
[clippy] reported by reviewdog 🐶 error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read --> lib/src/taiko/host.rs:221:9 | 220 | struct GetBlobData { | ----------- fields in this struct 221 | pub index: String, | ^^^^^ ... 225 | pub kzg_proof: String, | ^^^^^^^^^ 226 | 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:220:8:e:error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read --> lib/src/taiko/host.rs:221:9 | 220 | struct GetBlobData { | ----------- fields in this struct 221 | pub index: String, | ^^^^^ ... 225 | pub kzg_proof: String, | ^^^^^^^^^ 226 | 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__
clippy: lib/src/taiko/host.rs#L220
[clippy] reported by reviewdog 🐶 error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read --> lib/src/taiko/host.rs:221:9 | 220 | struct GetBlobData { | ----------- fields in this struct 221 | pub index: String, | ^^^^^ ... 225 | pub kzg_proof: String, | ^^^^^^^^^ 226 | 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:220:8:e:error: fields `index`, `kzg_proof`, and `kzg_commitment_inclusion_proof` are never read --> lib/src/taiko/host.rs:221:9 | 220 | struct GetBlobData { | ----------- fields in this struct 221 | pub index: String, | ^^^^^ ... 225 | pub kzg_proof: String, | ^^^^^^^^^ 226 | 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__
clippy: lib/src/taiko/host.rs#L277
[clippy] reported by reviewdog 🐶 error: writing `&String` instead of `&str` involves a new object where a slice will do --> lib/src/taiko/host.rs:277:31 | 277 | 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:277:31:e:error: writing `&String` instead of `&str` involves a new object where a slice will do --> lib/src/taiko/host.rs:277:31 | 277 | 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__
clippy: lib/src/taiko/host.rs#L280
[clippy] reported by reviewdog 🐶 error: using `clone` on type `[u8; 32]` which implements the `Copy` trait --> lib/src/taiko/host.rs:280:34 | 280 | 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:280:34:e:error: using `clone` on type `[u8; 32]` which implements the `Copy` trait --> lib/src/taiko/host.rs:280:34 | 280 | 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__
clippy: lib/src/taiko/host.rs#L277
[clippy] reported by reviewdog 🐶 error: writing `&String` instead of `&str` involves a new object where a slice will do --> lib/src/taiko/host.rs:277:31 | 277 | 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:277:31:e:error: writing `&String` instead of `&str` involves a new object where a slice will do --> lib/src/taiko/host.rs:277:31 | 277 | 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__
clippy: lib/src/taiko/host.rs#L280
[clippy] reported by reviewdog 🐶 error: using `clone` on type `[u8; 32]` which implements the `Copy` trait --> lib/src/taiko/host.rs:280:34 | 280 | 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:280:34:e:error: using `clone` on type `[u8; 32]` which implements the `Copy` trait --> lib/src/taiko/host.rs:280:34 | 280 | 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__
clippy
reviewdog exited with status code: 1
test
Process completed with exit code 101.
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
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/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, risc0/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.