Update solana ledger command for autosnapshot in 1.16 #432
build.yaml
on: pull_request
Build and test programs
18m 32s
Build Verifiable Artifact
2m 25s
Annotations
1 error and 23 warnings
Build Verifiable Artifact
Process completed with exit code 101.
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L515
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:515:49
|
515 | fn auth(ctx: &Context<UploadMerkleRoot>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L459
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:459:60
|
459 | fn auth(ctx: &Context<CloseTipDistributionAccount>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-payment/src/lib.rs#L672
warning: the `Err`-variant returned from this function is very large
--> programs/tip-payment/src/lib.rs:672:48
|
672 | fn drain_account(account: &AccountInfo) -> Result<u64> {
| ^^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-payment/src/lib.rs#L661
warning: the `Err`-variant returned from this function is very large
--> programs/tip-payment/src/lib.rs:661:54
|
661 | fn drain_accounts(accounts: Vec<AccountInfo>) -> Result<u64> {
| ^^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L419
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:419:45
|
419 | fn auth(ctx: &Context<UpdateConfig>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L208
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:208:87
|
208 | pub fn claim(ctx: Context<Claim>, bump: u8, amount: u64, proof: Vec<[u8; 32]>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L183
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:183:10
|
183 | ) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L161
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:161:66
|
161 | pub fn close_claim_status(ctx: Context<CloseClaimStatus>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L123
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:123:10
|
123 | ) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L97
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:97:77
|
97 | pub fn update_config(ctx: Context<UpdateConfig>, new_config: Config) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L65
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:65:10
|
65 | ) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/lib.rs#L46
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/lib.rs:46:10
|
46 | ) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/state.rs#L134
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/state.rs:134:78
|
134 | fn transfer_lamports(from: AccountInfo, to: AccountInfo, amount: u64) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/state.rs#L130
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/state.rs:130:70
|
130 | pub fn claim(from: AccountInfo, to: AccountInfo, amount: u64) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/state.rs#L117
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/state.rs:117:65
|
117 | pub fn claim_expired(from: AccountInfo, to: AccountInfo) -> Result<u64> {
| ^^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/state.rs#L106
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/state.rs:106:31
|
106 | pub fn validate(&self) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-distribution/src/state.rs#L80
warning: the `Err`-variant returned from this function is very large
--> programs/tip-distribution/src/state.rs:80:31
|
80 | pub fn validate(&self) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-payment/src/lib.rs#L163
warning: the `Err`-variant returned from this function is very large
--> programs/tip-payment/src/lib.rs:163:10
|
163 | ) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-payment/src/lib.rs#L112
warning: the `Err`-variant returned from this function is very large
--> programs/tip-payment/src/lib.rs:112:68
|
112 | pub fn change_tip_receiver(ctx: Context<ChangeTipReceiver>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-payment/src/lib.rs#L67
warning: the `Err`-variant returned from this function is very large
--> programs/tip-payment/src/lib.rs:67:51
|
67 | pub fn claim_tips(ctx: Context<ClaimTips>) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/tip-payment/src/lib.rs#L45
warning: the `Err`-variant returned from this function is very large
--> programs/tip-payment/src/lib.rs:45:71
|
45 | pub fn initialize(ctx: Context<Initialize>, _bumps: InitBumps) -> Result<()> {
| ^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
the `Err`-variant returned from this function is very large:
mev-programs/programs/programs/vote-state/src/lib.rs#L181
warning: the `Err`-variant returned from this function is very large
--> programs/vote-state/src/lib.rs:181:55
|
181 | pub fn deserialize(account_info: &AccountInfo) -> Result<Box<Self>> {
| ^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 160 bytes
|
= help: try reducing the size of `anchor_lang::error::Error`, for example by boxing large elements or replacing it with `Box<anchor_lang::error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
Build and test programs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, reinismu/clippy-check@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|