IBC Hooks: add hooks to call bridge escrow program #1813
master.yml
on: pull_request
Miscellaneous checks
3m 32s
Anchor Test
7m 38s
Rust tests
4m 12s
Annotations
6 errors and 2 warnings
cannot assign to `ack` because it is borrowed:
solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs#L246
error[E0506]: cannot assign to `ack` because it is borrowed
--> solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs:246:17
|
152 | let ack_status = str::from_utf8(ack.as_bytes())
| --- `ack` is borrowed here
...
246 | ack = status.into();
| ^^^ `ack` is assigned to here but it was already borrowed
...
249 | msg!("ibc::Packet acknowledgement: {}", ack_status);
| ---------- borrow later used here
|
cannot assign to `ack` because it is borrowed:
solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs#L160
error[E0506]: cannot assign to `ack` because it is borrowed
--> solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs:160:13
|
152 | let ack_status = str::from_utf8(ack.as_bytes())
| --- `ack` is borrowed here
...
160 | ack = ibc::AcknowledgementStatus::error(
| ^^^ `ack` is assigned to here but it was already borrowed
...
249 | msg!("ibc::Packet acknowledgement: {}", ack_status);
| ---------- borrow later used here
|
variable does not need to be mutable:
solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs#L147
error: variable does not need to be mutable
--> solana/solana-ibc/programs/solana-ibc/src/transfer/mod.rs:147:22
|
147 | let (extras, mut ack) =
| ----^^^
| |
| help: remove this `mut`
|
= note: `-D unused-mut` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_mut)]`
|
Miscellaneous checks
Clippy had exited with the 101 exit code
|
Rust tests
Process completed with exit code 101.
|
Anchor Test
Process completed with exit code 1.
|
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/
|