fix: audit findings #95
semantic-pr.yml
on: pull_request_target
Validate PR title
7s
Annotations
4 warnings
[clippy] programs/gateway/src/lib.rs#L757:
programs/gateway/src/lib.rs#L757
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/gateway/src/lib.rs:757:10
|
757 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= help: consider adding `anchor-debug` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
|
[clippy] programs/gateway/src/lib.rs#L769:
programs/gateway/src/lib.rs#L769
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/gateway/src/lib.rs:769:10
|
769 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= help: consider adding `anchor-debug` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
|
[clippy] programs/gateway/src/lib.rs#L757:
programs/gateway/src/lib.rs#L757
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/gateway/src/lib.rs:757:10
|
757 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
= help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
= help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
|
[clippy] programs/gateway/src/lib.rs#L769:
programs/gateway/src/lib.rs#L769
warning: unexpected `cfg` condition value: `anchor-debug`
--> programs/gateway/src/lib.rs:769:10
|
769 | #[derive(Accounts)]
| ^^^^^^^^
|
= note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, and `no-log-ix-name`
= note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
= help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg
= help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
|