[INFO] cloning repository https://github.com/AzFlin7/sol-staking-dapp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AzFlin7/sol-staking-dapp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzFlin7%2Fsol-staking-dapp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzFlin7%2Fsol-staking-dapp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6136b626f6dbda9fa2e4b61f6679d044180e9c95
[INFO] checking AzFlin7/sol-staking-dapp against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzFlin7%2Fsol-staking-dapp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AzFlin7/sol-staking-dapp
[INFO] finished tweaking git repo https://github.com/AzFlin7/sol-staking-dapp
[INFO] tweaked toml for git repo https://github.com/AzFlin7/sol-staking-dapp written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AzFlin7/sol-staking-dapp on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AzFlin7/sol-staking-dapp 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded solana-sdk-macro v1.18.12
[INFO] [stderr]   Downloaded serde_derive v1.0.199
[INFO] [stderr]   Downloaded solana-frozen-abi-macro v1.18.12
[INFO] [stderr]   Downloaded solana-frozen-abi v1.18.12
[INFO] [stderr]   Downloaded serde v1.0.199
[INFO] [stderr]   Downloaded winnow v0.6.7
[INFO] [stderr]   Downloaded toml_edit v0.22.12
[INFO] [stderr]   Downloaded solana-program v1.18.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8cf62d44cb23874e7afd2ecc53756783adb49494f0dadf3a459bf52bcc3938cd
[INFO] running `Command { std: "docker" "start" "-a" "8cf62d44cb23874e7afd2ecc53756783adb49494f0dadf3a459bf52bcc3938cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8cf62d44cb23874e7afd2ecc53756783adb49494f0dadf3a459bf52bcc3938cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8cf62d44cb23874e7afd2ecc53756783adb49494f0dadf3a459bf52bcc3938cd", kill_on_drop: false }`
[INFO] [stdout] 8cf62d44cb23874e7afd2ecc53756783adb49494f0dadf3a459bf52bcc3938cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a56e789fe8e4d445b9f2452e7600730ea36335330e98bc77880b27b29e486900
[INFO] running `Command { std: "docker" "start" "-a" "a56e789fe8e4d445b9f2452e7600730ea36335330e98bc77880b27b29e486900", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking bitmaps v2.1.0
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.18.12
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]    Compiling solana-frozen-abi v1.18.12
[INFO] [stderr]    Compiling borsh v1.4.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]     Checking crunchy v0.2.2
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling cc v1.0.95
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking sized-chunks v0.6.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling solana-program v1.18.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_xoshiro v0.6.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-crate v3.1.0
[INFO] [stderr]     Checking ark-std v0.4.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling serde_derive v1.0.199
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling syn_derive v0.1.8
[INFO] [stderr]    Compiling bytemuck_derive v1.6.0
[INFO] [stderr]    Compiling solana-sdk-macro v1.18.12
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive v1.4.0
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling ark-serialize-derive v0.4.2
[INFO] [stderr]    Compiling ark-ff-macros v0.4.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-asm v0.4.2
[INFO] [stderr]    Compiling anchor-derive-space v0.30.0
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]     Checking serde_bytes v0.11.14
[INFO] [stderr]     Checking bv v0.11.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking pbkdf2 v0.4.0
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]     Checking ark-serialize v0.4.2
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking ark-ff v0.4.2
[INFO] [stderr]     Checking tiny-bip39 v0.8.2
[INFO] [stderr]    Compiling anchor-syn v0.30.0
[INFO] [stderr]    Compiling anchor-lang-idl v0.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.10.3
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]     Checking borsh v0.9.3
[INFO] [stderr]     Checking borsh v0.10.3
[INFO] [stderr]    Compiling anchor-attribute-program v0.30.0
[INFO] [stderr]    Compiling anchor-attribute-constant v0.30.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.30.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.30.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.30.0
[INFO] [stderr]    Compiling anchor-derive-serde v0.30.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.30.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.30.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 anchor-lang v0.30.0
[INFO] [stderr]     Checking solana-staking-dapp v0.1.0 (/opt/rustwide/workdir/programs/solana-staking-dapp)
[INFO] [stdout] error: expected ident
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         #[account(mut, "&staking_account.treasury == treasury.key")]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected ident
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[account(mut, "&staking_account.treasury == treasury.key")]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected ident
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |         #[account(mut, "&staking_account.treasury == treasury.key")]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected ident
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         #[account(mut, "&token_account.owner == authority.key")]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_spl::token::{self, Mint, TokenAccount, Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_program`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use solana_program::entrypoint::ProgramResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_program`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `solana_program`, use `cargo add solana_program` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anchor_spl`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_spl::token::{self, Mint, TokenAccount, Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[error]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `error` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 +     #[derive(Error)]
[INFO] [stdout] 14 |     pub enum ErrorCode {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[msg("Invalid amount")]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `msg` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[msg("Insufficient balance")]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `msg` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 import: `anchor_lang::solana_program::system_program`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_lang::solana_program::system_program;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[derive(Accounts)]
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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] error: expected ident
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:101:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |         #[account(mut, "&staking_account.treasury == treasury.key")]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected ident
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[account(mut, "&staking_account.treasury == treasury.key")]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected ident
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |         #[account(mut, "&staking_account.treasury == treasury.key")]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected ident
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:35:24
[INFO] [stdout]    |
[INFO] [stdout] 35 |         #[account(mut, "&token_account.owner == authority.key")]
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_spl::token::{self, Mint, TokenAccount, Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `solana_program`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use solana_program::entrypoint::ProgramResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `solana_program`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `solana_program`, use `cargo add solana_program` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anchor_spl`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_spl::token::{self, Mint, TokenAccount, Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[error]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `error` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute
[INFO] [stdout]    |
[INFO] [stdout] 13 +     #[derive(Error)]
[INFO] [stdout] 14 |     pub enum ErrorCode {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[msg("Invalid amount")]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `msg` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[msg("Insufficient balance")]
[INFO] [stdout]    |           ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `msg` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/solana-staking-dapp/src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 import: `anchor_lang::solana_program::system_program`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_lang::solana_program::system_program;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug`
[INFO] [stdout]  --> programs/solana-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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-staking-dapp/src/lib.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     #[derive(Accounts)]
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cpi`, `default`, `idl-build`, `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 <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:122:22
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 self.accounts.system_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:123:22
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 self.accounts.staking_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 self.accounts.treasury.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |             self.accounts.staking_account.authority = *self.accounts.authority.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:131:61
[INFO] [stdout]     |
[INFO] [stdout] 131 |             self.accounts.staking_account.authority = *self.accounts.authority.key;
[INFO] [stdout]     |                                                             ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:132:18
[INFO] [stdout]     |
[INFO] [stdout] 132 |             self.accounts.staking_account.treasury = *self.accounts.treasury.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:132:60
[INFO] [stdout]     |
[INFO] [stdout] 132 |             self.accounts.staking_account.treasury = *self.accounts.treasury.key;
[INFO] [stdout]     |                                                            ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:133:18
[INFO] [stdout]     |
[INFO] [stdout] 133 |             self.accounts.staking_account.token_mint = *self.accounts.token_mint.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:133:62
[INFO] [stdout]     |
[INFO] [stdout] 133 |             self.accounts.staking_account.token_mint = *self.accounts.token_mint.key;
[INFO] [stdout]     |                                                              ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |             self.accounts.staking_account.token_contract = *self.accounts.token_account.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:134:66
[INFO] [stdout]     |
[INFO] [stdout] 134 |             self.accounts.staking_account.token_contract = *self.accounts.token_account.key;
[INFO] [stdout]     |                                                                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |             self.accounts.staking_account.total_staked = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |             self.accounts.staking_account.total_rewards = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |             self.accounts.staking_account.last_reward_distribution = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |             self.accounts.staking_account.last_rewards_amount = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |             self.accounts.staking_account.next_reward_amount = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:140:18
[INFO] [stdout]     |
[INFO] [stdout] 140 |             self.accounts.staking_account.next_yield_amount = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:141:18
[INFO] [stdout]     |
[INFO] [stdout] 141 |             self.accounts.staking_account.roi_7_day_rate = 0.0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |             self.accounts.staking_account.referrer = None;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout] 143 |             self.accounts.staking_account.cap_apy = 100;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:144:18
[INFO] [stdout]     |
[INFO] [stdout] 144 |             self.accounts.staking_account.referral_code = None;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:178:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 self.accounts.staker_token_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 self.accounts.staking_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 self.accounts.authority.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:203:22
[INFO] [stdout]     |
[INFO] [stdout] 203 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 self.accounts.staking_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 self.accounts.treasury.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:206:22
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 self.accounts.authority.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:226:71
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 let staker_account = TokenAccount::load(&staker, self.accounts.token_program.clone())?;
[INFO] [stdout]     |                                                                       ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:232:26
[INFO] [stdout]     |
[INFO] [stdout] 232 |                     self.accounts.token_program.clone(),
[INFO] [stdout]     |                          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     self.accounts.treasury.clone(),
[INFO] [stdout]     |                          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:234:21
[INFO] [stdout]     |
[INFO] [stdout] 234 |                     staker.clone(),
[INFO] [stdout]     |                     ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:235:26
[INFO] [stdout]     |
[INFO] [stdout] 235 |                     self.accounts.authority.clone(),
[INFO] [stdout]     |                          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `StakingAccount` is not an iterator
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:253:51
[INFO] [stdout]     |
[INFO] [stdout]  42 |     pub struct StakingAccount {
[INFO] [stdout]     |     ------------------------- function or associated item `find` not found for this struct because it doesn't satisfy `StakingAccount: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 253 |             let staker_accounts = StakingAccount::find(
[INFO] [stdout]     |                                                   ^^^^ `StakingAccount` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `StakingAccount: Iterator`
[INFO] [stdout]             which is required by `&mut StakingAccount: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/292be5c7c05138d753bbd4b30db7a3f1a5c914f7/library/core/src/iter/traits/iterator.rs:40:1
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `find`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `rayon::iter::ParallelIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:255:22
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:122:22
[INFO] [stdout]     |
[INFO] [stdout] 122 |                 self.accounts.system_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:123:22
[INFO] [stdout]     |
[INFO] [stdout] 123 |                 self.accounts.staking_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:124:22
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 self.accounts.treasury.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:131:18
[INFO] [stdout]     |
[INFO] [stdout] 131 |             self.accounts.staking_account.authority = *self.accounts.authority.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:131:61
[INFO] [stdout]     |
[INFO] [stdout] 131 |             self.accounts.staking_account.authority = *self.accounts.authority.key;
[INFO] [stdout]     |                                                             ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:132:18
[INFO] [stdout]     |
[INFO] [stdout] 132 |             self.accounts.staking_account.treasury = *self.accounts.treasury.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:132:60
[INFO] [stdout]     |
[INFO] [stdout] 132 |             self.accounts.staking_account.treasury = *self.accounts.treasury.key;
[INFO] [stdout]     |                                                            ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:133:18
[INFO] [stdout]     |
[INFO] [stdout] 133 |             self.accounts.staking_account.token_mint = *self.accounts.token_mint.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:133:62
[INFO] [stdout]     |
[INFO] [stdout] 133 |             self.accounts.staking_account.token_mint = *self.accounts.token_mint.key;
[INFO] [stdout]     |                                                              ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:134:18
[INFO] [stdout]     |
[INFO] [stdout] 134 |             self.accounts.staking_account.token_contract = *self.accounts.token_account.key;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:134:66
[INFO] [stdout]     |
[INFO] [stdout] 134 |             self.accounts.staking_account.token_contract = *self.accounts.token_account.key;
[INFO] [stdout]     |                                                                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 135 |             self.accounts.staking_account.total_staked = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 136 |             self.accounts.staking_account.total_rewards = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |             self.accounts.staking_account.last_reward_distribution = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |             self.accounts.staking_account.last_rewards_amount = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:139:18
[INFO] [stdout]     |
[INFO] [stdout] 139 |             self.accounts.staking_account.next_reward_amount = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:140:18
[INFO] [stdout]     |
[INFO] [stdout] 140 |             self.accounts.staking_account.next_yield_amount = 0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:141:18
[INFO] [stdout]     |
[INFO] [stdout] 141 |             self.accounts.staking_account.roi_7_day_rate = 0.0;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:142:18
[INFO] [stdout]     |
[INFO] [stdout] 142 |             self.accounts.staking_account.referrer = None;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:143:18
[INFO] [stdout]     |
[INFO] [stdout] 143 |             self.accounts.staking_account.cap_apy = 100;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Initialize<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:144:18
[INFO] [stdout]     |
[INFO] [stdout] 144 |             self.accounts.staking_account.referral_code = None;
[INFO] [stdout]     |                  ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `treasury`, `token_mint`, `staking_account`, `token_account`, `system_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:178:22
[INFO] [stdout]     |
[INFO] [stdout] 178 |                 self.accounts.staker_token_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:179:22
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 self.accounts.staking_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Stake<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:180:22
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 self.accounts.authority.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:203:22
[INFO] [stdout]     |
[INFO] [stdout] 203 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:204:22
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 self.accounts.staking_account.to_account_info().clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:205:22
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 self.accounts.treasury.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut staking::Withdraw<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:206:22
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 self.accounts.authority.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `staker_token_account` ... and 2 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:226:71
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 let staker_account = TokenAccount::load(&staker, self.accounts.token_program.clone())?;
[INFO] [stdout]     |                                                                       ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:232:26
[INFO] [stdout]     |
[INFO] [stdout] 232 |                     self.accounts.token_program.clone(),
[INFO] [stdout]     |                          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:233:26
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     self.accounts.treasury.clone(),
[INFO] [stdout]     |                          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:234:21
[INFO] [stdout]     |
[INFO] [stdout] 234 |                     staker.clone(),
[INFO] [stdout]     |                     ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&mut DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:235:26
[INFO] [stdout]     |
[INFO] [stdout] 235 |                     self.accounts.authority.clone(),
[INFO] [stdout]     |                          ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `StakingAccount` is not an iterator
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:253:51
[INFO] [stdout]     |
[INFO] [stdout]  42 |     pub struct StakingAccount {
[INFO] [stdout]     |     ------------------------- function or associated item `find` not found for this struct because it doesn't satisfy `StakingAccount: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 253 |             let staker_accounts = StakingAccount::find(
[INFO] [stdout]     |                                                   ^^^^ `StakingAccount` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `StakingAccount: Iterator`
[INFO] [stdout]             which is required by `&mut StakingAccount: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/292be5c7c05138d753bbd4b30db7a3f1a5c914f7/library/core/src/iter/traits/iterator.rs:40:1
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `find`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout]             candidate #2: `rayon::iter::ParallelIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `accounts` on type `&DistributeRewards<'info>`
[INFO] [stdout]    --> programs/solana-staking-dapp/src/lib.rs:255:22
[INFO] [stdout]     |
[INFO] [stdout] 255 |                 self.accounts.token_program.clone(),
[INFO] [stdout]     |                      ^^^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `authority`, `staking_account`, `treasury`, `token_mint`, `token_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `solana-staking-dapp` (lib test) due to 47 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `solana-staking-dapp` (lib) due to 47 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a56e789fe8e4d445b9f2452e7600730ea36335330e98bc77880b27b29e486900", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a56e789fe8e4d445b9f2452e7600730ea36335330e98bc77880b27b29e486900", kill_on_drop: false }`
[INFO] [stdout] a56e789fe8e4d445b9f2452e7600730ea36335330e98bc77880b27b29e486900
