[INFO] cloning repository https://github.com/datmedevil17/solana-nft-marketplace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/datmedevil17/solana-nft-marketplace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatmedevil17%2Fsolana-nft-marketplace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatmedevil17%2Fsolana-nft-marketplace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a0cbe1bd907ced1d3b24610d47dbabde037b8fd [INFO] checking datmedevil17/solana-nft-marketplace/2a0cbe1bd907ced1d3b24610d47dbabde037b8fd against master#0f353363965ebf05e0757f7679c800b39c51a07e for pr-144896 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdatmedevil17%2Fsolana-nft-marketplace" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/datmedevil17/solana-nft-marketplace [INFO] finished tweaking git repo https://github.com/datmedevil17/solana-nft-marketplace [INFO] tweaked toml for git repo https://github.com/datmedevil17/solana-nft-marketplace written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/datmedevil17/solana-nft-marketplace on toolchain 0f353363965ebf05e0757f7679c800b39c51a07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/datmedevil17/solana-nft-marketplace 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" "+0f353363965ebf05e0757f7679c800b39c51a07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd751f91480508d2c5f3d8e1a8a2b5270deee8dcedcb960d307afd90647b2e0f [INFO] running `Command { std: "docker" "start" "-a" "dd751f91480508d2c5f3d8e1a8a2b5270deee8dcedcb960d307afd90647b2e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd751f91480508d2c5f3d8e1a8a2b5270deee8dcedcb960d307afd90647b2e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd751f91480508d2c5f3d8e1a8a2b5270deee8dcedcb960d307afd90647b2e0f", kill_on_drop: false }` [INFO] [stdout] dd751f91480508d2c5f3d8e1a8a2b5270deee8dcedcb960d307afd90647b2e0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+0f353363965ebf05e0757f7679c800b39c51a07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60a3e8ca8d429dbf9b62d4d8bbe1e754000e789771e0f1a6a437c61e704f31fc [INFO] running `Command { std: "docker" "start" "-a" "60a3e8ca8d429dbf9b62d4d8bbe1e754000e789771e0f1a6a437c61e704f31fc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Checking solana-logger v1.18.26 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling anchor-derive-space v0.30.1 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling anchor-syn v0.30.1 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.30.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.30.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.30.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.30.1 [INFO] [stderr] Compiling anchor-attribute-event v0.30.1 [INFO] [stderr] Compiling anchor-attribute-account v0.30.1 [INFO] [stderr] Compiling anchor-attribute-program v0.30.1 [INFO] [stderr] Compiling anchor-attribute-error v0.30.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking spl-program-error v0.3.0 [INFO] [stderr] Checking spl-discriminator v0.1.0 [INFO] [stderr] Checking spl-memo v4.0.4 [INFO] [stderr] Checking spl-token v4.0.3 [INFO] [stderr] Checking anchor-lang v0.30.1 [INFO] [stderr] Checking spl-program-error v0.4.4 [INFO] [stderr] Checking anchor-lang v0.29.0 [INFO] [stderr] Checking spl-discriminator v0.2.5 [INFO] [stderr] Checking mpl-token-metadata v4.1.2 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.26 [INFO] [stderr] Checking spl-pod v0.1.0 [INFO] [stderr] Checking spl-pod v0.2.5 [INFO] [stderr] Checking spl-type-length-value v0.4.6 [INFO] [stderr] Checking spl-token-group-interface v0.2.5 [INFO] [stderr] Checking spl-type-length-value v0.3.0 [INFO] [stderr] Checking spl-token-group-interface v0.1.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.6.5 [INFO] [stderr] Checking spl-token-metadata-interface v0.3.5 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Checking spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Checking spl-transfer-hook-interface v0.6.5 [INFO] [stderr] Checking spl-token-2022 v0.9.0 [INFO] [stderr] Checking spl-token-2022 v1.0.0 [INFO] [stderr] Checking spl-token-2022 v3.0.5 [INFO] [stderr] Checking spl-associated-token-account v2.3.0 [INFO] [stderr] Checking anchor-spl v0.29.0 [INFO] [stderr] Checking spl-associated-token-account v3.0.4 [INFO] [stderr] Checking anchor-spl v0.30.1 [INFO] [stderr] Checking marketplace v0.1.0 (/opt/rustwide/workdir/programs/marketplace) [INFO] [stderr] Checking royalty v0.1.0 (/opt/rustwide/workdir/programs/royalty) [INFO] [stderr] Checking auction v0.1.0 (/opt/rustwide/workdir/programs/auction) [INFO] [stdout] warning: unused imports: `TokenAccount` and `Token` [INFO] [stdout] --> programs/marketplace/src/lib.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::token::{Token, TokenAccount}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenAccount` and `Token` [INFO] [stdout] --> programs/marketplace/src/lib.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::token::{Token, TokenAccount}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpl_token_metadata::types::DataV2` [INFO] [stdout] --> programs/royalty/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mpl_token_metadata::types::DataV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpl_token_metadata::types::DataV2` [INFO] [stdout] --> programs/royalty/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mpl_token_metadata::types::DataV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | pub seller_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | pub seller_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:481:32 [INFO] [stdout] | [INFO] [stdout] 481 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:481:32 [INFO] [stdout] | [INFO] [stdout] 481 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:535:32 [INFO] [stdout] | [INFO] [stdout] 535 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:535:32 [INFO] [stdout] | [INFO] [stdout] 535 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `marketplace` [INFO] [stdout] --> programs/marketplace/src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let marketplace = &ctx.accounts.marketplace; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marketplace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | pub buyer_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | pub buyer_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:320:34 [INFO] [stdout] | [INFO] [stdout] 320 | pub authority_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:320:34 [INFO] [stdout] | [INFO] [stdout] 320 | pub authority_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | pub buyer_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | pub buyer_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:277:15 [INFO] [stdout] | [INFO] [stdout] 277 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:320:34 [INFO] [stdout] | [INFO] [stdout] 320 | pub authority_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:320:34 [INFO] [stdout] | [INFO] [stdout] 320 | pub authority_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | from: ctx.accounts.buyer_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | from: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | to: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | to: ctx.accounts.platform_treasury.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 39 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | / Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 42 | | to: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 43 | | authority: ctx.accounts.seller.to_account_info(), [INFO] [stdout] 44 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 39 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | / Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 42 | | to: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 43 | | authority: ctx.accounts.seller.to_account_info(), [INFO] [stdout] 44 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:79 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:79 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 39 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | | Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }, [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 39 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | | Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }, [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | pub seller_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 73 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:412:31 [INFO] [stdout] | [INFO] [stdout] 412 | pub seller_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 73 | / token::transfer( [INFO] [stdout] 74 | | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] 75 | | platform_fee, [INFO] [stdout] 76 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:481:32 [INFO] [stdout] | [INFO] [stdout] 481 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:481:32 [INFO] [stdout] | [INFO] [stdout] 481 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | token::transfer(transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 46 | token::transfer(transfer_ctx, 1)?; [INFO] [stdout] | --------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 491 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:535:32 [INFO] [stdout] | [INFO] [stdout] 535 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:535:32 [INFO] [stdout] | [INFO] [stdout] 535 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | from: ctx.accounts.buyer_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | from: ctx.accounts.buyer_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | auction.mint = ctx.accounts.mint.key(); [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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | to: ctx.accounts.platform_treasury.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:79 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:200:62 [INFO] [stdout] | [INFO] [stdout] 200 | from: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:79 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:201:59 [INFO] [stdout] | [INFO] [stdout] 201 | to: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 93 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 198 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | / Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 201 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 202 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 203 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 198 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | / Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 201 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 202 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 203 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 93 | / token::transfer( [INFO] [stdout] 94 | | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] 95 | | creator_fee, [INFO] [stdout] 96 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 198 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | | Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 204 | | signer, [INFO] [stdout] 205 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 198 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | | Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 204 | | signer, [INFO] [stdout] 205 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn claim_auction(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 206 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | from: ctx.accounts.buyer_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 73 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 74 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 73 | / token::transfer( [INFO] [stdout] 74 | | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_treasury), [INFO] [stdout] 75 | | platform_fee, [INFO] [stdout] 76 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:104:55 [INFO] [stdout] | [INFO] [stdout] 104 | to: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:79 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:79 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:277:62 [INFO] [stdout] | [INFO] [stdout] 277 | from: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 107 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 107 | / token::transfer( [INFO] [stdout] 108 | | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] 109 | | seller_amount, [INFO] [stdout] 110 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:278:59 [INFO] [stdout] | [INFO] [stdout] 278 | to: ctx.accounts.winner_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | mint: ctx.accounts.mint.key(), [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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 275 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | / Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 278 | | to: ctx.accounts.winner_token_account.to_account_info(), [INFO] [stdout] 279 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 280 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | from: ctx.accounts.buyer_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 275 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | / Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 278 | | to: ctx.accounts.winner_token_account.to_account_info(), [INFO] [stdout] 279 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 280 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 275 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | | Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 281 | | signer, [INFO] [stdout] 282 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 275 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | | Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 281 | | signer, [INFO] [stdout] 282 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:206:50 [INFO] [stdout] | [INFO] [stdout] 206 | from: ctx.accounts.platform_treasury.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 93 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 94 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | from: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:283:49 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn claim_auction(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 283 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 93 | / token::transfer( [INFO] [stdout] 94 | | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_creator), [INFO] [stdout] 95 | | creator_fee, [INFO] [stdout] 96 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | to: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 39 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | / Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 42 | | to: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 43 | | authority: ctx.accounts.seller.to_account_info(), [INFO] [stdout] 44 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | to: ctx.accounts.authority_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:103:56 [INFO] [stdout] | [INFO] [stdout] 103 | from: ctx.accounts.buyer_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 39 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | / Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 42 | | to: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 43 | | authority: ctx.accounts.seller.to_account_info(), [INFO] [stdout] 44 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 39 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | | Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }, [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let transfer_ctx = CpiContext::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 39 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 40 | | Transfer { [INFO] [stdout] 41 | | from: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | }, [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | from: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `marketplace` [INFO] [stdout] --> programs/marketplace/src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let marketplace = &ctx.accounts.marketplace; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_marketplace` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:104:55 [INFO] [stdout] | [INFO] [stdout] 104 | to: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:208:55 [INFO] [stdout] | [INFO] [stdout] 208 | authority: ctx.accounts.platform_treasury.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:79 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:326:55 [INFO] [stdout] | [INFO] [stdout] 326 | to: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | token::transfer(transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 218 | CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 219 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | transfer_to_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 46 | token::transfer(transfer_ctx, 1)?; [INFO] [stdout] | --------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:79 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | --------------- required by a bound introduced by this call ^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 218 | CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 219 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | transfer_to_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 323 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | / Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 326 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 327 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 328 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] 221 | | signer_seeds, [INFO] [stdout] 222 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 323 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | / Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 326 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 327 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 328 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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 `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | auction.mint = ctx.accounts.mint.key(); [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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 107 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 108 | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] 221 | | signer_seeds, [INFO] [stdout] 222 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 32 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 107 | / token::transfer( [INFO] [stdout] 108 | | CpiContext::new(ctx.accounts.token_program.to_account_info(), transfer_to_seller), [INFO] [stdout] 109 | | seller_amount, [INFO] [stdout] 110 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 323 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | | Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 329 | | signer, [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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 `key` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | mint: ctx.accounts.mint.key(), [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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 217 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 218 | / CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] 221 | | signer_seeds, [INFO] [stdout] 222 | | ), [INFO] [stdout] | |_____________^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 323 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | | Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 329 | | signer, [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 217 | / token::transfer( [INFO] [stdout] 218 | | CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] ... | [INFO] [stdout] 223 | | amount, [INFO] [stdout] 224 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn cancel_auction(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 331 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:200:62 [INFO] [stdout] | [INFO] [stdout] 200 | from: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | impl anchor_lang::Owner for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>` to implement `anchor_lang::Accounts<'_, InitializeRoyaltyConfigBumps>` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:206:50 [INFO] [stdout] | [INFO] [stdout] 206 | from: ctx.accounts.platform_treasury.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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 `Token: anchor_lang::Id` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `Token` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:514:1 [INFO] [stdout] | [INFO] [stdout] 514 | impl anchor_lang::Id for Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct Token; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, Token>` to implement `anchor_lang::Accounts<'_, InitializeRoyaltyConfigBumps>` [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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | impl anchor_lang::Owner for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:201:59 [INFO] [stdout] | [INFO] [stdout] 201 | to: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 198 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | / Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 201 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 202 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 203 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::TokenAccount: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | impl anchor_lang::Owner for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | to: ctx.accounts.authority_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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 `Token: Id` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `Id` is not implemented for `Token` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct Token; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, Token>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 198 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | / Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 201 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 202 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 203 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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 `AssociatedToken: Id` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `Id` is not implemented for `AssociatedToken` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct AssociatedToken; [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, AssociatedToken>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 198 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | | Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 204 | | signer, [INFO] [stdout] 205 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:197:36 [INFO] [stdout] | [INFO] [stdout] 197 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 198 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 199 | | Transfer { [INFO] [stdout] 200 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 204 | | signer, [INFO] [stdout] 205 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:206:49 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn claim_auction(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 206 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:396:35 [INFO] [stdout] | [INFO] [stdout] 396 | seeds = [b"auction", mint.key().as_ref(), seller.key().as_ref()], [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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:208:55 [INFO] [stdout] | [INFO] [stdout] 208 | authority: ctx.accounts.platform_treasury.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: 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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:277:62 [INFO] [stdout] | [INFO] [stdout] 277 | from: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 218 | CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 219 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | transfer_to_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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]: no function or associated item named `id` found for struct `Token2022` in the current scope [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Token2022` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] 336 | fn id() -> Pubkey; [INFO] [stdout] | ------------------ the associated function is available for `Token2022` here [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | -------------------- `Id` imported here doesn't correspond to the right version of crate `anchor_lang` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ------------ this is the trait that was imported [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 218 | CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 219 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | transfer_to_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:278:59 [INFO] [stdout] | [INFO] [stdout] 278 | to: ctx.accounts.winner_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 275 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | / Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 278 | | to: ctx.accounts.winner_token_account.to_account_info(), [INFO] [stdout] 279 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 280 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] 221 | | signer_seeds, [INFO] [stdout] 222 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 275 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | / Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 278 | | to: ctx.accounts.winner_token_account.to_account_info(), [INFO] [stdout] 279 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 280 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 275 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | | Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 281 | | signer, [INFO] [stdout] 282 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:274:36 [INFO] [stdout] | [INFO] [stdout] 274 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 275 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 276 | | Transfer { [INFO] [stdout] 277 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 281 | | signer, [INFO] [stdout] 282 | | ); [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | / CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] 221 | | signer_seeds, [INFO] [stdout] 222 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 217 | token::transfer( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 218 | / CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] 221 | | signer_seeds, [INFO] [stdout] 222 | | ), [INFO] [stdout] | |_____________^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 201 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 217 | / token::transfer( [INFO] [stdout] 218 | | CpiContext::new_with_signer( [INFO] [stdout] 219 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 220 | | transfer_to_authority, [INFO] [stdout] ... | [INFO] [stdout] 223 | | amount, [INFO] [stdout] 224 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:283:49 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn claim_auction(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 283 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | from: ctx.accounts.auction_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:326:55 [INFO] [stdout] | [INFO] [stdout] 326 | to: ctx.accounts.seller_token_account.to_account_info(), [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 323 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | / Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 326 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 327 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 328 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 323 | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | / Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] 326 | | to: ctx.accounts.seller_token_account.to_account_info(), [INFO] [stdout] 327 | | authority: ctx.accounts.auction.to_account_info(), [INFO] [stdout] 328 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Transfer<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 323 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | | Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 329 | | signer, [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Transfer<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | let nft_transfer_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 323 | | ctx.accounts.token_program.to_account_info(), [INFO] [stdout] 324 | | Transfer { [INFO] [stdout] 325 | | from: ctx.accounts.auction_token_account.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 329 | | signer, [INFO] [stdout] 330 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token::Transfer<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Transfer<'info> { [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: 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[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, Transfer<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Transfer<'_>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn transfer<'info>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | impl anchor_lang::Owner for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>` to implement `anchor_lang::Accounts<'_, InitializeRoyaltyConfigBumps>` [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn cancel_auction(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 331 | token::transfer(nft_transfer_ctx, 1)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Token: anchor_lang::Id` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `Token` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:514:1 [INFO] [stdout] | [INFO] [stdout] 514 | impl anchor_lang::Id for Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct Token; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, Token>` to implement `anchor_lang::Accounts<'_, InitializeRoyaltyConfigBumps>` [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_spl::token_2022::InitializeAccount3<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::token_2022::InitializeAccount3<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token_2022.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 443 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token_2022.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct InitializeAccount3<'info> { [INFO] [stdout] | ------------------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::associated_token::Create<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::associated_token::Create<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Create<'info> { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::associated_token::Create<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::associated_token::Create<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Create<'info> { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token_2022::InitializeAccount3<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::token_2022::InitializeAccount3<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token_2022.rs:443:10 [INFO] [stdout] | [INFO] [stdout] 443 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token_2022.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct InitializeAccount3<'info> { [INFO] [stdout] | ------------------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `CpiContext<'_, '_, '_, '_, Create<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Create<'_>>` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create<'info>(ctx: CpiContext<'_, '_, '_, 'info, Create<'info>>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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[E0308]: mismatched types [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `CpiContext<'_, '_, '_, '_, ...>`, found a different `CpiContext<'_, '_, '_, '_, ...>` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token_2022.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn initialize_account3<'info>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | impl anchor_lang::Owner for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | -------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [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]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/royalty/src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | -------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [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[E0609]: no field `mint` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [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_spl::token::TokenAccount: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | impl anchor_lang::Owner for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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_spl::token::TokenAccount: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | impl anchor_lang::Owner for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:302:53 [INFO] [stdout] | [INFO] [stdout] 302 | 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] 321 | pub fn try_from_unchecked(info: &'a AccountInfo<'a>) -> 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[E0609]: no field `mint` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [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 `Token: Id` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `Id` is not implemented for `Token` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:512:1 [INFO] [stdout] | [INFO] [stdout] 512 | pub struct Token; [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, Token>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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 `AssociatedToken: Id` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `Id` is not implemented for `AssociatedToken` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct AssociatedToken; [INFO] [stdout] | -------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, AssociatedToken>` to implement `anchor_lang::Accounts<'_, CreateAuctionBumps>` [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 `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [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 `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [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 `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:396:35 [INFO] [stdout] | [INFO] [stdout] 396 | seeds = [b"auction", mint.key().as_ref(), seller.key().as_ref()], [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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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[E0609]: no field `owner` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [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[E0609]: no field `owner` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [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 `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::TokenAccount: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: anchor_lang::Key` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `platform_treasury` of type `&anchor_lang::prelude::AccountInfo<'info>` that has method `to_account_info` available [INFO] [stdout] --> programs/royalty/src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `platform_treasury` of type `&anchor_lang::prelude::AccountInfo<'info>` that has method `to_account_info` defined earlier here [INFO] [stdout] | earlier `platform_treasury` shadowed here with type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: 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_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: 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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `auction_token_account` of type `&anchor_lang::prelude::AccountInfo<'info>` that has method `to_account_info` available [INFO] [stdout] --> programs/auction/src/lib.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | pub auction_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `auction_token_account` of type `&anchor_lang::prelude::AccountInfo<'info>` that has method `to_account_info` defined earlier here [INFO] [stdout] | earlier `auction_token_account` shadowed here with type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>: 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | pub platform_treasury: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | pub mint: Account<'info, anchor_spl::token::Mint>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `id` found for struct `Token2022` in the current scope [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Token2022` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 335 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] 336 | fn id() -> Pubkey; [INFO] [stdout] | ------------------ the associated function is available for `Token2022` here [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | -------------------- `Id` imported here doesn't correspond to the right version of crate `anchor_lang` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub trait Id { [INFO] [stdout] | ------------ this is the trait that was imported [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_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: 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_spl::associated_token::Create<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `anchor_spl::associated_token::Create<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Create<'info> { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 184 | { [INFO] [stdout] 185 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [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_spl::associated_token::Create<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `anchor_spl::associated_token::Create<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Create<'info> { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: 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[E0609]: no field `amount` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/auction/src/lib.rs:410:43 [INFO] [stdout] | [INFO] [stdout] 410 | constraint = seller_token_account.amount == 1 [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_spl::token::Mint: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | impl anchor_lang::AccountSerialize for Mint {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | pub mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::Mint` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | impl anchor_lang::AccountDeserialize for Mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | pub seller_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `CpiContext<'_, '_, '_, '_, Create<'_>>`, found a different `CpiContext<'_, '_, '_, '_, Create<'_>>` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/associated_token.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create<'info>(ctx: CpiContext<'_, '_, '_, 'info, Create<'info>>) -> Result<()> { [INFO] [stdout] | ^^^^^^ [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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | pub seller_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:450:1 [INFO] [stdout] | [INFO] [stdout] 450 | impl anchor_lang::AccountDeserialize for TokenAccount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/auction/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer, Mint}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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.30.1/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking listing v0.1.0 (/opt/rustwide/workdir/programs/nft-mint) [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/auction/src/lib.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | -------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [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[E0609]: no field `mint` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [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] [stderr] Checking nft-mint v0.1.0 (/opt/rustwide/workdir/programs/listing) [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: 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_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: 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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountMetas` [INFO] [stdout] `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: 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 `key` exists for struct `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, anchor_spl::token::Mint>: anchor_lang::Key` [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[E0609]: no field `owner` on type `anchor_lang::prelude::Account<'_, anchor_spl::token::TokenAccount>` [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [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_spl::token::TokenAccount>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/auction/src/lib.rs:390:10 [INFO] [stdout] | [INFO] [stdout] 390 | #[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-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `anchor_spl::token::TokenAccount: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>: 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_spl::token::Mint>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[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-spl-0.29.0/src/token.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct Mint(spl_token::state::Mint); [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.30.1/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | 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_spl::token::Mint: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: anchor_lang::ToAccountMetas` [INFO] [stdout] `anchor_spl::token::Mint: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, anchor_spl::token::Mint>: 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_spl::token::TokenAccount: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> programs/royalty/src/lib.rs:230:10 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `anchor_spl::token::TokenAccount` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl anchor_lang::AccountSerialize for TokenAccount {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.30.1/src/lib.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/royalty/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 4 | use anchor_spl::token::{self, Token, TokenAccount, Transfer}; [INFO] [stdout] | ---------- one version of crate `anchor_lang` used here, as a dependency of crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-spl-0.29.0/src/token.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | pub struct TokenAccount(spl_token::state::Account); [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.29.0/src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'info, anchor_spl::token::TokenAccount>` 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.30.1/src/lib.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `AccountsExit::exit` [INFO] [stdout] 135 | /// `program_id` is the currently executing program. [INFO] [stdout] 136 | 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_spl::token::TokenAccount: anchor_lang::AccountDeserialize` is not satisfied [WARN] too many lines in the log, truncating it