Skip to content

solana-ibc: implement BorshDeserialize for Event #448

solana-ibc: implement BorshDeserialize for Event

solana-ibc: implement BorshDeserialize for Event #448

Triggered via pull request November 24, 2023 18:57
@mina86mina86
synchronize #127
mpn/d
Status Failure
Total duration 10m 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

master.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
the following explicit lifetimes could be elided: 'a: solana/solana-ibc/programs/solana-ibc/src/events.rs#L105
error: the following explicit lifetimes could be elided: 'a --> solana/solana-ibc/programs/solana-ibc/src/events.rs:105:14 | 105 | pub fn block<'a>(block: &'a crate::chain::Block) -> CowBlock { | ^^ ^^ ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `-D clippy::needless-lifetimes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]` help: elide the lifetimes | 105 - pub fn block<'a>(block: &'a crate::chain::Block) -> CowBlock { 105 + pub fn block(block: &crate::chain::Block) -> CowBlock { |
this expression creates a reference which is immediately dereferenced by the compiler: solana/solana-ibc/programs/solana-ibc/src/chain.rs#L195
error: this expression creates a reference which is immediately dereferenced by the compiler --> solana/solana-ibc/programs/solana-ibc/src/chain.rs:195:42 | 195 | block: events::block(&head), | ^^^^^ help: change this to: `head` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
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/