[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] checking starlingvibes/anchor-amm against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarlingvibes%2Fanchor-amm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/starlingvibes/anchor-amm on toolchain 95813608313bff49cfc1afc393a946a3c085b772
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "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" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/deanmlittle/constant-product-curve.git`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded solana-vote-interface v2.2.3
[INFO] [stderr]   Downloaded solana-curve25519 v2.2.7
[INFO] [stderr]   Downloaded solana-zk-sdk v2.2.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54afbb72b7a20b0d27cfc58d01f5f25c0b0ca306142dbe25e649d698d407080f
[INFO] running `Command { std: "docker" "start" "-a" "54afbb72b7a20b0d27cfc58d01f5f25c0b0ca306142dbe25e649d698d407080f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54afbb72b7a20b0d27cfc58d01f5f25c0b0ca306142dbe25e649d698d407080f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54afbb72b7a20b0d27cfc58d01f5f25c0b0ca306142dbe25e649d698d407080f", kill_on_drop: false }`
[INFO] [stdout] 54afbb72b7a20b0d27cfc58d01f5f25c0b0ca306142dbe25e649d698d407080f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f4dcae04428e0e74cc600f8dcf22fbfcdf8fb18819178eaf1ad7929e5884d3d
[INFO] running `Command { std: "docker" "start" "-a" "0f4dcae04428e0e74cc600f8dcf22fbfcdf8fb18819178eaf1ad7929e5884d3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling winnow v0.7.6
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]     Checking uriparse v0.6.4
[INFO] [stderr]     Checking derivation-path v0.2.0
[INFO] [stderr]     Checking qstring v0.7.2
[INFO] [stderr]     Checking solana-signature v2.2.1
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking solana-security-txt v1.1.1
[INFO] [stderr]     Checking constant-product-curve v0.1.0 (https://github.com/deanmlittle/constant-product-curve.git#2a723a0f)
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking solana-derivation-path v2.2.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking solana-seed-derivable v2.2.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling blake3 v1.8.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling toml_edit v0.22.24
[INFO] [stderr]     Checking solana-seed-phrase v2.2.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[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 num_enum_derive v0.7.3
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]     Checking aes-gcm-siv v0.11.1
[INFO] [stderr]     Checking num_enum v0.7.3
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling spl-discriminator-syn v0.2.0
[INFO] [stderr]     Checking borsh v1.5.7
[INFO] [stderr]    Compiling spl-discriminator-derive v0.2.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking solana-hash v2.2.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking solana-short-vec v2.2.1
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking solana-fee-calculator v2.2.1
[INFO] [stderr]     Checking bv v0.11.1
[INFO] [stderr]     Checking solana-serde-varint v2.2.1
[INFO] [stderr]     Checking libsecp256k1 v0.6.0
[INFO] [stderr]     Checking solana-sha256-hasher v2.2.1
[INFO] [stderr]     Checking solana-keccak-hasher v2.2.1
[INFO] [stderr]     Checking solana-blake3-hasher v2.2.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling anchor-lang-idl-spec v0.1.0
[INFO] [stderr]     Checking solana-curve25519 v2.2.7
[INFO] [stderr]    Compiling anchor-syn v0.31.0
[INFO] [stderr]    Compiling anchor-lang-idl v0.1.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]     Checking borsh v0.10.4
[INFO] [stderr]     Checking solana-pubkey v2.2.1
[INFO] [stderr]     Checking solana-borsh v2.2.1
[INFO] [stderr]     Checking solana-instruction v2.2.1
[INFO] [stderr]     Checking solana-sdk-ids v2.2.1
[INFO] [stderr]     Checking solana-nonce v2.2.1
[INFO] [stderr]     Checking solana-sysvar-id v2.2.1
[INFO] [stderr]     Checking solana-clock v2.2.1
[INFO] [stderr]     Checking solana-slot-hashes v2.2.1
[INFO] [stderr]     Checking solana-rent v2.2.1
[INFO] [stderr]     Checking solana-epoch-schedule v2.2.1
[INFO] [stderr]     Checking solana-last-restart-slot v2.2.1
[INFO] [stderr]     Checking solana-epoch-rewards v2.2.1
[INFO] [stderr]     Checking solana-slot-history v2.2.1
[INFO] [stderr]     Checking solana-program-error v2.2.1
[INFO] [stderr]     Checking solana-transaction-error v2.2.1
[INFO] [stderr]     Checking solana-system-interface v1.0.0
[INFO] [stderr]     Checking solana-serialize-utils v2.2.1
[INFO] [stderr]     Checking solana-bincode v2.2.1
[INFO] [stderr]     Checking solana-loader-v2-interface v2.2.1
[INFO] [stderr]     Checking solana-stable-layout v2.2.1
[INFO] [stderr]     Checking spl-associated-token-account-client v2.0.0
[INFO] [stderr]     Checking solana-signer v2.2.1
[INFO] [stderr]     Checking solana-address-lookup-table-interface v2.2.2
[INFO] [stderr]     Checking solana-account-info v2.2.1
[INFO] [stderr]     Checking solana-program-pack v2.2.1
[INFO] [stderr]     Checking spl-discriminator v0.4.1
[INFO] [stderr]     Checking solana-zk-sdk v2.2.7
[INFO] [stderr]     Checking solana-message v2.3.0
[INFO] [stderr]     Checking solana-vote-interface v2.2.3
[INFO] [stderr]     Checking solana-loader-v3-interface v3.0.0
[INFO] [stderr]     Checking solana-loader-v4-interface v2.2.1
[INFO] [stderr]     Checking solana-secp256k1-recover v2.2.1
[INFO] [stderr]     Checking solana-program-entrypoint v2.2.1
[INFO] [stderr]     Checking solana-cpi v2.2.1
[INFO] [stderr]     Checking solana-instructions-sysvar v2.2.1
[INFO] [stderr]     Checking solana-account v2.2.1
[INFO] [stderr]     Checking solana-stake-interface v1.2.1
[INFO] [stderr]     Checking spl-memo v6.0.0
[INFO] [stderr]     Checking solana-feature-gate-interface v2.2.1
[INFO] [stderr]     Checking solana-example-mocks v2.2.1
[INFO] [stderr]     Checking solana-sysvar v2.2.1
[INFO] [stderr]     Checking solana-program v2.2.1
[INFO] [stderr]    Compiling anchor-attribute-program v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-constant v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.31.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.31.0
[INFO] [stderr]    Compiling anchor-derive-serde v0.31.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.31.0
[INFO] [stderr]     Checking spl-pod v0.5.1
[INFO] [stderr]     Checking spl-token-confidential-transfer-proof-generation v0.2.0
[INFO] [stderr]     Checking spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1
[INFO] [stderr]     Checking spl-program-error v0.6.0
[INFO] [stderr]     Checking spl-token v7.0.0
[INFO] [stderr]     Checking spl-type-length-value v0.7.0
[INFO] [stderr]     Checking spl-token-confidential-transfer-proof-extraction v0.2.1
[INFO] [stderr]     Checking spl-token-group-interface v0.5.0
[INFO] [stderr]     Checking spl-elgamal-registry v0.1.1
[INFO] [stderr]     Checking spl-tlv-account-resolution v0.9.0
[INFO] [stderr]     Checking spl-token-metadata-interface v0.6.0
[INFO] [stderr]     Checking spl-transfer-hook-interface v0.9.0
[INFO] [stderr]     Checking anchor-lang v0.31.0
[INFO] [stderr]     Checking spl-token-2022 v6.0.0
[INFO] [stderr]     Checking spl-associated-token-account v6.0.0
[INFO] [stderr]     Checking anchor-spl v0.31.0
[INFO] [stderr]     Checking 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: 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[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] 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: 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] 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::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::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::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 `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[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[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::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::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[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[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::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[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[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::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[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_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[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::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::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[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[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 `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 `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 `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 `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 `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 `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 `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 `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[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: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[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[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<'_>: 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: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn deposit(ctx: &Context<Deposit>,
[INFO] [stdout]    |                         +
[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: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]    |
[INFO] [stdout] 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] 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] [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 test) due to 38 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `amm` (lib) due to 38 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0f4dcae04428e0e74cc600f8dcf22fbfcdf8fb18819178eaf1ad7929e5884d3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4dcae04428e0e74cc600f8dcf22fbfcdf8fb18819178eaf1ad7929e5884d3d", kill_on_drop: false }`
[INFO] [stdout] 0f4dcae04428e0e74cc600f8dcf22fbfcdf8fb18819178eaf1ad7929e5884d3d
