[INFO] cloning repository https://github.com/helionis420/solana_usdc_raffle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/helionis420/solana_usdc_raffle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhelionis420%2Fsolana_usdc_raffle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhelionis420%2Fsolana_usdc_raffle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94ebaf26a3d19ad1307389e22d2b2f05c0500bf4 [INFO] checking helionis420/solana_usdc_raffle against try#09335b6f1bff25ec39f47f1533e126fbe1ca5f5d for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhelionis420%2Fsolana_usdc_raffle" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/helionis420/solana_usdc_raffle [INFO] finished tweaking git repo https://github.com/helionis420/solana_usdc_raffle [INFO] tweaked toml for git repo https://github.com/helionis420/solana_usdc_raffle written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/helionis420/solana_usdc_raffle on toolchain 09335b6f1bff25ec39f47f1533e126fbe1ca5f5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/helionis420/solana_usdc_raffle already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20c4098f4a9a58c0f46bb5a1812a0b9f2deb755ce34a9b05cbeeba342242c8fc [INFO] running `Command { std: "docker" "start" "-a" "20c4098f4a9a58c0f46bb5a1812a0b9f2deb755ce34a9b05cbeeba342242c8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20c4098f4a9a58c0f46bb5a1812a0b9f2deb755ce34a9b05cbeeba342242c8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c4098f4a9a58c0f46bb5a1812a0b9f2deb755ce34a9b05cbeeba342242c8fc", kill_on_drop: false }` [INFO] [stdout] 20c4098f4a9a58c0f46bb5a1812a0b9f2deb755ce34a9b05cbeeba342242c8fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+09335b6f1bff25ec39f47f1533e126fbe1ca5f5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea996836e909dff5b69ca2cfb727636d9d54eb037a38fef7b6a3b3fbaeb9bda [INFO] running `Command { std: "docker" "start" "-a" "aea996836e909dff5b69ca2cfb727636d9d54eb037a38fef7b6a3b3fbaeb9bda", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.14 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.14 [INFO] [stderr] Compiling borsh v1.5.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling solana-sdk v1.18.14 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling solana-program v1.18.14 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking solana-logger v1.18.14 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.6.1 [INFO] [stderr] Compiling solana-sdk-macro v1.18.14 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling borsh-derive v1.5.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking im v15.1.0 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking spl-program-error v0.3.1 [INFO] [stderr] Checking spl-discriminator v0.1.1 [INFO] [stderr] Checking spl-memo v4.0.1 [INFO] [stderr] Checking spl-token v4.0.1 [INFO] [stderr] Checking anchor-lang v0.29.0 [INFO] [stderr] Checking spl-token v3.5.0 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.14 [INFO] [stderr] Checking spl-pod v0.1.1 [INFO] [stderr] Checking spl-type-length-value v0.3.1 [INFO] [stderr] Checking spl-token-group-interface v0.1.1 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.1 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Checking spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Checking spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Checking spl-token-2022 v2.0.2 [INFO] [stderr] Checking spl-token-2022 v0.9.0 [INFO] [stderr] Checking spl-associated-token-account v2.3.1 [INFO] [stderr] Checking anchor-spl v0.29.0 [INFO] [stderr] Checking orao-solana-vrf v0.3.0 [INFO] [stderr] Checking solana-usdc-raffle v0.1.0 (/opt/rustwide/workdir/programs/solana-usdc-raffle) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer as SplTransfer`, `associated_token::AssociatedToken`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | associated_token::AssociatedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | token::{ self, Mint, Token, TokenAccount, Transfer as SplTransfer } [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer as SplTransfer`, `associated_token::AssociatedToken`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | associated_token::AssociatedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | token::{ self, Mint, Token, TokenAccount, Transfer as SplTransfer } [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_TOTAL_TICKET` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | MAX_TOTAL_TICKET [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaffleError` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | RaffleError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_TOTAL_TICKET`, `POOL_SEED`, and `TREASURY_ADDRESS` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | POOL_SEED, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | ADMIN_ADDRESS, [INFO] [stdout] 18 | TREASURY_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] 20 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::buyers::*` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::buyers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DECIMAL`, `MAX_TOTAL_TICKET`, `PAY_TOKEN_MINT_ADDRESS`, and `POOL_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | POOL_SEED, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | DECIMAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `associated_token::get_associated_token_address` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | associated_token::get_associated_token_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::program::OraoVrf` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use orao_solana_vrf::program::OraoVrf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::state::NetworkState` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use orao_solana_vrf::state::NetworkState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::CONFIG_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use orao_solana_vrf::CONFIG_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DECIMAL`, `MAX_TOTAL_TICKET`, `PAY_TOKEN_MINT_ADDRESS`, and `TREASURY_ADDRESS` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | TREASURY_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | DECIMAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `current_state` and `get_account_data` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | get_account_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | current_state [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Transfer as SplTransfer`, `associated_token::get_associated_token_address`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | associated_token::get_associated_token_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | token::{ self, Mint, Token, TokenAccount, Transfer as SplTransfer } [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `transfer` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use anchor_lang::system_program::{ Transfer, transfer }; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DECIMAL`, `MAX_TOTAL_TICKET`, `PAY_TOKEN_MINT_ADDRESS`, `POOL_NATIVE_SEED`, `POOL_SEED`, and `TREASURY_ADDRESS` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | POOL_SEED, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | POOL_NATIVE_SEED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | ADMIN_ADDRESS, [INFO] [stdout] 20 | TREASURY_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | DECIMAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::*` [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/pool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaffleError` [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/pool.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | RaffleError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/buyers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CpiContext`, `Program`, `System`, `ToAccountInfo`, `Transfer as SolanaTransfer`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/utils.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | prelude::{AccountInfo, CpiContext, Program, Result}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | system_program::{self, System, Transfer as SolanaTransfer}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ToAccountInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer as SplTransfer`, `associated_token::AssociatedToken`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | associated_token::AssociatedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | token::{ self, Mint, Token, TokenAccount, Transfer as SplTransfer } [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer as SplTransfer`, `associated_token::AssociatedToken`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | associated_token::AssociatedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | token::{ self, Mint, Token, TokenAccount, Transfer as SplTransfer } [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_TOTAL_TICKET` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | MAX_TOTAL_TICKET [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaffleError` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | RaffleError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_TOTAL_TICKET`, `POOL_SEED`, and `TREASURY_ADDRESS` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | POOL_SEED, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | ADMIN_ADDRESS, [INFO] [stdout] 18 | TREASURY_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] 20 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::buyers::*` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::buyers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DECIMAL`, `MAX_TOTAL_TICKET`, `PAY_TOKEN_MINT_ADDRESS`, and `POOL_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | POOL_SEED, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | DECIMAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `associated_token::get_associated_token_address` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | associated_token::get_associated_token_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::program::OraoVrf` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use orao_solana_vrf::program::OraoVrf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::state::NetworkState` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use orao_solana_vrf::state::NetworkState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::CONFIG_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use orao_solana_vrf::CONFIG_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DECIMAL`, `MAX_TOTAL_TICKET`, `PAY_TOKEN_MINT_ADDRESS`, and `TREASURY_ADDRESS` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | TREASURY_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | DECIMAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `current_state` and `get_account_data` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | get_account_data, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | current_state [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/claim_prize.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Transfer as SplTransfer`, `associated_token::get_associated_token_address`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | associated_token::get_associated_token_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | token::{ self, Mint, Token, TokenAccount, Transfer as SplTransfer } [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `transfer` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use anchor_lang::system_program::{ Transfer, transfer }; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use orao_solana_vrf::RANDOMNESS_ACCOUNT_SEED; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DECIMAL`, `MAX_TOTAL_TICKET`, `PAY_TOKEN_MINT_ADDRESS`, `POOL_NATIVE_SEED`, `POOL_SEED`, and `TREASURY_ADDRESS` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | POOL_SEED, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | POOL_NATIVE_SEED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | ADMIN_ADDRESS, [INFO] [stdout] 20 | TREASURY_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | PAY_TOKEN_MINT_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | MAX_TOTAL_TICKET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | DECIMAL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::*` [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/pool.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::constants::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaffleError` [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/pool.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | RaffleError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/buyers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CpiContext`, `Program`, `System`, `ToAccountInfo`, `Transfer as SolanaTransfer`, and `self` [INFO] [stdout] --> programs/solana-usdc-raffle/src/utils.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | prelude::{AccountInfo, CpiContext, Program, Result}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | system_program::{self, System, Transfer as SolanaTransfer}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ToAccountInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = 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` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buyers` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let buyers = &mut ctx.accounts.buyers.load_init()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buyers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `referral_ata` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(referral_ata) = &ctx.accounts.referral_ata { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_referral_ata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_winner` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | let a_winner = &ctx.accounts.winner; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buyers` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/create_raffle.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let buyers = &mut ctx.accounts.buyers.load_init()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buyers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_winner(ctx: Context, force: [u8; 32]) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `referral_ata` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/buy_tickets.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(referral_ata) = &ctx.accounts.referral_ata { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_referral_ata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_winner` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/complete_raffle.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | let a_winner = &ctx.accounts.winner; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_winner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn complete_raffle(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/buyers.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Buyers { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/buyers.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Buyer { [INFO] [stdout] | ^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `force` [INFO] [stdout] --> programs/solana-usdc-raffle/src/instructions/set_winner.rs:34:51 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn set_winner(ctx: Context, force: [u8; 32]) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/solana-usdc-raffle/src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn complete_raffle(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/buyers.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Buyers { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/solana-usdc-raffle/src/state/buyers.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Buyer { [INFO] [stdout] | ^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lazy_static v1.4.0, wasm-bindgen v0.2.92 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "aea996836e909dff5b69ca2cfb727636d9d54eb037a38fef7b6a3b3fbaeb9bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea996836e909dff5b69ca2cfb727636d9d54eb037a38fef7b6a3b3fbaeb9bda", kill_on_drop: false }` [INFO] [stdout] aea996836e909dff5b69ca2cfb727636d9d54eb037a38fef7b6a3b3fbaeb9bda