mint-proxy 1.1.2

Manages the minting of new Saber tokens.
Documentation
Build #2505397 2025-09-15 03:57:27

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.92.0-nightly (52618eb33 2025-09-14)

# docs.rs version docsrs 0.6.0 (f42173de 2025-09-12)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/mint-proxy-1.1.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/mint-proxy-1.1.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250914-1.92.0-nightly-52618eb33\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e468378f0ce31996bfdbe982576aece94b018399a3ea02eb8972fc55c906cbd4 [INFO] running `Command { std: "docker" "start" "-a" "e468378f0ce31996bfdbe982576aece94b018399a3ea02eb8972fc55c906cbd4", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting mint-proxy v1.1.2 (/opt/rustwide/workdir) [INFO] [stderr] error: cannot find attribute `state` in this scope [INFO] [stderr] --> src/lib.rs:50:7 [INFO] [stderr] | [INFO] [stderr] 50 | #[state] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `no-log-ix-name` [INFO] [stderr] --> src/lib.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:207:10 [INFO] [stderr] | [INFO] [stderr] 207 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:212:10 [INFO] [stderr] | [INFO] [stderr] 212 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:234:10 [INFO] [stderr] | [INFO] [stderr] 234 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:247:10 [INFO] [stderr] | [INFO] [stderr] 247 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:281:10 [INFO] [stderr] | [INFO] [stderr] 281 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:301:10 [INFO] [stderr] | [INFO] [stderr] 301 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> src/lib.rs:311:10 [INFO] [stderr] | [INFO] [stderr] 311 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stderr] --> src/lib.rs:228:21 [INFO] [stderr] | [INFO] [stderr] 228 | pub token_mint: Account<'info, Mint>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stderr] | [INFO] [stderr] 246 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:381:1 [INFO] [stderr] | [INFO] [stderr] 381 | pub struct Mint(spl_token::state::Mint); [INFO] [stderr] | --------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stderr] --> src/lib.rs:228:21 [INFO] [stderr] | [INFO] [stderr] 228 | pub token_mint: Account<'info, Mint>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:387:1 [INFO] [stderr] | [INFO] [stderr] 387 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stderr] | [INFO] [stderr] 257 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:381:1 [INFO] [stderr] | [INFO] [stderr] 381 | pub struct Mint(spl_token::state::Mint); [INFO] [stderr] | --------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stderr] --> src/lib.rs:241:21 [INFO] [stderr] | [INFO] [stderr] 241 | pub token_mint: Account<'info, Mint>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stderr] | [INFO] [stderr] 246 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:381:1 [INFO] [stderr] | [INFO] [stderr] 381 | pub struct Mint(spl_token::state::Mint); [INFO] [stderr] | --------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stderr] --> src/lib.rs:241:21 [INFO] [stderr] | [INFO] [stderr] 241 | pub token_mint: Account<'info, Mint>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:387:1 [INFO] [stderr] | [INFO] [stderr] 387 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stderr] | [INFO] [stderr] 257 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:381:1 [INFO] [stderr] | [INFO] [stderr] 381 | pub struct Mint(spl_token::state::Mint); [INFO] [stderr] | --------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stderr] --> src/lib.rs:322:21 [INFO] [stderr] | [INFO] [stderr] 322 | pub token_mint: Account<'info, Mint>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:395:1 [INFO] [stderr] | [INFO] [stderr] 395 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stderr] | [INFO] [stderr] 246 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:381:1 [INFO] [stderr] | [INFO] [stderr] 381 | pub struct Mint(spl_token::state::Mint); [INFO] [stderr] | --------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stderr] --> src/lib.rs:322:21 [INFO] [stderr] | [INFO] [stderr] 322 | pub token_mint: Account<'info, Mint>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:387:1 [INFO] [stderr] | [INFO] [stderr] 387 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stderr] | [INFO] [stderr] 257 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:381:1 [INFO] [stderr] | [INFO] [stderr] 381 | pub struct Mint(spl_token::state::Mint); [INFO] [stderr] | --------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stderr] --> src/lib.rs:326:22 [INFO] [stderr] | [INFO] [stderr] 326 | pub destination: Account<'info, TokenAccount>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:364:1 [INFO] [stderr] | [INFO] [stderr] 364 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stderr] | [INFO] [stderr] 246 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:350:1 [INFO] [stderr] | [INFO] [stderr] 350 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stderr] | ----------------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stderr] --> src/lib.rs:326:22 [INFO] [stderr] | [INFO] [stderr] 326 | pub destination: Account<'info, TokenAccount>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:356:1 [INFO] [stderr] | [INFO] [stderr] 356 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stderr] | [INFO] [stderr] 257 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:350:1 [INFO] [stderr] | [INFO] [stderr] 350 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stderr] | ----------------------- this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stderr] | [INFO] [stderr] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::SetAuthority<'info>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stderr] --> src/lib.rs:401:6 [INFO] [stderr] | [INFO] [stderr] 401 | ) -> CpiContext<'a, 'b, 'c, 'info, SetAuthority<'info>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::SetAuthority<'info>` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:338:10 [INFO] [stderr] | [INFO] [stderr] 338 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:154:1 [INFO] [stderr] | [INFO] [stderr] 154 | pub trait ToAccountMetas { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | pub struct SetAuthority<'info> { [INFO] [stderr] | ------------------------------ this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:173:8 [INFO] [stderr] | [INFO] [stderr] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stderr] | ---------- required by a bound in this struct [INFO] [stderr] 172 | where [INFO] [stderr] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stderr] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `anchor_spl::token::SetAuthority<'info>: anchor_lang::ToAccountInfos<'info>` is not satisfied [INFO] [stderr] --> src/lib.rs:401:6 [INFO] [stderr] | [INFO] [stderr] 401 | ) -> CpiContext<'a, 'b, 'c, 'info, SetAuthority<'info>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'info>` is not implemented for `anchor_spl::token::SetAuthority<'info>` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:338:10 [INFO] [stderr] | [INFO] [stderr] 338 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stderr] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:166:1 [INFO] [stderr] | [INFO] [stderr] 166 | pub trait ToAccountInfos<'info> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::solana_program; [INFO] [stderr] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stderr] 5 | use anchor_lang::{prelude::*, solana_program::pubkey::PUBKEY_BYTES}; [INFO] [stderr] 6 | use anchor_spl::token::{self, Mint, SetAuthority, Token, TokenAccount}; [INFO] [stderr] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.25.0/src/token.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | pub struct SetAuthority<'info> { [INFO] [stderr] | ------------------------------ this type doesn't implement the required trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stderr] | ------------------------------------------------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:173:25 [INFO] [stderr] | [INFO] [stderr] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stderr] | ---------- required by a bound in this struct [INFO] [stderr] 172 | where [INFO] [stderr] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stderr] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] warning: `mint-proxy` (lib doc) generated 19 warnings (5 duplicates) [INFO] [stderr] error: could not document `mint-proxy` [INFO] running `Command { std: "docker" "inspect" "e468378f0ce31996bfdbe982576aece94b018399a3ea02eb8972fc55c906cbd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e468378f0ce31996bfdbe982576aece94b018399a3ea02eb8972fc55c906cbd4", kill_on_drop: false }` [INFO] [stdout] e468378f0ce31996bfdbe982576aece94b018399a3ea02eb8972fc55c906cbd4