[INFO] cloning repository https://github.com/lancoer/degen-fund-staker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lancoer/degen-fund-staker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flancoer%2Fdegen-fund-staker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flancoer%2Fdegen-fund-staker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62d9aa7bcb30b0ad9fcfc1dd62d66b7bd18b65e9 [INFO] testing lancoer/degen-fund-staker against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flancoer%2Fdegen-fund-staker" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lancoer/degen-fund-staker [INFO] finished tweaking git repo https://github.com/lancoer/degen-fund-staker [INFO] tweaked toml for git repo https://github.com/lancoer/degen-fund-staker written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lancoer/degen-fund-staker on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lancoer/degen-fund-staker 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.18.20 [INFO] [stderr] Downloaded arrayref v0.3.8 [INFO] [stderr] Downloaded solana-logger v1.18.20 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.20 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.20 [INFO] [stderr] Downloaded toml_datetime v0.6.7 [INFO] [stderr] Downloaded syn_derive v0.1.8 [INFO] [stderr] Downloaded borsh-derive v1.5.1 [INFO] [stderr] Downloaded toml v0.8.16 [INFO] [stderr] Downloaded borsh v1.5.1 [INFO] [stderr] Downloaded bytemuck v1.16.1 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded toml_edit v0.22.17 [INFO] [stderr] Downloaded spl-token-2022 v3.0.4 [INFO] [stderr] Downloaded winnow v0.6.16 [INFO] [stderr] Downloaded blake3 v1.5.1 [INFO] [stderr] Downloaded solana-program v1.18.20 [INFO] [stderr] Downloaded solana-sdk v1.18.20 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.18.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310b0bd808b0746324ca828a430886f5a9501bcccad0beb5b3fd2b4340bdd3f3 [INFO] running `Command { std: "docker" "start" "-a" "310b0bd808b0746324ca828a430886f5a9501bcccad0beb5b3fd2b4340bdd3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310b0bd808b0746324ca828a430886f5a9501bcccad0beb5b3fd2b4340bdd3f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310b0bd808b0746324ca828a430886f5a9501bcccad0beb5b3fd2b4340bdd3f3", kill_on_drop: false }` [INFO] [stdout] 310b0bd808b0746324ca828a430886f5a9501bcccad0beb5b3fd2b4340bdd3f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a1feedb6e34e384408e57398c8f49e0d60c768feb23e3f55414e594947b0ee3 [INFO] running `Command { std: "docker" "start" "-a" "0a1feedb6e34e384408e57398c8f49e0d60c768feb23e3f55414e594947b0ee3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.20 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.20 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling arrayref v0.3.8 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling solana-sdk v1.18.20 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling solana-program v1.18.20 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling solana-logger v1.18.20 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling anchor-derive-space v0.30.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-sdk-macro v1.18.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling anchor-syn v0.30.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling anchor-derive-serde v0.30.1 [INFO] [stderr] Compiling anchor-attribute-account v0.30.1 [INFO] [stderr] Compiling anchor-attribute-event v0.30.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.30.1 [INFO] [stderr] Compiling anchor-attribute-error v0.30.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.30.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.30.1 [INFO] [stderr] Compiling anchor-attribute-program v0.30.1 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling spl-program-error v0.4.4 [INFO] [stderr] Compiling spl-discriminator v0.2.5 [INFO] [stderr] Compiling spl-memo v4.0.4 [INFO] [stderr] Compiling spl-token v4.0.3 [INFO] [stderr] Compiling mpl-token-metadata v4.1.2 [INFO] [stderr] Compiling anchor-lang v0.30.1 [INFO] [stderr] Compiling solana-zk-token-sdk v1.18.20 [INFO] [stderr] Compiling spl-pod v0.2.5 [INFO] [stderr] Compiling spl-type-length-value v0.4.6 [INFO] [stderr] Compiling spl-token-group-interface v0.2.5 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.6.5 [INFO] [stderr] Compiling spl-token-metadata-interface v0.3.5 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.6.5 [INFO] [stderr] Compiling spl-token-2022 v3.0.4 [INFO] [stderr] Compiling spl-associated-token-account v3.0.4 [INFO] [stderr] Compiling anchor-spl v0.30.1 [INFO] [stderr] Compiling staker v0.1.0 (/opt/rustwide/workdir/programs/staker) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/staker/src/instructions/unstake.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/staker/src/lib.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/staker/src/lib.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/staker/src/lib.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/staker/src/lib.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> programs/staker/src/lib.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 305 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Invariant violation: composite constraints can only be raw or literals [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_emit_price` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/staker/src/lib.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | #[error] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `error` is imported here, but it is a function-like macro [INFO] [stdout] --> programs/staker/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> programs/staker/src/lib.rs:371:7 [INFO] [stdout] | [INFO] [stdout] 371 | #[msg("Not exceed lock end date")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `msg` is imported here, but it is a function-like macro [INFO] [stdout] --> programs/staker/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `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 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[E0277]: the trait bound `instructions::unstake::Unstake<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/instructions/unstake.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `instructions::unstake::Unstake<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateLockEndDate<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `UpdateLockEndDate<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FreezeProgram<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn toggle_freeze_program(ctx: Context, _nonce_staking: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `FreezeProgram<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnstakeAdmin<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `UnstakeAdmin<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitPrice<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn emit_price(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `EmitPrice<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitReward<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn emit_reward(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `EmitReward<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Len` found for struct `instructions::stake::StakingAccount` in the current scope [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StakingAccount { [INFO] [stdout] | ------------------------- associated item `Len` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | space = StakingAccount::Len, [INFO] [stdout] | ^^^ associated item not found in `instructions::stake::StakingAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `LEN` found for struct `instructions::stake::UserStakingAccount` in the current scope [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UserStakingAccount { [INFO] [stdout] | ----------------------------- associated item `LEN` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 62 | space = UserStakingAccount::LEN, [INFO] [stdout] | ^^^ associated item not found in `instructions::stake::UserStakingAccount` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `LEN`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Pack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:123:38 [INFO] [stdout] | [INFO] [stdout] 123 | let total_x_token = ctx.accounts.staking_account.total_x_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `token_vault` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | let old_price = get_price(&ctx.accounts.token_vault, &ctx.accounts.staking_account); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | let old_price = get_price(&ctx.accounts.token_vault, &ctx.accounts.staking_account); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | ctx.accounts.staking_account.total_x_token = (ctx.accounts.staking_account.total_x_token [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:128:68 [INFO] [stdout] | [INFO] [stdout] 128 | ctx.accounts.staking_account.total_x_token = (ctx.accounts.staking_account.total_x_token [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `user_staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | ctx.accounts.user_staking_account.x_token_amount = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `user_staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | (ctx.accounts.user_staking_account.x_token_amount as u128) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | ctx.accounts.staking_account.total_x_token = (ctx.accounts.staking_account.total_x_token [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:149:68 [INFO] [stdout] | [INFO] [stdout] 149 | ctx.accounts.staking_account.total_x_token = (ctx.accounts.staking_account.total_x_token [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `user_staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | ctx.accounts.user_staking_account.x_token_amount = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `user_staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | (ctx.accounts.user_staking_account.x_token_amount as u128) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `token_from` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:167:32 [INFO] [stdout] | [INFO] [stdout] 167 | from: ctx.accounts.token_from.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `token_vault` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:168:30 [INFO] [stdout] | [INFO] [stdout] 168 | to: ctx.accounts.token_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `token_from_authority` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 169 | authority: ctx.accounts.token_from_authority.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `token_vault` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | (&mut ctx.accounts.token_vault).reload()?; [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `user_staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | ctx.accounts.user_staking_account.amount = (ctx.accounts.user_staking_account.amount as u128) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `user_staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:177:62 [INFO] [stdout] | [INFO] [stdout] 177 | ctx.accounts.user_staking_account.amount = (ctx.accounts.user_staking_account.amount as u128) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `token_vault` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:183:45 [INFO] [stdout] | [INFO] [stdout] 183 | let new_price = get_price(&ctx.accounts.token_vault, &ctx.accounts.staking_account); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `staking_account` on type `&mut instructions::stake::Stake<'_>` [INFO] [stdout] --> programs/staker/src/instructions/stake.rs:183:72 [INFO] [stdout] | [INFO] [stdout] 183 | let new_price = get_price(&ctx.accounts.token_vault, &ctx.accounts.staking_account); [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `user`, `stake_token_mint`, `stake_token_account`, `stake_token_vault`, `staking` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instructions::unstake::Unstake<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instructions::unstake::Unstake<'_>>` [INFO] [stdout] --> programs/staker/src/instructions/unstake.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `anchor_lang::context::Context<'_, '_, '_, '_, instructions::unstake::Unstake<'_>>`, the trait `Bumps` is not implemented for `instructions::unstake::Unstake<'_>` [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instructions::unstake::Unstake<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 46 | ctx: &Context, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `NotExceedLockEndDate` found for enum `anchor_lang::error::ErrorCode` in the current scope [INFO] [stdout] --> programs/staker/src/instructions/unstake.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | return Err(ErrorCode::NotExceedLockEndDate.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `anchor_lang::error::ErrorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateLockEndDate<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `UpdateLockEndDate<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateLockEndDate<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `Bumps` is not implemented for `UpdateLockEndDate<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `UpdateLockEndDate` in the current scope [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `UpdateLockEndDate<'_>` [INFO] [stdout] ... [INFO] [stdout] 219 | pub struct UpdateLockEndDate<'info> { [INFO] [stdout] | ----------------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateLockEndDate<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_, _>` is not implemented for `UpdateLockEndDate<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateMetadataAccountsV3<'info>` implements `anchor_lang::Accounts<'info, CreateMetadataAccountsV3Bumps>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `DefaultAccountStateInitialize<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateInitializeBumps>` [INFO] [stdout] `DefaultAccountStateUpdate<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateUpdateBumps>` [INFO] [stdout] `GroupMemberPointerInitialize<'info>` implements `anchor_lang::Accounts<'info, GroupMemberPointerInitializeBumps>` [INFO] [stdout] and 112 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FreezeProgram<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn toggle_freeze_program(ctx: Context, _nonce_staking: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Bumps` is not implemented for `FreezeProgram<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FreezeProgram<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `Bumps` is not implemented for `FreezeProgram<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `FreezeProgram` in the current scope [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `FreezeProgram<'_>` [INFO] [stdout] ... [INFO] [stdout] 233 | pub struct FreezeProgram<'info> { [INFO] [stdout] | ------------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FreezeProgram<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_, _>` is not implemented for `FreezeProgram<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateMetadataAccountsV3<'info>` implements `anchor_lang::Accounts<'info, CreateMetadataAccountsV3Bumps>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `DefaultAccountStateInitialize<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateInitializeBumps>` [INFO] [stdout] `DefaultAccountStateUpdate<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateUpdateBumps>` [INFO] [stdout] `GroupMemberPointerInitialize<'info>` implements `anchor_lang::Accounts<'info, GroupMemberPointerInitializeBumps>` [INFO] [stdout] and 112 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnstakeAdmin<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Bumps` is not implemented for `UnstakeAdmin<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnstakeAdmin<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `Bumps` is not implemented for `UnstakeAdmin<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `UnstakeAdmin` in the current scope [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `UnstakeAdmin<'_>` [INFO] [stdout] ... [INFO] [stdout] 247 | pub struct UnstakeAdmin<'info> { [INFO] [stdout] | ------------------------------ function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnstakeAdmin<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_, _>` is not implemented for `UnstakeAdmin<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateMetadataAccountsV3<'info>` implements `anchor_lang::Accounts<'info, CreateMetadataAccountsV3Bumps>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `DefaultAccountStateInitialize<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateInitializeBumps>` [INFO] [stdout] `DefaultAccountStateUpdate<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateUpdateBumps>` [INFO] [stdout] `GroupMemberPointerInitialize<'info>` implements `anchor_lang::Accounts<'info, GroupMemberPointerInitializeBumps>` [INFO] [stdout] and 112 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitPrice<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn emit_price(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^ the trait `Bumps` is not implemented for `EmitPrice<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitPrice<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `Bumps` is not implemented for `EmitPrice<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `EmitPrice` in the current scope [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `EmitPrice<'_>` [INFO] [stdout] ... [INFO] [stdout] 286 | pub struct EmitPrice<'info> { [INFO] [stdout] | --------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitPrice<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_, _>` is not implemented for `EmitPrice<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateMetadataAccountsV3<'info>` implements `anchor_lang::Accounts<'info, CreateMetadataAccountsV3Bumps>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `DefaultAccountStateInitialize<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateInitializeBumps>` [INFO] [stdout] `DefaultAccountStateUpdate<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateUpdateBumps>` [INFO] [stdout] `GroupMemberPointerInitialize<'info>` implements `anchor_lang::Accounts<'info, GroupMemberPointerInitializeBumps>` [INFO] [stdout] and 112 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitReward<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn emit_reward(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^ the trait `Bumps` is not implemented for `EmitReward<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitReward<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `Bumps` is not implemented for `EmitReward<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `EmitReward` in the current scope [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `EmitReward<'_>` [INFO] [stdout] ... [INFO] [stdout] 306 | pub struct EmitReward<'info> { [INFO] [stdout] | ---------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitReward<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_, _>` is not implemented for `EmitReward<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateMetadataAccountsV3<'info>` implements `anchor_lang::Accounts<'info, CreateMetadataAccountsV3Bumps>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `DefaultAccountStateInitialize<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateInitializeBumps>` [INFO] [stdout] `DefaultAccountStateUpdate<'info>` implements `anchor_lang::Accounts<'info, DefaultAccountStateUpdateBumps>` [INFO] [stdout] `GroupMemberPointerInitialize<'info>` implements `anchor_lang::Accounts<'info, GroupMemberPointerInitializeBumps>` [INFO] [stdout] and 112 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UpdateLockEndDate<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, UpdateLockEndDate<'_>>` [INFO] [stdout] --> programs/staker/src/lib.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: within `anchor_lang::context::Context<'_, '_, '_, '_, UpdateLockEndDate<'_>>`, the trait `Bumps` is not implemented for `UpdateLockEndDate<'_>` [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, UpdateLockEndDate<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 48 | ctx: &Context, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FreezeProgram<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, FreezeProgram<'_>>` [INFO] [stdout] --> programs/staker/src/lib.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn toggle_freeze_program(ctx: Context, _nonce_staking: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ within `anchor_lang::context::Context<'_, '_, '_, '_, FreezeProgram<'_>>`, the trait `Bumps` is not implemented for `FreezeProgram<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, FreezeProgram<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 57 | pub fn toggle_freeze_program(ctx: &Context, _nonce_staking: u8) -> ProgramResult { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instructions::unstake::Unstake<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/staker/src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | instructions::unstake(ctx, unstake_amount) [INFO] [stdout] | ^^^ the trait `Bumps` is not implemented for `instructions::unstake::Unstake<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 2 arguments were supplied [INFO] [stdout] --> programs/staker/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | instructions::unstake(ctx, unstake_amount) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------------- three arguments of type `u8`, `u8`, and `u8` are missing [INFO] [stdout] | [INFO] [stdout] note: expected `Context<'_, '_, '_, '_, Unstake<'_>>`, found `Context<'_, '_, '_, '_, Stake<'_>>` [INFO] [stdout] --> programs/staker/src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | instructions::unstake(ctx, unstake_amount) [INFO] [stdout] | ^^^ [INFO] [stdout] = note: expected struct `anchor_lang::context::Context<'_, '_, '_, '_, instructions::unstake::Unstake<'_>>` [INFO] [stdout] found struct `anchor_lang::context::Context<'_, '_, '_, '_, instructions::stake::Stake<'_>>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> programs/staker/src/instructions/unstake.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn unstake( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | ctx: Context, [INFO] [stdout] | --------------------- [INFO] [stdout] 47 | nonce_vault: u8, [INFO] [stdout] | --------------- [INFO] [stdout] 48 | _nonce_staking: u8, [INFO] [stdout] | ------------------ [INFO] [stdout] 49 | _nonce_user_staking: u8, [INFO] [stdout] | ----------------------- [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 64 - instructions::unstake(ctx, unstake_amount) [INFO] [stdout] 64 + instructions::unstake(/* anchor_lang::context::Context<'_, '_, '_, '_, instructions::unstake::Unstake<'_>> */, /* u8 */, /* u8 */, /* u8 */, unstake_amount) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UnstakeAdmin<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, UnstakeAdmin<'_>>` [INFO] [stdout] --> programs/staker/src/lib.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ within `anchor_lang::context::Context<'_, '_, '_, '_, UnstakeAdmin<'_>>`, the trait `Bumps` is not implemented for `UnstakeAdmin<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, UnstakeAdmin<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 68 | ctx: &Context, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitPrice<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, EmitPrice<'_>>` [INFO] [stdout] --> programs/staker/src/lib.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn emit_price(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ within `anchor_lang::context::Context<'_, '_, '_, '_, EmitPrice<'_>>`, the trait `Bumps` is not implemented for `EmitPrice<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, EmitPrice<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 151 | pub fn emit_price(ctx: &Context) -> ProgramResult { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EmitReward<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, EmitReward<'_>>` [INFO] [stdout] --> programs/staker/src/lib.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn emit_reward(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ within `anchor_lang::context::Context<'_, '_, '_, '_, EmitReward<'_>>`, the trait `Bumps` is not implemented for `EmitReward<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateMetadataAccountsV3<'info> [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] DefaultAccountStateInitialize<'info> [INFO] [stdout] DefaultAccountStateUpdate<'info> [INFO] [stdout] GroupMemberPointerInitialize<'info> [INFO] [stdout] GroupMemberPointerUpdate<'info> [INFO] [stdout] GroupPointerInitialize<'info> [INFO] [stdout] and 99 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, EmitReward<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 160 | pub fn emit_reward(ctx: &Context) -> ProgramResult { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staker` (lib) due to 65 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a1feedb6e34e384408e57398c8f49e0d60c768feb23e3f55414e594947b0ee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a1feedb6e34e384408e57398c8f49e0d60c768feb23e3f55414e594947b0ee3", kill_on_drop: false }` [INFO] [stdout] 0a1feedb6e34e384408e57398c8f49e0d60c768feb23e3f55414e594947b0ee3