[INFO] cloning repository https://github.com/starlingvibes/anchor-amm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starlingvibes/anchor-amm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarlingvibes%2Fanchor-amm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarlingvibes%2Fanchor-amm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 34173cfb083c744cd9da4d445f50d7287301465f
[INFO] testing starlingvibes/anchor-amm/34173cfb083c744cd9da4d445f50d7287301465f against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarlingvibes%2Fanchor-amm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/starlingvibes/anchor-amm
[INFO] finished tweaking git repo https://github.com/starlingvibes/anchor-amm
[INFO] tweaked toml for git repo https://github.com/starlingvibes/anchor-amm written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/starlingvibes/anchor-amm on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/starlingvibes/anchor-amm 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/deanmlittle/constant-product-curve.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded solana-pubkey v2.2.1
[INFO] [stderr]   Downloaded solana-define-syscall v2.2.1
[INFO] [stderr]   Downloaded solana-instruction v2.2.1
[INFO] [stderr]   Downloaded solana-account-info v2.2.1
[INFO] [stderr]   Downloaded solana-decode-error v2.2.1
[INFO] [stderr]   Downloaded solana-hash v2.2.1
[INFO] [stderr]   Downloaded anchor-attribute-account v0.31.0
[INFO] [stderr]   Downloaded anchor-attribute-event v0.31.0
[INFO] [stderr]   Downloaded solana-instructions-sysvar v2.2.1
[INFO] [stderr]   Downloaded solana-program-error v2.2.1
[INFO] [stderr]   Downloaded solana-signature v2.2.1
[INFO] [stderr]   Downloaded solana-clock v2.2.1
[INFO] [stderr]   Downloaded anchor-derive-space v0.31.0
[INFO] [stderr]   Downloaded solana-feature-gate-interface v2.2.1
[INFO] [stderr]   Downloaded anchor-attribute-constant v0.31.0
[INFO] [stderr]   Downloaded anchor-attribute-access-control v0.31.0
[INFO] [stderr]   Downloaded solana-curve25519 v2.2.7
[INFO] [stderr]   Downloaded solana-message v2.3.0
[INFO] [stderr]   Downloaded anchor-syn v0.31.0
[INFO] [stderr]   Downloaded solana-vote-interface v2.2.3
[INFO] [stderr]   Downloaded cc v1.2.18
[INFO] [stderr]   Downloaded anchor-attribute-error v0.31.0
[INFO] [stderr]   Downloaded anchor-attribute-program v0.31.0
[INFO] [stderr]   Downloaded anchor-derive-accounts v0.31.0
[INFO] [stderr]   Downloaded anchor-derive-serde v0.31.0
[INFO] [stderr]   Downloaded solana-sysvar v2.2.1
[INFO] [stderr]   Downloaded solana-program-entrypoint v2.2.1
[INFO] [stderr]   Downloaded solana-serde-varint v2.2.1
[INFO] [stderr]   Downloaded solana-program v2.2.1
[INFO] [stderr]   Downloaded solana-native-token v2.2.1
[INFO] [stderr]   Downloaded solana-program-memory v2.2.1
[INFO] [stderr]   Downloaded blake3 v1.8.1
[INFO] [stderr]   Downloaded solana-zk-sdk v2.2.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bfb36987288ebd1ad0c0f2a637d888dd6af83a40250ca6fc6ac6914633651630
[INFO] running `Command { std: "docker" "start" "-a" "bfb36987288ebd1ad0c0f2a637d888dd6af83a40250ca6fc6ac6914633651630", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bfb36987288ebd1ad0c0f2a637d888dd6af83a40250ca6fc6ac6914633651630", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfb36987288ebd1ad0c0f2a637d888dd6af83a40250ca6fc6ac6914633651630", kill_on_drop: false }`
[INFO] [stdout] bfb36987288ebd1ad0c0f2a637d888dd6af83a40250ca6fc6ac6914633651630
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2897f14e53d3b96faa360b8b743582eac7e80a4ccb9577163498d8aaa75fed2
[INFO] running `Command { std: "docker" "start" "-a" "a2897f14e53d3b96faa360b8b743582eac7e80a4ccb9577163498d8aaa75fed2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling winnow v0.7.6
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling solana-decode-error v2.2.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling solana-program-memory v2.2.1
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling solana-signature v2.2.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling blake3 v1.8.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling solana-seed-phrase v2.2.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling solana-native-token v2.2.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling constant-product-curve v0.1.0 (https://github.com/deanmlittle/constant-product-curve.git#2a723a0f)
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling solana-big-mod-exp v2.2.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling anchor-derive-space v0.31.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling bytemuck_derive v1.9.3
[INFO] [stderr]    Compiling borsh-derive v1.5.7
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling solana-sdk-macro v2.2.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling spl-program-error-derive v0.4.1
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling aes-gcm-siv v0.11.1
[INFO] [stderr]    Compiling merlin v3.0.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling spl-discriminator-syn v0.2.0
[INFO] [stderr]    Compiling num_enum v0.7.3
[INFO] [stderr]    Compiling spl-discriminator-derive v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling borsh v1.5.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling solana-hash v2.2.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling solana-short-vec v2.2.1
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling solana-fee-calculator v2.2.1
[INFO] [stderr]    Compiling solana-sha256-hasher v2.2.1
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling solana-keccak-hasher v2.2.1
[INFO] [stderr]    Compiling solana-serde-varint v2.2.1
[INFO] [stderr]    Compiling solana-blake3-hasher v2.2.1
[INFO] [stderr]    Compiling anchor-lang-idl-spec v0.1.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling anchor-syn v0.31.0
[INFO] [stderr]    Compiling solana-curve25519 v2.2.7
[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.2.1
[INFO] [stderr]    Compiling solana-borsh v2.2.1
[INFO] [stderr]    Compiling solana-instruction v2.2.1
[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.1
[INFO] [stderr]    Compiling solana-slot-hashes v2.2.1
[INFO] [stderr]    Compiling solana-rent v2.2.1
[INFO] [stderr]    Compiling solana-program-error v2.2.1
[INFO] [stderr]    Compiling solana-transaction-error v2.2.1
[INFO] [stderr]    Compiling solana-system-interface v1.0.0
[INFO] [stderr]    Compiling solana-serialize-utils v2.2.1
[INFO] [stderr]    Compiling solana-bincode v2.2.1
[INFO] [stderr]    Compiling solana-account-info v2.2.1
[INFO] [stderr]    Compiling solana-signer v2.2.1
[INFO] [stderr]    Compiling solana-address-lookup-table-interface v2.2.2
[INFO] [stderr]    Compiling solana-last-restart-slot v2.2.1
[INFO] [stderr]    Compiling solana-cpi v2.2.1
[INFO] [stderr]    Compiling solana-program-entrypoint v2.2.1
[INFO] [stderr]    Compiling solana-zk-sdk v2.2.7
[INFO] [stderr]    Compiling solana-message v2.3.0
[INFO] [stderr]    Compiling solana-stake-interface v1.2.1
[INFO] [stderr]    Compiling solana-account v2.2.1
[INFO] [stderr]    Compiling solana-instructions-sysvar v2.2.1
[INFO] [stderr]    Compiling solana-epoch-rewards v2.2.1
[INFO] [stderr]    Compiling solana-slot-history v2.2.1
[INFO] [stderr]    Compiling solana-epoch-schedule v2.2.1
[INFO] [stderr]    Compiling solana-secp256k1-recover v2.2.1
[INFO] [stderr]    Compiling solana-feature-gate-interface v2.2.1
[INFO] [stderr]    Compiling solana-vote-interface v2.2.3
[INFO] [stderr]    Compiling solana-sysvar v2.2.1
[INFO] [stderr]    Compiling solana-loader-v4-interface v2.2.1
[INFO] [stderr]    Compiling solana-loader-v3-interface v3.0.0
[INFO] [stderr]    Compiling solana-program-pack v2.2.1
[INFO] [stderr]    Compiling solana-example-mocks v2.2.1
[INFO] [stderr]    Compiling solana-loader-v2-interface v2.2.1
[INFO] [stderr]    Compiling solana-stable-layout v2.2.1
[INFO] [stderr]    Compiling spl-discriminator v0.4.1
[INFO] [stderr]    Compiling spl-memo v6.0.0
[INFO] [stderr]    Compiling spl-associated-token-account-client v2.0.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.31.0
[INFO] [stderr]    Compiling anchor-derive-serde v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.31.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-constant v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.31.0
[INFO] [stderr]    Compiling solana-program v2.2.1
[INFO] [stderr]    Compiling spl-program-error v0.6.0
[INFO] [stderr]    Compiling spl-token v7.0.0
[INFO] [stderr]    Compiling anchor-lang v0.31.0
[INFO] [stderr]    Compiling spl-pod v0.5.1
[INFO] [stderr]    Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1
[INFO] [stderr]    Compiling spl-token-confidential-transfer-proof-generation v0.2.0
[INFO] [stderr]    Compiling spl-type-length-value v0.7.0
[INFO] [stderr]    Compiling spl-token-confidential-transfer-proof-extraction v0.2.1
[INFO] [stderr]    Compiling spl-token-group-interface v0.5.0
[INFO] [stderr]    Compiling spl-tlv-account-resolution v0.9.0
[INFO] [stderr]    Compiling spl-token-metadata-interface v0.6.0
[INFO] [stderr]    Compiling spl-elgamal-registry v0.1.1
[INFO] [stderr]    Compiling spl-transfer-hook-interface v0.9.0
[INFO] [stderr]    Compiling spl-token-2022 v6.0.0
[INFO] [stderr]    Compiling spl-associated-token-account v6.0.0
[INFO] [stderr]    Compiling anchor-spl v0.31.0
[INFO] [stderr]    Compiling amm v0.1.0 (/opt/rustwide/workdir/programs/amm)
[INFO] [stdout] error: expected `,`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         bump: config.lp_bump,
[INFO] [stdout]    |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Config` is defined multiple times
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use anchor_lang::{prelude::*, solana_program::stake::config::Config};
[INFO] [stdout]    |                               ------------------------------------- previous import of the type `Config` here
[INFO] [stdout] ...
[INFO] [stdout] 11 | use crate::state::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ `Config` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::state::Config as OtherConfig;
[INFO] [stdout]    |                          ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Config` is defined multiple times
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  1 | use anchor_lang::{prelude::*, solana_program::stake::config::Config};
[INFO] [stdout]    |                               ------------------------------------- previous import of the type `Config` here
[INFO] [stdout] ...
[INFO] [stdout] 11 | use crate::state::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ `Config` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::state::Config as OtherConfig;
[INFO] [stdout]    |                          ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate`
[INFO] [stdout]   --> programs/amm/src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^ could not find `__client_accounts_deposit` 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] warning: unused import: `crate::state::Config`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::state::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::state::Config`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::state::Config;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `anchor_lang::solana_program::stake::config::Config`: Please use `crate::state::warmup_cooldown_rate()` instead
[INFO] [stdout]  --> programs/amm/src/instructions/initialize.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anchor_lang::{prelude::*, solana_program::stake::config::Config};
[INFO] [stdout]   |                                                              ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `anchor_lang::solana_program::stake::config::Config`: Please use `crate::state::warmup_cooldown_rate()` instead
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:53:32
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub config: Account<'info, Config>,
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `anchor_lang::solana_program::stake::config::Config`: Please use `crate::state::warmup_cooldown_rate()` instead
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |         space = 8 + Config::INIT_SPACE,
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `anchor_lang::solana_program::stake::config::Config`: Please use `crate::state::warmup_cooldown_rate()` instead
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |         self.config.set_inner(Config {
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `anchor_lang::solana_program::stake::config::Config`: Please use `crate::state::warmup_cooldown_rate()` instead
[INFO] [stdout]  --> programs/amm/src/instructions/deposit.rs:1:62
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anchor_lang::{prelude::*, solana_program::stake::config::Config};
[INFO] [stdout]   |                                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `anchor_lang::solana_program::stake::config::Config`: Please use `crate::state::warmup_cooldown_rate()` instead
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub config: Account<'info, Config>,
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:53:17
[INFO] [stdout]     |
[INFO] [stdout]  53 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountSerialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:30
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:53:17
[INFO] [stdout]     |
[INFO] [stdout]  53 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountDeserialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:49
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/deposit.rs:50:17
[INFO] [stdout]     |
[INFO] [stdout]  50 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountSerialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:30
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/deposit.rs:50:17
[INFO] [stdout]     |
[INFO] [stdout]  50 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountDeserialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:49
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `deposit::Deposit<'_>: Bumps` is not satisfied
[INFO] [stdout]   --> programs/amm/src/lib.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn deposit(ctx: Context<Deposit>,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Bumps` is not implemented for `deposit::Deposit<'_>`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Deposit<'info> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Bumps`:
[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]              GroupPointerUpdate<'info>
[INFO] [stdout]            and 80 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.31.0/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 `INIT_SPACE` found for struct `anchor_lang::solana_program::stake::config::Config` in the current scope
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:51:29
[INFO] [stdout]    |
[INFO] [stdout] 51 |         space = 8 + Config::INIT_SPACE,
[INFO] [stdout]    |                             ^^^^^^^^^^ associated item not found in `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountSerialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:30
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountDeserialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:49
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::Owner` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::Owner`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               instruction::Deposit
[INFO] [stdout]               instruction::Initialize
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account::<'a, T>::try_from_unchecked`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:300:53
[INFO] [stdout]     |
[INFO] [stdout] 300 | impl<'a, T: AccountSerialize + AccountDeserialize + Owner + Clone> Account<'a, T> {
[INFO] [stdout]     |                                                     ^^^^^ required by this bound in `Account::<'a, T>::try_from_unchecked`
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub fn try_from_unchecked(info: &'a AccountInfo<'a>) -> Result<Account<'a, T>> {
[INFO] [stdout]     |            ------------------ required by a bound in this associated function
[INFO] [stdout]     = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef<AccountInfo<'_>>` or `_: ToAccountInfo<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>: AsRef<anchor_lang::prelude::AccountInfo<'_>>`
[INFO] [stdout]             which is required by `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>: anchor_lang::ToAccountInfo<'_>`
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountSerialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:30
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout]     = note: this error originates in the macro `require_keys_neq` which comes from the expansion of 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountDeserialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:49
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout]     = note: this error originates in the macro `require_keys_neq` which comes from the expansion of the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef<AccountInfo<'_>>` or `_: ToAccountInfo<'_>`
[INFO] [stdout]     |
[INFO] [stdout] note: there's an earlier shadowed binding `config` of type `&anchor_lang::prelude::AccountInfo<'info>` that has method `to_account_info` available
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:53:9
[INFO] [stdout]     |
[INFO] [stdout]  53 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         `config` of type `&anchor_lang::prelude::AccountInfo<'info>` that has method `to_account_info` defined earlier here
[INFO] [stdout]     |         earlier `config` shadowed here with type `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>`
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>: AsRef<anchor_lang::prelude::AccountInfo<'_>>`
[INFO] [stdout]             which is required by `anchor_lang::prelude::Account<'_, anchor_lang::solana_program::stake::config::Config>: anchor_lang::ToAccountInfo<'_>`
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:53:9
[INFO] [stdout]     |
[INFO] [stdout]  53 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |         ^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountSerialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:30
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:53:9
[INFO] [stdout]     |
[INFO] [stdout]  53 |     pub config: Account<'info, Config>,
[INFO] [stdout]     |         ^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountDeserialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:49
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^^^^^ required by this bound in `Account`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-stake-interface-1.2.1/src/config.rs:24:1
[INFO] [stdout]     |
[INFO] [stdout]  24 | pub struct Config {
[INFO] [stdout]     | ----------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize`
[INFO] [stdout]             which is required by `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>: anchor_lang::ToAccountInfos<'_>`
[INFO] [stdout]             `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize`
[INFO] [stdout]             which is required by `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>: anchor_lang::ToAccountInfos<'_>`
[INFO] [stdout]     = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-stake-interface-1.2.1/src/config.rs:24:1
[INFO] [stdout]     |
[INFO] [stdout]  24 | pub struct Config {
[INFO] [stdout]     | ----------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/accounts/account.rs:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize`
[INFO] [stdout]             which is required by `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>: anchor_lang::ToAccountMetas`
[INFO] [stdout]             `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize`
[INFO] [stdout]             which is required by `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>: anchor_lang::ToAccountMetas`
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountSerialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout]     = note: required for `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>` to implement `anchor_lang::ToAccountMetas`
[INFO] [stdout] note: required by a bound in `anchor_lang::AccountsExit::exit`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/lib.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^ required by this bound in `AccountsExit::exit`
[INFO] [stdout] 138 |     /// `program_id` is the currently executing program.
[INFO] [stdout] 139 |     fn exit(&self, _program_id: &Pubkey) -> Result<()> {
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize` is not satisfied
[INFO] [stdout]    --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]     |
[INFO] [stdout]  13 | #[derive(Accounts)]
[INFO] [stdout]     |          ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `anchor_lang::AccountDeserialize`:
[INFO] [stdout]               UpgradeableLoaderState
[INFO] [stdout]               __idl::IdlAccount
[INFO] [stdout]               anchor_lang::ProgramData
[INFO] [stdout]               anchor_spl::token::Mint
[INFO] [stdout]               anchor_spl::token::TokenAccount
[INFO] [stdout]               anchor_spl::token_interface::Mint
[INFO] [stdout]               anchor_spl::token_interface::TokenAccount
[INFO] [stdout]               state::config::Config
[INFO] [stdout]     = note: required for `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>` to implement `anchor_lang::ToAccountMetas`
[INFO] [stdout] note: required by a bound in `anchor_lang::AccountsExit::exit`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/src/lib.rs:137:32
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^ required by this bound in `AccountsExit::exit`
[INFO] [stdout] 138 |     /// `program_id` is the currently executing program.
[INFO] [stdout] 139 |     fn exit(&self, _program_id: &Pubkey) -> Result<()> {
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout]     = note: this error 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 `anchor_lang::solana_program::stake::config::Config: anchor_lang::Owner` is not satisfied
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Accounts)]
[INFO] [stdout]    |          ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_lang::solana_program::stake::config::Config`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `anchor_lang::Owner`:
[INFO] [stdout]              UpgradeableLoaderState
[INFO] [stdout]              __idl::IdlAccount
[INFO] [stdout]              anchor_lang::ProgramData
[INFO] [stdout]              anchor_spl::token::Mint
[INFO] [stdout]              anchor_spl::token::TokenAccount
[INFO] [stdout]              instruction::Deposit
[INFO] [stdout]              instruction::Initialize
[INFO] [stdout]              state::config::Config
[INFO] [stdout]    = note: required for `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>` to implement `anchor_lang::AccountsExit<'_>`
[INFO] [stdout]    = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `set_inner` exists for struct `anchor_lang::prelude::Account<'info, anchor_lang::solana_program::stake::config::Config>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |         self.config.set_inner(Config {
[INFO] [stdout]    |         ------------^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-stake-interface-1.2.1/src/config.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Config {
[INFO] [stdout]    | ----------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountSerialize`
[INFO] [stdout]            `anchor_lang::solana_program::stake::config::Config: anchor_lang::AccountDeserialize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `seed`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             seed,
[INFO] [stdout]    |             ^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `authority`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |             authority,
[INFO] [stdout]    |             ^^^^^^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `mint_x`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             mint_x: self.mint_x.key(),
[INFO] [stdout]    |             ^^^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `mint_y`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |             mint_y: self.mint_y.key(),
[INFO] [stdout]    |             ^^^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `fee`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             fee,
[INFO] [stdout]    |             ^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `locked`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |             locked: false,
[INFO] [stdout]    |             ^^^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `config_bump`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             config_bump: bumps.config,
[INFO] [stdout]    |             ^^^^^^^^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `anchor_lang::solana_program::stake::config::Config` has no field named `lp_bump`
[INFO] [stdout]   --> programs/amm/src/instructions/initialize.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |             lp_bump: bumps.mint_lp,
[INFO] [stdout]    |             ^^^^^^^ `anchor_lang::solana_program::stake::config::Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `warmup_cooldown_rate`, `slash_penalty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `deposit::Deposit<'_>: Bumps` is not satisfied
[INFO] [stdout]   --> programs/amm/src/lib.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn deposit(ctx: Context<Deposit>,
[INFO] [stdout]    |                                 ^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Bumps` is not implemented for `deposit::Deposit<'_>`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Deposit<'info> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Bumps`:
[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]              GroupPointerUpdate<'info>
[INFO] [stdout]            and 80 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `deposit::Deposit<'_>: Bumps` is not satisfied
[INFO] [stdout]   --> programs/amm/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 `deposit::Deposit<'_>`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Deposit<'info> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Bumps`:
[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]              GroupPointerUpdate<'info>
[INFO] [stdout]            and 80 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 `deposit::Deposit<'info>` in the current scope
[INFO] [stdout]   --> programs/amm/src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[program]
[INFO] [stdout]    | ^^^^^^^^^^ function or associated item not found in `deposit::Deposit<'_>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: programs/amm/src/instructions/deposit.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Deposit<'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 `deposit::Deposit<'_>: anchor_lang::Accounts<'_, _>` is not satisfied
[INFO] [stdout]   --> programs/amm/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 `deposit::Deposit<'_>`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Deposit<'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]              `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]              `GroupMemberPointerUpdate<'info>` implements `anchor_lang::Accounts<'info, GroupMemberPointerUpdateBumps>`
[INFO] [stdout]            and 93 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.31.0/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 `deposit::Deposit<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, deposit::Deposit<'_>>`
[INFO] [stdout]   --> programs/amm/src/lib.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn deposit(ctx: Context<Deposit>,
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, deposit::Deposit<'_>>`, the trait `Bumps` is not implemented for `deposit::Deposit<'_>`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Deposit<'info> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `Bumps`:
[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]              GroupPointerUpdate<'info>
[INFO] [stdout]            and 80 others
[INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, deposit::Deposit<'_>>`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.0/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] 22 |     pub fn deposit(ctx: &Context<Deposit>,
[INFO] [stdout]    |                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_x`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | max_x: u64,
[INFO] [stdout]    | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_y`
[INFO] [stdout]   --> programs/amm/src/instructions/deposit.rs:60:1
[INFO] [stdout]    |
[INFO] [stdout] 60 | max_y: u64,
[INFO] [stdout]    | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0432, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `amm` (lib) due to 38 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a2897f14e53d3b96faa360b8b743582eac7e80a4ccb9577163498d8aaa75fed2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2897f14e53d3b96faa360b8b743582eac7e80a4ccb9577163498d8aaa75fed2", kill_on_drop: false }`
[INFO] [stdout] a2897f14e53d3b96faa360b8b743582eac7e80a4ccb9577163498d8aaa75fed2
