Skip to content

fast-bridge: Emit events for each method. #1699

fast-bridge: Emit events for each method.

fast-bridge: Emit events for each method. #1699

Triggered via pull request August 26, 2024 02:03
Status Failure
Total duration 9m 4s
Artifacts

master.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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/