Transfer implementation #450
master.yml
on: pull_request
Miscellaneous checks
4m 11s
Build SBF
9m 32s
Rust tests
2m 43s
Rust Miri tests
2m 31s
Annotations
8 errors and 1 warning
Rust Miri tests
Process completed with exit code 101.
|
Rust tests
Process completed with exit code 101.
|
the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied:
solana/solana-ibc/programs/solana-ibc/src/lib.rs#L303
error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied
--> solana/solana-ibc/programs/solana-ibc/src/lib.rs:303:25
|
303 | escrow_account: Box<Account<'info, TokenAccount>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount`
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.28.0/src/token.rs:465:1
|
465 | impl anchor_lang::AccountDeserialize for TokenAccount {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `anchor_lang` are being used?
= help: the following other types implement trait `anchor_lang::AccountDeserialize`:
chain::ChainData
anchor_lang::ProgramData
anchor_lang::idl::IdlAccount
storage::IbcPackets
storage::PrivateStorage
__private::__idl::IdlAccount
anchor_lang::prelude::UpgradeableLoaderState
note: required by a bound in `anchor_lang::prelude::Account`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:49
|
226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
| ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
|
the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied:
solana/solana-ibc/programs/solana-ibc/src/lib.rs#L303
error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied
--> solana/solana-ibc/programs/solana-ibc/src/lib.rs:303:25
|
303 | escrow_account: Box<Account<'info, TokenAccount>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount`
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.28.0/src/token.rs:473:1
|
473 | impl anchor_lang::AccountSerialize for TokenAccount {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `anchor_lang` are being used?
= help: the following other types implement trait `anchor_lang::AccountSerialize`:
chain::ChainData
anchor_lang::ProgramData
anchor_lang::idl::IdlAccount
storage::IbcPackets
storage::PrivateStorage
__private::__idl::IdlAccount
anchor_lang::prelude::UpgradeableLoaderState
note: required by a bound in `anchor_lang::prelude::Account`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:30
|
226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
| ^^^^^^^^^^^^^^^^ required by this bound in `Account`
|
the trait bound `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied:
solana/solana-ibc/programs/solana-ibc/src/lib.rs#L301
error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied
--> solana/solana-ibc/programs/solana-ibc/src/lib.rs:301:21
|
301 | token_mint: Box<Account<'info, Mint>>,
| ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint`
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.28.0/src/token.rs:496:1
|
496 | impl anchor_lang::AccountDeserialize for Mint {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `anchor_lang` are being used?
= help: the following other types implement trait `anchor_lang::AccountDeserialize`:
chain::ChainData
anchor_lang::ProgramData
anchor_lang::idl::IdlAccount
storage::IbcPackets
storage::PrivateStorage
__private::__idl::IdlAccount
anchor_lang::prelude::UpgradeableLoaderState
note: required by a bound in `anchor_lang::prelude::Account`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:49
|
226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
| ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
|
the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied:
solana/solana-ibc/programs/solana-ibc/src/lib.rs#L301
error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied
--> solana/solana-ibc/programs/solana-ibc/src/lib.rs:301:21
|
301 | token_mint: Box<Account<'info, Mint>>,
| ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint`
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.28.0/src/token.rs:504:1
|
504 | impl anchor_lang::AccountSerialize for Mint {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `anchor_lang` are being used?
= help: the following other types implement trait `anchor_lang::AccountSerialize`:
chain::ChainData
anchor_lang::ProgramData
anchor_lang::idl::IdlAccount
storage::IbcPackets
storage::PrivateStorage
__private::__idl::IdlAccount
anchor_lang::prelude::UpgradeableLoaderState
note: required by a bound in `anchor_lang::prelude::Account`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:30
|
226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
| ^^^^^^^^^^^^^^^^ required by this bound in `Account`
|
Miscellaneous checks
Clippy had exited with the 101 exit code
|
Build SBF
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/
|