solana-ibc: write local consensus state when witness feature is enabled #1766
master.yml
on: pull_request
Miscellaneous checks
3m 18s
Anchor Test
18m 57s
Rust tests
8m 46s
Annotations
2 errors and 2 warnings
using `clone` on type `CryptoHash` which implements the `Copy` trait:
solana/solana-ibc/programs/solana-ibc/src/lib.rs#L405
error: using `clone` on type `CryptoHash` which implements the `Copy` trait
--> solana/solana-ibc/programs/solana-ibc/src/lib.rs:405:29
|
405 | let previous_root = store.borrow().provable.hash().clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*store.borrow().provable.hash()`
|
= 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)]`
|
Miscellaneous checks
Clippy had exited with the 101 exit code
|
Miscellaneous checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Miscellaneous checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|