Skip to content

version nits

version nits #1640

Triggered via push September 19, 2023 01:00
Status Failure
Total duration 22m 38s
Artifacts 1

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 47 warnings
integration-tests
Process completed with exit code 1.
integration-tests
No test report files were found
rust-fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
rust-fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rust-fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rust-fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rust-fmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-paid-claim-approver/src/lib.rs#L18
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-paid-claim-approver/src/lib.rs:18:5 | 18 | pub fn pay<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, PayCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 18 - pub fn pay<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, PayCtx<'info>>) -> Result<()> { 18 + pub fn pay<'info>(ctx: Context<'_, '_, '_, 'info, PayCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-time-invalidator/src/lib.rs#L30
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-time-invalidator/src/lib.rs:30:5 | 30 | pub fn invalidate<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 30 - pub fn invalidate<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { 30 + pub fn invalidate<'info>(ctx: Context<'_, '_, '_, 'info, InvalidateCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-time-invalidator/src/lib.rs#L18
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-time-invalidator/src/lib.rs:18:5 | 18 | pub fn extend_expiration<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ExtendExpirationCtx<'info>>, seconds_to_add: u64) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 18 - pub fn extend_expiration<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ExtendExpirationCtx<'info>>, seconds_to_add: u64) -> Result<()> { 18 + pub fn extend_expiration<'info>(ctx: Context<'_, '_, '_, 'info, ExtendExpirationCtx<'info>>, seconds_to_add: u64) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-transfer-authority/src/lib.rs#L67
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-transfer-authority/src/lib.rs:67:5 | 67 | pub fn accept_transfer<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, AcceptTransferCtx<'info>>) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 67 - pub fn accept_transfer<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, AcceptTransferCtx<'info>>) -> Result<()> { 67 + pub fn accept_transfer<'info>(ctx: Context<'_, '_, '_, 'info, AcceptTransferCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-transfer-authority/src/lib.rs#L41
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-transfer-authority/src/lib.rs:41:5 | 41 | pub fn accept_listing<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, AcceptListingCtx<'info>>, ix: AcceptListingIx) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 41 - pub fn accept_listing<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, AcceptListingCtx<'info>>, ix: AcceptListingIx) -> Result<()> { 41 + pub fn accept_listing<'info>(ctx: Context<'_, '_, '_, 'info, AcceptListingCtx<'info>>, ix: AcceptListingIx) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-transfer-authority/src/lib.rs#L28
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-transfer-authority/src/lib.rs:28:5 | 28 | pub fn release<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ReleaseCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 28 - pub fn release<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ReleaseCtx<'info>>) -> Result<()> { 28 + pub fn release<'info>(ctx: Context<'_, '_, '_, 'info, ReleaseCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-time-invalidator/src/instructions/invalidate.rs#L42
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-time-invalidator/src/instructions/invalidate.rs:42:1 | 42 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 42 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { 42 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, InvalidateCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-transfer-authority/src/instructions/transfer_authority/release.rs#L36
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-transfer-authority/src/instructions/transfer_authority/release.rs:36:1 | 36 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ReleaseCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 36 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ReleaseCtx<'info>>) -> Result<()> { 36 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, ReleaseCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-transfer-authority/src/instructions/listing/accept_listing.rs#L92
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-transfer-authority/src/instructions/listing/accept_listing.rs:92:1 | 92 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, AcceptListingCtx<'info>>, ix: AcceptListingIx) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 92 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, AcceptListingCtx<'info>>, ix: AcceptListingIx) -> Result<()> { 92 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, AcceptListingCtx<'info>>, ix: AcceptListingIx) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-use-invalidator/src/lib.rs#L26
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-use-invalidator/src/lib.rs:26:5 | 26 | pub fn invalidate<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 26 - pub fn invalidate<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { 26 + pub fn invalidate<'info>(ctx: Context<'_, '_, '_, 'info, InvalidateCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-use-invalidator/src/lib.rs#L22
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-use-invalidator/src/lib.rs:22:5 | 22 | pub fn extend_usages<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ExtendUsagesCtx<'info>>, payment_amount: u64) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 22 - pub fn extend_usages<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ExtendUsagesCtx<'info>>, payment_amount: u64) -> Result<()> { 22 + pub fn extend_usages<'info>(ctx: Context<'_, '_, '_, 'info, ExtendUsagesCtx<'info>>, payment_amount: u64) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-use-invalidator/src/instructions/invalidate.rs#L37
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-use-invalidator/src/instructions/invalidate.rs:37:1 | 37 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 37 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { 37 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, InvalidateCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/lib.rs#L92
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/lib.rs:92:5 | 92 | pub fn transfer<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, TransferCtx<'info>>) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 92 - pub fn transfer<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, TransferCtx<'info>>) -> Result<()> { 92 + pub fn transfer<'info>(ctx: Context<'_, '_, '_, 'info, TransferCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/lib.rs#L63
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/lib.rs:63:5 | 63 | pub fn invalidate<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 63 - pub fn invalidate<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { 63 + pub fn invalidate<'info>(ctx: Context<'_, '_, '_, 'info, InvalidateCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/lib.rs#L59
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/lib.rs:59:5 | 59 | pub fn claim<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ClaimCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 59 - pub fn claim<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ClaimCtx<'info>>) -> Result<()> { 59 + pub fn claim<'info>(ctx: Context<'_, '_, '_, 'info, ClaimCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/lib.rs#L55
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/lib.rs:55:5 | 55 | pub fn unissue<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, UnissueCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 55 - pub fn unissue<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, UnissueCtx<'info>>) -> Result<()> { 55 + pub fn unissue<'info>(ctx: Context<'_, '_, '_, 'info, UnissueCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/lib.rs#L51
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/lib.rs:51:5 | 51 | pub fn issue<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, IssueCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 51 - pub fn issue<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, IssueCtx<'info>>) -> Result<()> { 51 + pub fn issue<'info>(ctx: Context<'_, '_, '_, 'info, IssueCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/instructions/transfers/transfer.rs#L45
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/instructions/transfers/transfer.rs:45:1 | 45 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, TransferCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 45 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, TransferCtx<'info>>) -> Result<()> { 45 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, TransferCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/instructions/unissue.rs#L32
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/instructions/unissue.rs:32:1 | 32 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, UnissueCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 32 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, UnissueCtx<'info>>) -> Result<()> { 32 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, UnissueCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/instructions/issue.rs#L34
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/instructions/issue.rs:34:1 | 34 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, IssueCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 34 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, IssueCtx<'info>>) -> Result<()> { 34 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, IssueCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/instructions/invalidate.rs#L55
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/instructions/invalidate.rs:55:1 | 55 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 55 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, InvalidateCtx<'info>>) -> Result<()> { 55 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, InvalidateCtx<'info>>) -> Result<()> { |
the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining: programs/solana-nft-programs-token-manager/src/instructions/claim.rs#L52
warning: the following explicit lifetimes could be elided: 'key, 'accounts, 'remaining --> programs/solana-nft-programs-token-manager/src/instructions/claim.rs:52:1 | 52 | pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ClaimCtx<'info>>) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 52 - pub fn handler<'key, 'accounts, 'remaining, 'info>(ctx: Context<'key, 'accounts, 'remaining, 'info, ClaimCtx<'info>>) -> Result<()> { 52 + pub fn handler<'info>(ctx: Context<'_, '_, '_, 'info, ClaimCtx<'info>>) -> Result<()> { |
redundant field names in struct initialization: programs/solana-nft-programs-token-manager/src/instructions/claim_receipt_mint.rs#L101
warning: redundant field names in struct initialization --> programs/solana-nft-programs-token-manager/src/instructions/claim_receipt_mint.rs:101:17 | 101 | name: name, | ^^^^^^^^^^ help: replace it with: `name` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default
rust-clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
rust-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rust-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rust-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
rust-clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
integration-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
integration-tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
integration-tests
No files were found with the provided path: tests/out.xml. No artifacts will be uploaded.
integration-tests
No file matches path tests/out.xml
soteria-scan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
soteria-scan
Unexpected input(s) 'soteria_version', valid inputs are ['soteria-version']
soteria-scan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
soteria-scan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
soteria-scan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
soteria-scan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
soteria-scan
Unexpected input(s) 'soteria_version', valid inputs are ['soteria-version']

Artifacts

Produced during runtime
Name Size
anchor-binary Expired
16.9 MB