mint-proxy 1.1.2

Manages the minting of new Saber tokens.
Documentation

Build #3368100 2026-05-24 05:43:41

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.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.98.0-nightly (23a3312d9 2026-05-23)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "887aaa80b1e1fa3fbfa3efa9011811f70d42d19c2247061a9fb539a7eebb765e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260523-1.98.0-nightly-23a3312d9\", \"--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: 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] = 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`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 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] = 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] = 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`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] 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-1.0.2/src/lib.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:149:1 [INFO] [stderr] | [INFO] [stderr] 149 | pub trait AccountSerialize { [INFO] [stderr] | -------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountSerialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | impl AccountSerialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 61 | impl AccountSerialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:30 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (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::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] 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-1.0.2/src/lib.rs:350:1 [INFO] [stderr] | [INFO] [stderr] 350 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ----------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountDeserialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | impl AccountDeserialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 68 | impl AccountDeserialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:49 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (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: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] 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-1.0.2/src/lib.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:149:1 [INFO] [stderr] | [INFO] [stderr] 149 | pub trait AccountSerialize { [INFO] [stderr] | -------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountSerialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | impl AccountSerialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 61 | impl AccountSerialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:30 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (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::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] 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-1.0.2/src/lib.rs:350:1 [INFO] [stderr] | [INFO] [stderr] 350 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ----------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountDeserialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | impl AccountDeserialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 68 | impl AccountDeserialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:49 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (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: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] 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-1.0.2/src/lib.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:149:1 [INFO] [stderr] | [INFO] [stderr] 149 | pub trait AccountSerialize { [INFO] [stderr] | -------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountSerialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | impl AccountSerialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 61 | impl AccountSerialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:30 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (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::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] 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-1.0.2/src/lib.rs:350:1 [INFO] [stderr] | [INFO] [stderr] 350 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ----------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountDeserialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | impl AccountDeserialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 68 | impl AccountDeserialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:49 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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-1.0.2/src/lib.rs:339:1 [INFO] [stderr] | [INFO] [stderr] 339 | pub trait AccountSerialize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:149:1 [INFO] [stderr] | [INFO] [stderr] 149 | pub trait AccountSerialize { [INFO] [stderr] | -------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountSerialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | impl AccountSerialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 61 | impl AccountSerialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:30 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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-1.0.2/src/lib.rs:350:1 [INFO] [stderr] | [INFO] [stderr] 350 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:160:1 [INFO] [stderr] | [INFO] [stderr] 160 | pub trait AccountDeserialize: Sized { [INFO] [stderr] | ----------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] help: the following other types implement trait `anchor_lang::AccountDeserialize` [INFO] [stderr] --> src/lib.rs:349:1 [INFO] [stderr] | [INFO] [stderr] 349 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MinterInfo` [INFO] [stderr] ... [INFO] [stderr] 368 | #[account] [INFO] [stderr] | ^^^^^^^^^^ `MintProxyInfo` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-1.0.2/src/bpf_upgradeable_state.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | impl AccountDeserialize for ProgramData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::ProgramData` [INFO] [stderr] ... [INFO] [stderr] 68 | impl AccountDeserialize for UpgradeableLoaderState { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `anchor_lang::prelude::UpgradeableLoaderState` [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-1.0.2/src/accounts/account.rs:230:49 [INFO] [stderr] | [INFO] [stderr] 230 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stderr] = note: this error originates in the attribute macro `account` (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::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] 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-1.0.2/src/lib.rs:247:1 [INFO] [stderr] | [INFO] [stderr] 247 | pub trait ToAccountMetas { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:108:1 [INFO] [stderr] | [INFO] [stderr] 108 | pub trait ToAccountMetas { [INFO] [stderr] | ------------------------ this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] = help: the following other types implement trait `anchor_lang::ToAccountMetas`: [INFO] [stderr] Auth<'info> [INFO] [stderr] Initialize<'info> [INFO] [stderr] MinterAdd<'info> [INFO] [stderr] MinterRemove<'info> [INFO] [stderr] MinterUpdate<'info> [INFO] [stderr] PerformMint<'info> [INFO] [stderr] SetMintAuthority<'info> [INFO] [stderr] __client_accounts_auth::Auth [INFO] [stderr] and 68 others [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-1.0.2/src/context.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 173 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stderr] | ---------- required by a bound in this struct [INFO] [stderr] 174 | where [INFO] [stderr] 175 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stderr] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/doc/mint_proxy.long-type-5466179361713558526.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [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] 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-1.0.2/src/lib.rs:259:1 [INFO] [stderr] | [INFO] [stderr] 259 | pub trait ToAccountInfos<'info> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.25.0/src/lib.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | pub trait ToAccountInfos<'info> { [INFO] [stderr] | ------------------------------- this is the found trait [INFO] [stderr] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stderr] = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`: [INFO] [stderr] Auth<'info> [INFO] [stderr] Initialize<'info> [INFO] [stderr] MinterAdd<'info> [INFO] [stderr] MinterRemove<'info> [INFO] [stderr] MinterUpdate<'info> [INFO] [stderr] PerformMint<'info> [INFO] [stderr] SetMintAuthority<'info> [INFO] [stderr] __cpi_client_accounts_auth::Auth<'info> [INFO] [stderr] and 47 others [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-1.0.2/src/context.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 173 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stderr] | ---------- required by a bound in this struct [INFO] [stderr] 174 | where [INFO] [stderr] 175 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stderr] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-gnu/doc/mint_proxy.long-type-243905495981088293.txt' [INFO] [stderr] = note: consider using `--verbose` to print the full type name to the console [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] warning: `mint-proxy` (lib doc) generated 12 warnings [INFO] [stderr] error: could not document `mint-proxy` [INFO] running `Command { std: "docker" "inspect" "887aaa80b1e1fa3fbfa3efa9011811f70d42d19c2247061a9fb539a7eebb765e", kill_on_drop: false }`