[INFO] cloning repository https://github.com/massimilianopp/tomato-staking
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/massimilianopp/tomato-staking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmassimilianopp%2Ftomato-staking", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmassimilianopp%2Ftomato-staking'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6a4d7d95f17d2964e5418ae5f70b58122472f096
[INFO] testing massimilianopp/tomato-staking against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmassimilianopp%2Ftomato-staking" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/massimilianopp/tomato-staking
[INFO] finished tweaking git repo https://github.com/massimilianopp/tomato-staking
[INFO] tweaked toml for git repo https://github.com/massimilianopp/tomato-staking written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/massimilianopp/tomato-staking on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 271 packages to latest compatible versions
[INFO] [stderr]       Adding anchor-lang v0.32.1 (available: v1.0.1)
[INFO] [stderr]       Adding anchor-spl v0.32.1 (available: v1.0.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding hashbrown v0.15.2 (available: v0.15.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a4a7749f752c8e9e71740e4ca11bf2e15222d3af1560ba400f69e40df9e5c46e
[INFO] running `Command { std: "docker" "start" "-a" "a4a7749f752c8e9e71740e4ca11bf2e15222d3af1560ba400f69e40df9e5c46e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4a7749f752c8e9e71740e4ca11bf2e15222d3af1560ba400f69e40df9e5c46e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4a7749f752c8e9e71740e4ca11bf2e15222d3af1560ba400f69e40df9e5c46e", kill_on_drop: false }`
[INFO] [stdout] a4a7749f752c8e9e71740e4ca11bf2e15222d3af1560ba400f69e40df9e5c46e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbdc50b6b119f067fa5a6dc0ed5dd627e963df61e819c0730490f629cd56d142
[INFO] running `Command { std: "docker" "start" "-a" "dbdc50b6b119f067fa5a6dc0ed5dd627e963df61e819c0730490f629cd56d142", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling winnow v1.0.2
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling borsh v1.6.1
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling keccak v0.1.6
[INFO] [stderr]    Compiling toml_edit v0.25.11+spec-1.1.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling sha3 v0.10.9
[INFO] [stderr]    Compiling uriparse v0.6.4
[INFO] [stderr]    Compiling qstring v0.7.2
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling derivation-path v0.2.0
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling solana-derivation-path v2.2.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling solana-signature v2.3.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling solana-seed-phrase v2.2.1
[INFO] [stderr]    Compiling solana-seed-derivable v2.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling hybrid-array v0.4.11
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling cmov v0.5.3
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]    Compiling block-buffer v0.12.0
[INFO] [stderr]    Compiling crypto-common v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde_bytes v0.11.19
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling constant_time_eq v0.4.2
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.11.2
[INFO] [stderr]    Compiling blake3 v1.8.5
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling solana-define-syscall v2.3.0
[INFO] [stderr]    Compiling anchor-derive-space v0.32.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling borsh-derive v1.6.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling solana-sdk-macro v2.2.1
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling aes-gcm-siv v0.11.1
[INFO] [stderr]    Compiling spl-program-error-derive v0.5.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.6
[INFO] [stderr]    Compiling solana-security-txt v1.1.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling spl-discriminator-syn v0.2.1
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling num_enum v0.7.6
[INFO] [stderr]    Compiling spl-discriminator-derive v0.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling solana-hash v2.3.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling anchor-syn v0.32.1
[INFO] [stderr]    Compiling solana-fee-calculator v2.2.1
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling solana-short-vec v2.2.1
[INFO] [stderr]    Compiling anchor-lang-idl-spec v0.1.0
[INFO] [stderr]    Compiling solana-sha256-hasher v2.3.0
[INFO] [stderr]    Compiling solana-keccak-hasher v2.2.1
[INFO] [stderr]    Compiling solana-serde-varint v2.2.2
[INFO] [stderr]    Compiling solana-blake3-hasher v2.2.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling solana-curve25519 v2.3.13
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]    Compiling anchor-lang-idl v0.1.2
[INFO] [stderr]    Compiling borsh v0.10.4
[INFO] [stderr]    Compiling solana-pubkey v2.4.0
[INFO] [stderr]    Compiling solana-borsh v2.2.1
[INFO] [stderr]    Compiling solana-instruction v2.3.3
[INFO] [stderr]    Compiling solana-sdk-ids v2.2.1
[INFO] [stderr]    Compiling solana-nonce v2.2.1
[INFO] [stderr]    Compiling solana-sysvar-id v2.2.1
[INFO] [stderr]    Compiling solana-clock v2.2.3
[INFO] [stderr]    Compiling solana-rent v2.2.1
[INFO] [stderr]    Compiling solana-program-error v2.2.2
[INFO] [stderr]    Compiling solana-transaction-error v2.2.1
[INFO] [stderr]    Compiling solana-system-interface v1.0.0
[INFO] [stderr]    Compiling solana-account-info v2.3.0
[INFO] [stderr]    Compiling solana-signer v2.2.1
[INFO] [stderr]    Compiling solana-serialize-utils v2.2.1
[INFO] [stderr]    Compiling solana-cpi v2.2.1
[INFO] [stderr]    Compiling solana-program-entrypoint v2.3.0
[INFO] [stderr]    Compiling solana-slot-hashes v2.2.1
[INFO] [stderr]    Compiling solana-instructions-sysvar v2.2.2
[INFO] [stderr]    Compiling solana-zk-sdk v2.3.13
[INFO] [stderr]    Compiling solana-stake-interface v1.2.1
[INFO] [stderr]    Compiling spl-discriminator v0.4.1
[INFO] [stderr]    Compiling solana-slot-history v2.2.1
[INFO] [stderr]    Compiling solana-epoch-schedule v2.2.1
[INFO] [stderr]    Compiling solana-epoch-rewards v2.2.1
[INFO] [stderr]    Compiling solana-last-restart-slot v2.2.1
[INFO] [stderr]    Compiling solana-program-pack v2.2.1
[INFO] [stderr]    Compiling solana-account v2.2.1
[INFO] [stderr]    Compiling spl-program-error v0.7.0
[INFO] [stderr]    Compiling solana-bincode v2.2.1
[INFO] [stderr]    Compiling solana-stable-layout v2.2.1
[INFO] [stderr]    Compiling solana-message v2.4.0
[INFO] [stderr]    Compiling solana-feature-gate-interface v2.2.2
[INFO] [stderr]    Compiling solana-address-lookup-table-interface v2.2.2
[INFO] [stderr]    Compiling spl-memo v6.0.0
[INFO] [stderr]    Compiling solana-vote-interface v2.2.6
[INFO] [stderr]    Compiling solana-secp256k1-recover v2.2.1
[INFO] [stderr]    Compiling solana-loader-v4-interface v2.2.1
[INFO] [stderr]    Compiling solana-loader-v3-interface v5.0.0
[INFO] [stderr]    Compiling solana-sysvar v2.3.0
[INFO] [stderr]    Compiling solana-loader-v2-interface v2.2.1
[INFO] [stderr]    Compiling solana-example-mocks v2.2.1
[INFO] [stderr]    Compiling anchor-attribute-error v0.32.1
[INFO] [stderr]    Compiling anchor-derive-serde v0.32.1
[INFO] [stderr]    Compiling anchor-derive-accounts v0.32.1
[INFO] [stderr]    Compiling spl-token v8.0.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-event v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-account v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-constant v0.32.1
[INFO] [stderr]    Compiling solana-invoke v0.4.0
[INFO] [stderr]    Compiling solana-loader-v3-interface v3.0.0
[INFO] [stderr]    Compiling spl-associated-token-account-client v2.0.0
[INFO] [stderr]    Compiling solana-program v2.3.0
[INFO] [stderr]    Compiling anchor-lang v0.32.1
[INFO] [stderr]    Compiling spl-pod v0.5.1
[INFO] [stderr]    Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.3.1
[INFO] [stderr]    Compiling spl-token-confidential-transfer-proof-generation v0.4.1
[INFO] [stderr]    Compiling spl-type-length-value v0.8.0
[INFO] [stderr]    Compiling spl-token-confidential-transfer-proof-extraction v0.3.0
[INFO] [stderr]    Compiling spl-token-group-interface v0.6.0
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.10.0
[INFO] [stderr]    Compiling spl-token-metadata-interface v0.7.0
[INFO] [stderr]    Compiling spl-elgamal-registry v0.2.0
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.10.0
[INFO] [stderr]    Compiling spl-token-2022 v8.0.1
[INFO] [stderr]    Compiling spl-associated-token-account v7.0.0
[INFO] [stderr]    Compiling anchor-spl v0.32.1
[INFO] [stderr]    Compiling tomato_staking v0.1.0 (/opt/rustwide/workdir/programs/tomato-staking)
[INFO] [stdout] error: init_if_needed requires that anchor-lang be imported with the init-if-needed cargo feature enabled. Carefully read the init_if_needed docs before using this feature to make sure you know how to protect yourself against re-initialization attacks.
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |         init_if_needed,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Stake<'_>: Bumps` is not satisfied
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:52:23
[INFO] [stdout]     |
[INFO] [stdout]  52 |     pub fn stake(ctx: Context<Stake>, amount: u64) -> Result<()> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Bumps` is not implemented for `Stake<'_>`
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:280:1
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct Stake<'info> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Bumps`:
[INFO] [stdout]               Claim<'info>
[INFO] [stdout]               CreateNonceAccount<'info>
[INFO] [stdout]               CreateNonceAccountWithSeed<'info>
[INFO] [stdout]               DefaultAccountStateInitialize<'info>
[INFO] [stdout]               DefaultAccountStateUpdate<'info>
[INFO] [stdout]               Exit<'info>
[INFO] [stdout]               FundRewards<'info>
[INFO] [stdout]               GroupMemberPointerInitialize<'info>
[INFO] [stdout]             and 85 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.32.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 `Stake<'_>: Bumps` is not satisfied
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:52:31
[INFO] [stdout]     |
[INFO] [stdout]  52 |     pub fn stake(ctx: Context<Stake>, amount: u64) -> Result<()> {
[INFO] [stdout]     |                               ^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Bumps` is not implemented for `Stake<'_>`
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:280:1
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct Stake<'info> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Bumps`:
[INFO] [stdout]               Claim<'info>
[INFO] [stdout]               CreateNonceAccount<'info>
[INFO] [stdout]               CreateNonceAccountWithSeed<'info>
[INFO] [stdout]               DefaultAccountStateInitialize<'info>
[INFO] [stdout]               DefaultAccountStateUpdate<'info>
[INFO] [stdout]               Exit<'info>
[INFO] [stdout]               FundRewards<'info>
[INFO] [stdout]               GroupMemberPointerInitialize<'info>
[INFO] [stdout]             and 85 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Stake<'_>: Bumps` is not satisfied
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Bumps` is not implemented for `Stake<'_>`
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:280:1
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct Stake<'info> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Bumps`:
[INFO] [stdout]               Claim<'info>
[INFO] [stdout]               CreateNonceAccount<'info>
[INFO] [stdout]               CreateNonceAccountWithSeed<'info>
[INFO] [stdout]               DefaultAccountStateInitialize<'info>
[INFO] [stdout]               DefaultAccountStateUpdate<'info>
[INFO] [stdout]               Exit<'info>
[INFO] [stdout]               FundRewards<'info>
[INFO] [stdout]               GroupMemberPointerInitialize<'info>
[INFO] [stdout]             and 85 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 associated function or constant named `try_accounts` found for struct `Stake<'info>` in the current scope
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ associated function or constant not found in `Stake<'_>`
[INFO] [stdout] ...
[INFO] [stdout] 280 | pub struct Stake<'info> {
[INFO] [stdout]     | ----------------------- associated function or constant `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 `Stake<'_>: anchor_lang::Accounts<'_, _>` is not satisfied
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout]  11 | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `Stake<'_>`
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:280:1
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct Stake<'info> {
[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<T>` implements `anchor_lang::Accounts<'info, B>`
[INFO] [stdout]               `Claim<'info>` implements `anchor_lang::Accounts<'info, ClaimBumps>`
[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]               `Exit<'info>` implements `anchor_lang::Accounts<'info, ExitBumps>`
[INFO] [stdout]             and 98 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.32.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 `Stake<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, Stake<'_>>`
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:52:23
[INFO] [stdout]     |
[INFO] [stdout]  52 |     pub fn stake(ctx: Context<Stake>, amount: u64) -> Result<()> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, Stake<'_>>`, the trait `Bumps` is not implemented for `Stake<'_>`
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:280:1
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct Stake<'info> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `Bumps`:
[INFO] [stdout]               Claim<'info>
[INFO] [stdout]               CreateNonceAccount<'info>
[INFO] [stdout]               CreateNonceAccountWithSeed<'info>
[INFO] [stdout]               DefaultAccountStateInitialize<'info>
[INFO] [stdout]               DefaultAccountStateUpdate<'info>
[INFO] [stdout]               Exit<'info>
[INFO] [stdout]               FundRewards<'info>
[INFO] [stdout]               GroupMemberPointerInitialize<'info>
[INFO] [stdout]             and 85 others
[INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, Stake<'_>>`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.32.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: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]     |
[INFO] [stdout]  52 |     pub fn stake(ctx: &Context<Stake>, amount: u64) -> Result<()> {
[INFO] [stdout]     |                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |                   Context::new(
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] 124 |                       ctx.program_id,
[INFO] [stdout] 125 | /                     Withdraw {
[INFO] [stdout] 126 | |                         state: ctx.accounts.state.clone(),
[INFO] [stdout] 127 | |                         user: ctx.accounts.user.clone(),
[INFO] [stdout] 128 | |                         user_authority: ctx.accounts.user_authority.clone(),
[INFO] [stdout] ...   |
[INFO] [stdout] 132 | |                     },
[INFO] [stdout] 133 | |                     ctx.remaining_accounts.to_vec(),
[INFO] [stdout]     | |                     -------------------------------
[INFO] [stdout]     | |_____________________|_____________________________|
[INFO] [stdout]     |                       |                             two arguments of type `&mut Withdraw<'_>` and `&[__AccountInfo<'_>]` are missing
[INFO] [stdout]     |                       unexpected argument #3 of type `Vec<__AccountInfo<'_>>`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.32.1/src/context.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  57 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 123 ~                 Context::new(
[INFO] [stdout] 124 +                     ctx.program_id,
[INFO] [stdout] 125 +                     /* &mut Withdraw<'_> */,
[INFO] [stdout] 126 +                     /* &[__AccountInfo<'_>] */,
[INFO] [stdout] 127 +                     Withdraw {
[INFO] [stdout] 128 +                         state: ctx.accounts.state.clone(),
[INFO] [stdout] 129 +                         user: ctx.accounts.user.clone(),
[INFO] [stdout] 130 +                         user_authority: ctx.accounts.user_authority.clone(),
[INFO] [stdout] 131 +                         user_stake_ata: ctx.accounts.user_stake_ata.clone(),
[INFO] [stdout] 132 +                         vault: ctx.accounts.vault.clone(),
[INFO] [stdout] 133 +                         token_program: ctx.accounts.token_program.clone(),
[INFO] [stdout] 134 +                     },
[INFO] [stdout] 135 ~                 ),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> programs/tomato-staking/src/lib.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |               Context::new(
[INFO] [stdout]     |               ^^^^^^^^^^^^
[INFO] [stdout] 140 |                   ctx.program_id,
[INFO] [stdout] 141 | /                 Claim {
[INFO] [stdout] 142 | |                     state: ctx.accounts.state.clone(),
[INFO] [stdout] 143 | |                     user: ctx.accounts.user.clone(),
[INFO] [stdout] 144 | |                     user_authority: ctx.accounts.user_authority.clone(),
[INFO] [stdout] ...   |
[INFO] [stdout] 148 | |                 },
[INFO] [stdout] 149 | |                 vec![],
[INFO] [stdout]     | |                 ------
[INFO] [stdout]     | |_________________|____|
[INFO] [stdout]     |                   |    two arguments of type `&mut Claim<'_>` and `&[__AccountInfo<'_>]` are missing
[INFO] [stdout]     |                   unexpected argument #3 of type `Vec<_>`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.32.1/src/context.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  57 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: did you mean
[INFO] [stdout]     |
[INFO] [stdout] 139 ~             Context::new(
[INFO] [stdout] 140 +                 ctx.program_id,
[INFO] [stdout] 141 +                 /* &mut Claim<'_> */,
[INFO] [stdout] 142 +                 /* &[__AccountInfo<'_>] */,
[INFO] [stdout] 143 +                 Claim {
[INFO] [stdout] 144 +                     state: ctx.accounts.state.clone(),
[INFO] [stdout] 145 +                     user: ctx.accounts.user.clone(),
[INFO] [stdout] 146 +                     user_authority: ctx.accounts.user_authority.clone(),
[INFO] [stdout] 147 +                     user_reward_ata: ctx.accounts.user_reward_ata.clone(),
[INFO] [stdout] 148 +                     reward_vault: ctx.accounts.reward_vault.clone(),
[INFO] [stdout] 149 +                     token_program: ctx.accounts.token_program.clone(),
[INFO] [stdout] 150 +                 },
[INFO] [stdout] 151 +             )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tomato_staking` (lib) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "dbdc50b6b119f067fa5a6dc0ed5dd627e963df61e819c0730490f629cd56d142", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbdc50b6b119f067fa5a6dc0ed5dd627e963df61e819c0730490f629cd56d142", kill_on_drop: false }`
[INFO] [stdout] dbdc50b6b119f067fa5a6dc0ed5dd627e963df61e819c0730490f629cd56d142
