Transfer implementation #451
Triggered via pull request
November 24, 2023 20:24
Status
Failure
Total duration
10m 51s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
master.yml
on: pull_request
Miscellaneous checks
4m 5s
Build SBF
10m 41s
Rust tests
3m 14s
Rust Miri tests
3m 44s
Annotations
3 errors and 1 warning
Rust tests
Process completed with exit code 101.
|
no method named `get` found for struct `MockDeliverBumps` in the current scope:
solana/solana-ibc/programs/solana-ibc/src/mocks.rs#L182
error[E0599]: no method named `get` found for struct `MockDeliverBumps` in the current scope
--> solana/solana-ibc/programs/solana-ibc/src/mocks.rs:182:33
|
182 | let bump_vector = ctx.bumps.get("mint_authority").unwrap().to_le_bytes();
| ----------^^^------------------
| | |
| | this is an associated function, not a method
| help: use associated function syntax instead: `MockDeliverBumps::get("mint_authority")`
|
::: solana/solana-ibc/programs/solana-ibc/src/lib.rs:270:10
|
270 | #[derive(Accounts)]
| -------- method `get` not found for this struct
|
= note: found the following associated functions; to be used as methods, functions must have a `self` parameter
note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.6/src/sysvar/mod.rs:227:5
|
227 | fn get() -> Result<Self, ProgramError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `get`, perhaps you need to implement one of them:
candidate #1: `std::slice::SliceIndex`
candidate #2: `anchor_lang::__private::ZeroCopyAccessor`
candidate #3: `anchor_lang::solana_program::account_info::Account`
candidate #4: `bitmaps::types::BitOps`
candidate #5: `solana_trie::DataRef`
candidate #6: `memory::Allocator`
|
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/
|