fast-bridge: Emit events for each method. #1699
master.yml
on: pull_request
Miscellaneous checks
3m 9s
Anchor Test
8m 56s
Rust tests
4m 2s
Annotations
6 errors and 2 warnings
use of moved value: `new_intent.amount_out`:
solana/bridge-escrow/programs/bridge-escrow/src/lib.rs#L116
error[E0382]: use of moved value: `new_intent.amount_out`
--> solana/bridge-escrow/programs/bridge-escrow/src/lib.rs:116:29
|
105 | intent.amount_out = new_intent.amount_out;
| --------------------- value moved here
...
116 | amount_out: new_intent.amount_out,
| ^^^^^^^^^^^^^^^^^^^^^ value used here after move
|
= note: move occurs because `new_intent.amount_out` has type `std::string::String`, which does not implement the `Copy` trait
|
use of moved value: `new_intent.token_out`:
solana/bridge-escrow/programs/bridge-escrow/src/lib.rs#L115
error[E0382]: use of moved value: `new_intent.token_out`
--> solana/bridge-escrow/programs/bridge-escrow/src/lib.rs:115:28
|
102 | intent.token_out = new_intent.token_out;
| -------------------- value moved here
...
115 | token_out: new_intent.token_out,
| ^^^^^^^^^^^^^^^^^^^^ value used here after move
|
= note: move occurs because `new_intent.token_out` has type `std::string::String`, which does not implement the `Copy` trait
|
use of moved value: `new_intent.intent_id`:
solana/bridge-escrow/programs/bridge-escrow/src/lib.rs#L111
error[E0382]: use of moved value: `new_intent.intent_id`
--> solana/bridge-escrow/programs/bridge-escrow/src/lib.rs:111:28
|
98 | intent.intent_id = new_intent.intent_id;
| -------------------- value moved here
...
111 | intent_id: new_intent.intent_id,
| ^^^^^^^^^^^^^^^^^^^^ value used here after move
|
= note: move occurs because `new_intent.intent_id` has type `std::string::String`, which does not implement the `Copy` trait
|
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/
|