[INFO] cloning repository https://github.com/ayushsinghalbytive/solana-presale [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayushsinghalbytive/solana-presale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayushsinghalbytive%2Fsolana-presale", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayushsinghalbytive%2Fsolana-presale'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13dce8b5ada02af2c5a020b5ec95f90b4dd9cba1 [INFO] checking ayushsinghalbytive/solana-presale/13dce8b5ada02af2c5a020b5ec95f90b4dd9cba1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayushsinghalbytive%2Fsolana-presale" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayushsinghalbytive/solana-presale on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ayushsinghalbytive/solana-presale [INFO] finished tweaking git repo https://github.com/ayushsinghalbytive/solana-presale [INFO] tweaked toml for git repo https://github.com/ayushsinghalbytive/solana-presale written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ayushsinghalbytive/solana-presale 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spl-program-error v0.4.2 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.3.4 [INFO] [stderr] Downloaded light-poseidon v0.1.2 [INFO] [stderr] Downloaded spl-pod v0.2.3 [INFO] [stderr] Downloaded spl-token-group-interface v0.2.4 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.6.4 [INFO] [stderr] Downloaded solana-frozen-abi v1.17.3 [INFO] [stderr] Downloaded spl-memo v4.0.3 [INFO] [stderr] Downloaded spl-token v4.0.2 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.17.3 [INFO] [stderr] Downloaded spl-discriminator v0.2.3 [INFO] [stderr] Downloaded solana-sdk-macro v2.0.11 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.6.4 [INFO] [stderr] Downloaded spl-token-2022 v3.0.3 [INFO] [stderr] Downloaded solana-sdk-macro v1.17.3 [INFO] [stderr] Downloaded solana-program v1.17.3 [INFO] [stderr] Downloaded spl-associated-token-account v3.0.3 [INFO] [stderr] Downloaded solana-curve25519 v2.0.11 [INFO] [stderr] Downloaded solana-sdk v2.0.11 [INFO] [stderr] Downloaded solana-zk-token-sdk v2.0.11 [INFO] [stderr] Downloaded solana-program v2.0.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0f6e7853e266f4c35afb37184dc0a15bd2b53c60d45ef45a313eae968da4287 [INFO] running `Command { std: "docker" "start" "-a" "a0f6e7853e266f4c35afb37184dc0a15bd2b53c60d45ef45a313eae968da4287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0f6e7853e266f4c35afb37184dc0a15bd2b53c60d45ef45a313eae968da4287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f6e7853e266f4c35afb37184dc0a15bd2b53c60d45ef45a313eae968da4287", kill_on_drop: false }` [INFO] [stdout] a0f6e7853e266f4c35afb37184dc0a15bd2b53c60d45ef45a313eae968da4287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a0966ab7f2fef54e20722b553f707eedd111b41d8a8f8775d22e538aa185d62 [INFO] running `Command { std: "docker" "start" "-a" "4a0966ab7f2fef54e20722b553f707eedd111b41d8a8f8775d22e538aa185d62", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.20.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling solana-program v2.0.11 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling solana-sdk v2.0.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling solana-sdk-macro v2.0.11 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.17.3 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.17.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling solana-program v1.17.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling solana-sdk-macro v1.17.3 [INFO] [stderr] Compiling anchor-derive-space v0.30.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.6.0 [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 curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling anchor-syn v0.30.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Compiling anchor-lang-idl v0.1.1 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-constant v0.30.1 [INFO] [stderr] Compiling anchor-derive-serde 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-program v0.30.1 [INFO] [stderr] Compiling anchor-attribute-error v0.30.1 [INFO] [stderr] Compiling anchor-attribute-event v0.30.1 [INFO] [stderr] Compiling anchor-attribute-account 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.1.2 [INFO] [stderr] Checking solana-curve25519 v2.0.11 [INFO] [stderr] Checking spl-program-error v0.4.2 [INFO] [stderr] Checking spl-discriminator v0.2.3 [INFO] [stderr] Checking spl-memo v4.0.3 [INFO] [stderr] Checking spl-token v4.0.2 [INFO] [stderr] Checking anchor-lang v0.30.1 [INFO] [stderr] Checking solana-zk-token-sdk v2.0.11 [INFO] [stderr] Checking spl-pod v0.2.3 [INFO] [stderr] Checking spl-type-length-value v0.4.3 [INFO] [stderr] Checking spl-token-group-interface v0.2.4 [INFO] [stderr] Checking spl-tlv-account-resolution v0.6.4 [INFO] [stderr] Checking spl-token-metadata-interface v0.3.4 [INFO] [stderr] Checking spl-transfer-hook-interface v0.6.4 [INFO] [stderr] Checking spl-token-2022 v3.0.3 [INFO] [stderr] Checking spl-associated-token-account v3.0.3 [INFO] [stderr] Checking anchor-spl v0.30.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | static IDS: [Pubkey; 2] = [spl_token::ID, spl_token_2022::ID]; [INFO] [stdout] | ^^^^^^^^^^^^^ expected `anchor_lang::prelude::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `Pubkey` and `anchor_lang::prelude::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/associated_token.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | let ix = spl_associated_token_account::instruction::create_associated_token_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | ctx.accounts.payer.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 14 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 15 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 16 | ctx.accounts.token_program.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-associated-token-account-3.0.3/src/instruction.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn create_associated_token_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/associated_token.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 19 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/associated_token.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | let ix = spl_associated_token_account::instruction::create_associated_token_account_idempotent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | ctx.accounts.payer.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 38 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 39 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 40 | ctx.accounts.token_program.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-associated-token-account-3.0.3/src/instruction.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn create_associated_token_account_idempotent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/associated_token.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 43 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/associated_token.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | fn id() -> Pubkey { [INFO] [stdout] | ------ expected `anchor_lang::prelude::Pubkey` because of return type [INFO] [stdout] 74 | ID [INFO] [stdout] | ^^ expected `anchor_lang::prelude::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `Pubkey` and `anchor_lang::prelude::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let ix = spl_token::instruction::transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | &spl_token::ID, [INFO] [stdout] 17 | ctx.accounts.from.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 18 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 19 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:966:8 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn transfer( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 15 | let ix = spl_token::instruction::transfer( [INFO] [stdout] | ______________- [INFO] [stdout] 16 | | &spl_token::ID, [INFO] [stdout] 17 | | ctx.accounts.from.key, [INFO] [stdout] 18 | | ctx.accounts.to.key, [INFO] [stdout] ... | [INFO] [stdout] 21 | | amount, [INFO] [stdout] 22 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 24 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | let ix = spl_token::instruction::transfer_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | &spl_token::ID, [INFO] [stdout] 38 | ctx.accounts.from.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 39 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 40 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 41 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1235:8 [INFO] [stdout] | [INFO] [stdout] 1235 | pub fn transfer_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 35 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 36 | let ix = spl_token::instruction::transfer_checked( [INFO] [stdout] | ______________- [INFO] [stdout] 37 | | &spl_token::ID, [INFO] [stdout] 38 | | ctx.accounts.from.key, [INFO] [stdout] 39 | | ctx.accounts.mint.key, [INFO] [stdout] ... | [INFO] [stdout] 44 | | decimals, [INFO] [stdout] 45 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 47 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | let ix = spl_token::instruction::mint_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | &spl_token::ID, [INFO] [stdout] 65 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 66 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 67 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1087:8 [INFO] [stdout] | [INFO] [stdout] 1087 | pub fn mint_to( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 63 | let ix = spl_token::instruction::mint_to( [INFO] [stdout] | ______________- [INFO] [stdout] 64 | | &spl_token::ID, [INFO] [stdout] 65 | | ctx.accounts.mint.key, [INFO] [stdout] 66 | | ctx.accounts.to.key, [INFO] [stdout] ... | [INFO] [stdout] 69 | | amount, [INFO] [stdout] 70 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 72 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | let ix = spl_token::instruction::burn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | &spl_token::ID, [INFO] [stdout] 82 | ctx.accounts.from.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 83 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 84 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1117:8 [INFO] [stdout] | [INFO] [stdout] 1117 | pub fn burn( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn burn<'info>(ctx: CpiContext<'_, '_, '_, 'info, Burn<'info>>, amount: u64) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 80 | let ix = spl_token::instruction::burn( [INFO] [stdout] | ______________- [INFO] [stdout] 81 | | &spl_token::ID, [INFO] [stdout] 82 | | ctx.accounts.from.key, [INFO] [stdout] 83 | | ctx.accounts.mint.key, [INFO] [stdout] ... | [INFO] [stdout] 86 | | amount, [INFO] [stdout] 87 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 88 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 89 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | let ix = spl_token::instruction::approve( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | &spl_token::ID, [INFO] [stdout] 102 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 103 | ctx.accounts.delegate.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 104 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:996:8 [INFO] [stdout] | [INFO] [stdout] 996 | pub fn approve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 99 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 100 | let ix = spl_token::instruction::approve( [INFO] [stdout] | ______________- [INFO] [stdout] 101 | | &spl_token::ID, [INFO] [stdout] 102 | | ctx.accounts.to.key, [INFO] [stdout] 103 | | ctx.accounts.delegate.key, [INFO] [stdout] ... | [INFO] [stdout] 106 | | amount, [INFO] [stdout] 107 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 109 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | let ix = spl_token::instruction::approve_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 126 | &spl_token::ID, [INFO] [stdout] 127 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 128 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 129 | ctx.accounts.delegate.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 130 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1269:8 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn approve_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 124 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 125 | let ix = spl_token::instruction::approve_checked( [INFO] [stdout] | ______________- [INFO] [stdout] 126 | | &spl_token::ID, [INFO] [stdout] 127 | | ctx.accounts.to.key, [INFO] [stdout] 128 | | ctx.accounts.mint.key, [INFO] [stdout] ... | [INFO] [stdout] 133 | | decimals, [INFO] [stdout] 134 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 136 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | let ix = spl_token::instruction::revoke( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | &spl_token::ID, [INFO] [stdout] 151 | ctx.accounts.source.key, [INFO] [stdout] | ----------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 152 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1026:8 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn revoke( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:154:6 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn revoke<'info>(ctx: CpiContext<'_, '_, '_, 'info, Revoke<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 149 | let ix = spl_token::instruction::revoke( [INFO] [stdout] | ______________- [INFO] [stdout] 150 | | &spl_token::ID, [INFO] [stdout] 151 | | ctx.accounts.source.key, [INFO] [stdout] 152 | | ctx.accounts.authority.key, [INFO] [stdout] 153 | | &[], [INFO] [stdout] 154 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 155 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 156 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | let ix = spl_token::instruction::initialize_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | &spl_token::ID, [INFO] [stdout] 168 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 169 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 170 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:832:8 [INFO] [stdout] | [INFO] [stdout] 832 | pub fn initialize_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:171:6 [INFO] [stdout] | [INFO] [stdout] 165 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 166 | let ix = spl_token::instruction::initialize_account( [INFO] [stdout] | ______________- [INFO] [stdout] 167 | | &spl_token::ID, [INFO] [stdout] 168 | | ctx.accounts.account.key, [INFO] [stdout] 169 | | ctx.accounts.mint.key, [INFO] [stdout] 170 | | ctx.accounts.authority.key, [INFO] [stdout] 171 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 173 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | let ix = spl_token::instruction::initialize_account3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 189 | &spl_token::ID, [INFO] [stdout] 190 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 191 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 192 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:882:8 [INFO] [stdout] | [INFO] [stdout] 882 | pub fn initialize_account3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:193:6 [INFO] [stdout] | [INFO] [stdout] 187 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 188 | let ix = spl_token::instruction::initialize_account3( [INFO] [stdout] | ______________- [INFO] [stdout] 189 | | &spl_token::ID, [INFO] [stdout] 190 | | ctx.accounts.account.key, [INFO] [stdout] 191 | | ctx.accounts.mint.key, [INFO] [stdout] 192 | | ctx.accounts.authority.key, [INFO] [stdout] 193 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 194 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 195 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | let ix = spl_token::instruction::close_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 204 | &spl_token::ID, [INFO] [stdout] 205 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 206 | ctx.accounts.destination.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 207 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1147:8 [INFO] [stdout] | [INFO] [stdout] 1147 | pub fn close_account( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:209:6 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn close_account<'info>(ctx: CpiContext<'_, '_, '_, 'info, CloseAccount<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 203 | let ix = spl_token::instruction::close_account( [INFO] [stdout] | ______________- [INFO] [stdout] 204 | | &spl_token::ID, [INFO] [stdout] 205 | | ctx.accounts.account.key, [INFO] [stdout] 206 | | ctx.accounts.destination.key, [INFO] [stdout] 207 | | ctx.accounts.authority.key, [INFO] [stdout] 208 | | &[], // TODO: support multisig [INFO] [stdout] 209 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 210 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 211 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | let ix = spl_token::instruction::freeze_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 226 | &spl_token::ID, [INFO] [stdout] 227 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 228 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 229 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | pub fn freeze_account( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 225 | let ix = spl_token::instruction::freeze_account( [INFO] [stdout] | ______________- [INFO] [stdout] 226 | | &spl_token::ID, [INFO] [stdout] 227 | | ctx.accounts.account.key, [INFO] [stdout] 228 | | ctx.accounts.mint.key, [INFO] [stdout] 229 | | ctx.accounts.authority.key, [INFO] [stdout] 230 | | &[], // TODO: Support multisig signers. [INFO] [stdout] 231 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 233 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | let ix = spl_token::instruction::thaw_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | &spl_token::ID, [INFO] [stdout] 247 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 248 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 249 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1205:8 [INFO] [stdout] | [INFO] [stdout] 1205 | pub fn thaw_account( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:251:6 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn thaw_account<'info>(ctx: CpiContext<'_, '_, '_, 'info, ThawAccount<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 245 | let ix = spl_token::instruction::thaw_account( [INFO] [stdout] | ______________- [INFO] [stdout] 246 | | &spl_token::ID, [INFO] [stdout] 247 | | ctx.accounts.account.key, [INFO] [stdout] 248 | | ctx.accounts.mint.key, [INFO] [stdout] 249 | | ctx.accounts.authority.key, [INFO] [stdout] 250 | | &[], // TODO: Support multisig signers. [INFO] [stdout] 251 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 252 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 253 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 270 | let ix = spl_token::instruction::initialize_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 271 | &spl_token::ID, [INFO] [stdout] 272 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 273 | authority, [INFO] [stdout] | --------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | freeze_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:777:8 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn initialize_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 270 | let ix = spl_token::instruction::initialize_mint( [INFO] [stdout] | ______________- [INFO] [stdout] 271 | | &spl_token::ID, [INFO] [stdout] 272 | | ctx.accounts.mint.key, [INFO] [stdout] 273 | | authority, [INFO] [stdout] 274 | | freeze_authority, [INFO] [stdout] 275 | | decimals, [INFO] [stdout] 276 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 277 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 278 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | let ix = spl_token::instruction::initialize_mint2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 292 | &spl_token::ID, [INFO] [stdout] 293 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 294 | authority, [INFO] [stdout] | --------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | freeze_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:806:8 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn initialize_mint2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:297:6 [INFO] [stdout] | [INFO] [stdout] 290 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 291 | let ix = spl_token::instruction::initialize_mint2( [INFO] [stdout] | ______________- [INFO] [stdout] 292 | | &spl_token::ID, [INFO] [stdout] 293 | | ctx.accounts.mint.key, [INFO] [stdout] 294 | | authority, [INFO] [stdout] 295 | | freeze_authority, [INFO] [stdout] 296 | | decimals, [INFO] [stdout] 297 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:298:57 [INFO] [stdout] | [INFO] [stdout] 298 | anchor_lang::solana_program::program::invoke_signed(&ix, &[ctx.accounts.mint], ctx.signer_seeds) [INFO] [stdout] | --------------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 312 | let ix = spl_token::instruction::set_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 313 | &spl_token::ID, [INFO] [stdout] 314 | ctx.accounts.account_or_mint.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] ... [INFO] [stdout] 317 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | spl_new_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1053:8 [INFO] [stdout] | [INFO] [stdout] 1053 | pub fn set_authority( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:319:6 [INFO] [stdout] | [INFO] [stdout] 306 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 312 | let ix = spl_token::instruction::set_authority( [INFO] [stdout] | ______________- [INFO] [stdout] 313 | | &spl_token::ID, [INFO] [stdout] 314 | | ctx.accounts.account_or_mint.key, [INFO] [stdout] 315 | | spl_new_authority, [INFO] [stdout] ... | [INFO] [stdout] 318 | | &[], // TODO: Support multisig signers. [INFO] [stdout] 319 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 320 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 321 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:329:66 [INFO] [stdout] | [INFO] [stdout] 329 | let ix = spl_token::instruction::sync_native(&spl_token::ID, ctx.accounts.account.key)?; [INFO] [stdout] | ----------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-4.0.2/src/instruction.rs:1364:8 [INFO] [stdout] | [INFO] [stdout] 1364 | pub fn sync_native( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:329:91 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn sync_native<'info>(ctx: CpiContext<'_, '_, '_, 'info, SyncNative<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 329 | let ix = spl_token::instruction::sync_native(&spl_token::ID, ctx.accounts.account.key)?; [INFO] [stdout] | -----------------------------------------------------------------------------^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 330 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 331 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `LEN` found for struct `spl_token::state::Account` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:450:55 [INFO] [stdout] | [INFO] [stdout] 450 | pub const LEN: usize = spl_token::state::Account::LEN; [INFO] [stdout] | ^^^ associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] 16 | /// The length, in bytes, of the packed representation [INFO] [stdout] 17 | const LEN: usize; [INFO] [stdout] | ---------------- the const is available for `spl_token::state::Account` here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program::program_pack::Pack; [INFO] [stdout] | ----------------------------------------------- `Pack` imported here doesn't correspond to the right version of crate `solana_program` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ---------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpack` found for struct `spl_token::state::Account` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:455:36 [INFO] [stdout] | [INFO] [stdout] 455 | spl_token::state::Account::unpack(buf) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Account` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 29 | / fn unpack(input: &[u8]) -> Result [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | Self: IsInitialized, [INFO] [stdout] | |____________________________- the associated function is available for `spl_token::state::Account` here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program::program_pack::Pack; [INFO] [stdout] | ----------------------------------------------- `Pack` imported here doesn't correspond to the right version of crate `solana_program` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ---------------------- this is the trait that was imported [INFO] [stdout] help: there is an associated function `pack` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn pack(src: Self, dst: &mut [u8]) -> Result<(), ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 464 | fn owner() -> Pubkey { [INFO] [stdout] | ------ expected `anchor_lang::prelude::Pubkey` because of return type [INFO] [stdout] 465 | ID [INFO] [stdout] | ^^ expected `anchor_lang::prelude::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `Pubkey` and `anchor_lang::prelude::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `LEN` found for struct `spl_token::state::Mint` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:481:52 [INFO] [stdout] | [INFO] [stdout] 481 | pub const LEN: usize = spl_token::state::Mint::LEN; [INFO] [stdout] | ^^^ associated item not found in `Mint` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] 16 | /// The length, in bytes, of the packed representation [INFO] [stdout] 17 | const LEN: usize; [INFO] [stdout] | ---------------- the const is available for `spl_token::state::Mint` here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program::program_pack::Pack; [INFO] [stdout] | ----------------------------------------------- `Pack` imported here doesn't correspond to the right version of crate `solana_program` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ---------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `unpack` found for struct `spl_token::state::Mint` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | spl_token::state::Mint::unpack(buf) [INFO] [stdout] | ^^^^^^ function or associated item not found in `Mint` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 29 | / fn unpack(input: &[u8]) -> Result [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | Self: IsInitialized, [INFO] [stdout] | |____________________________- the associated function is available for `spl_token::state::Mint` here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program::program_pack::Pack; [INFO] [stdout] | ----------------------------------------------- `Pack` imported here doesn't correspond to the right version of crate `solana_program` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ---------------------- this is the trait that was imported [INFO] [stdout] help: there is an associated function `pack` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn pack(src: Self, dst: &mut [u8]) -> Result<(), ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 495 | fn owner() -> Pubkey { [INFO] [stdout] | ------ expected `anchor_lang::prelude::Pubkey` because of return type [INFO] [stdout] 496 | ID [INFO] [stdout] | ^^ expected `anchor_lang::prelude::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `Pubkey` and `anchor_lang::prelude::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 512 | fn id() -> Pubkey { [INFO] [stdout] | ------ expected `anchor_lang::prelude::Pubkey` because of return type [INFO] [stdout] 513 | ID [INFO] [stdout] | ^^ expected `anchor_lang::prelude::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `Pubkey` and `anchor_lang::prelude::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | let ix = spl_token_2022::instruction::transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 20 | ctx.accounts.from.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 21 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 22 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1357:8 [INFO] [stdout] | [INFO] [stdout] 1357 | pub fn transfer( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 17 | #[allow(deprecated)] [INFO] [stdout] 18 | let ix = spl_token_2022::instruction::transfer( [INFO] [stdout] | ______________- [INFO] [stdout] 19 | | ctx.program.key, [INFO] [stdout] 20 | | ctx.accounts.from.key, [INFO] [stdout] 21 | | ctx.accounts.to.key, [INFO] [stdout] ... | [INFO] [stdout] 24 | | amount, [INFO] [stdout] 25 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 27 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | let ix = spl_token_2022::instruction::transfer_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 41 | ctx.accounts.from.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 42 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 43 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 44 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1627:8 [INFO] [stdout] | [INFO] [stdout] 1627 | pub fn transfer_checked( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 39 | let ix = spl_token_2022::instruction::transfer_checked( [INFO] [stdout] | ______________- [INFO] [stdout] 40 | | ctx.program.key, [INFO] [stdout] 41 | | ctx.accounts.from.key, [INFO] [stdout] 42 | | ctx.accounts.mint.key, [INFO] [stdout] ... | [INFO] [stdout] 47 | | decimals, [INFO] [stdout] 48 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 50 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let ix = spl_token_2022::instruction::mint_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 68 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 69 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 70 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1479:8 [INFO] [stdout] | [INFO] [stdout] 1479 | pub fn mint_to( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 66 | let ix = spl_token_2022::instruction::mint_to( [INFO] [stdout] | ______________- [INFO] [stdout] 67 | | ctx.program.key, [INFO] [stdout] 68 | | ctx.accounts.mint.key, [INFO] [stdout] 69 | | ctx.accounts.to.key, [INFO] [stdout] ... | [INFO] [stdout] 72 | | amount, [INFO] [stdout] 73 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 75 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let ix = spl_token_2022::instruction::burn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 85 | ctx.accounts.from.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 86 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 87 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1509:8 [INFO] [stdout] | [INFO] [stdout] 1509 | pub fn burn( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn burn<'info>(ctx: CpiContext<'_, '_, '_, 'info, Burn<'info>>, amount: u64) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 83 | let ix = spl_token_2022::instruction::burn( [INFO] [stdout] | ______________- [INFO] [stdout] 84 | | ctx.program.key, [INFO] [stdout] 85 | | ctx.accounts.from.key, [INFO] [stdout] 86 | | ctx.accounts.mint.key, [INFO] [stdout] ... | [INFO] [stdout] 89 | | amount, [INFO] [stdout] 90 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 92 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | let ix = spl_token_2022::instruction::approve( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 105 | ctx.accounts.to.key, [INFO] [stdout] | ------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 106 | ctx.accounts.delegate.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 107 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1388:8 [INFO] [stdout] | [INFO] [stdout] 1388 | pub fn approve( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:110:6 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 103 | let ix = spl_token_2022::instruction::approve( [INFO] [stdout] | ______________- [INFO] [stdout] 104 | | ctx.program.key, [INFO] [stdout] 105 | | ctx.accounts.to.key, [INFO] [stdout] 106 | | ctx.accounts.delegate.key, [INFO] [stdout] ... | [INFO] [stdout] 109 | | amount, [INFO] [stdout] 110 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 112 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | let ix = spl_token_2022::instruction::revoke( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 126 | ctx.accounts.source.key, [INFO] [stdout] | ----------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 127 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1418:8 [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn revoke( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn revoke<'info>(ctx: CpiContext<'_, '_, '_, 'info, Revoke<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 124 | let ix = spl_token_2022::instruction::revoke( [INFO] [stdout] | ______________- [INFO] [stdout] 125 | | ctx.program.key, [INFO] [stdout] 126 | | ctx.accounts.source.key, [INFO] [stdout] 127 | | ctx.accounts.authority.key, [INFO] [stdout] 128 | | &[], [INFO] [stdout] 129 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 131 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let ix = spl_token_2022::instruction::initialize_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 143 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 144 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 145 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1219:8 [INFO] [stdout] | [INFO] [stdout] 1219 | pub fn initialize_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 140 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 141 | let ix = spl_token_2022::instruction::initialize_account( [INFO] [stdout] | ______________- [INFO] [stdout] 142 | | ctx.program.key, [INFO] [stdout] 143 | | ctx.accounts.account.key, [INFO] [stdout] 144 | | ctx.accounts.mint.key, [INFO] [stdout] 145 | | ctx.accounts.authority.key, [INFO] [stdout] 146 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | anchor_lang::solana_program::program::invoke( [INFO] [stdout] | -------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 148 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | let ix = spl_token_2022::instruction::initialize_account3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 164 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 165 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 166 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1269:8 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn initialize_account3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 161 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 162 | let ix = spl_token_2022::instruction::initialize_account3( [INFO] [stdout] | ______________- [INFO] [stdout] 163 | | ctx.program.key, [INFO] [stdout] 164 | | ctx.accounts.account.key, [INFO] [stdout] 165 | | ctx.accounts.mint.key, [INFO] [stdout] 166 | | ctx.accounts.authority.key, [INFO] [stdout] 167 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:168:50 [INFO] [stdout] | [INFO] [stdout] 168 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.account, ctx.accounts.mint]) [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | let ix = spl_token_2022::instruction::close_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 175 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 176 | ctx.accounts.destination.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 177 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1539:8 [INFO] [stdout] | [INFO] [stdout] 1539 | pub fn close_account( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:179:6 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn close_account<'info>(ctx: CpiContext<'_, '_, '_, 'info, CloseAccount<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 173 | let ix = spl_token_2022::instruction::close_account( [INFO] [stdout] | ______________- [INFO] [stdout] 174 | | ctx.program.key, [INFO] [stdout] 175 | | ctx.accounts.account.key, [INFO] [stdout] 176 | | ctx.accounts.destination.key, [INFO] [stdout] 177 | | ctx.accounts.authority.key, [INFO] [stdout] 178 | | &[], // TODO: support multisig [INFO] [stdout] 179 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 180 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 181 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | let ix = spl_token_2022::instruction::freeze_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 197 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 198 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 199 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1568:8 [INFO] [stdout] | [INFO] [stdout] 1568 | pub fn freeze_account( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:201:6 [INFO] [stdout] | [INFO] [stdout] 194 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 195 | let ix = spl_token_2022::instruction::freeze_account( [INFO] [stdout] | ______________- [INFO] [stdout] 196 | | ctx.program.key, [INFO] [stdout] 197 | | ctx.accounts.account.key, [INFO] [stdout] 198 | | ctx.accounts.mint.key, [INFO] [stdout] 199 | | ctx.accounts.authority.key, [INFO] [stdout] 200 | | &[], // TODO: Support multisig signers. [INFO] [stdout] 201 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 203 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | let ix = spl_token_2022::instruction::thaw_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 216 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 217 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 218 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 219 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1597:8 [INFO] [stdout] | [INFO] [stdout] 1597 | pub fn thaw_account( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:221:6 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn thaw_account<'info>(ctx: CpiContext<'_, '_, '_, 'info, ThawAccount<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 215 | let ix = spl_token_2022::instruction::thaw_account( [INFO] [stdout] | ______________- [INFO] [stdout] 216 | | ctx.program.key, [INFO] [stdout] 217 | | ctx.accounts.account.key, [INFO] [stdout] 218 | | ctx.accounts.mint.key, [INFO] [stdout] 219 | | ctx.accounts.authority.key, [INFO] [stdout] 220 | | &[], // TODO: Support multisig signers. [INFO] [stdout] 221 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 223 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:240:14 [INFO] [stdout] | [INFO] [stdout] 240 | let ix = spl_token_2022::instruction::initialize_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 242 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 243 | authority, [INFO] [stdout] | --------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | freeze_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1164:8 [INFO] [stdout] | [INFO] [stdout] 1164 | pub fn initialize_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:246:6 [INFO] [stdout] | [INFO] [stdout] 239 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 240 | let ix = spl_token_2022::instruction::initialize_mint( [INFO] [stdout] | ______________- [INFO] [stdout] 241 | | ctx.program.key, [INFO] [stdout] 242 | | ctx.accounts.mint.key, [INFO] [stdout] 243 | | authority, [INFO] [stdout] 244 | | freeze_authority, [INFO] [stdout] 245 | | decimals, [INFO] [stdout] 246 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:247:50 [INFO] [stdout] | [INFO] [stdout] 247 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.mint, ctx.accounts.rent]) [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | let ix = spl_token_2022::instruction::initialize_mint2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 258 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 259 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 260 | authority, [INFO] [stdout] | --------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | freeze_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1193:8 [INFO] [stdout] | [INFO] [stdout] 1193 | pub fn initialize_mint2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:263:6 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 257 | let ix = spl_token_2022::instruction::initialize_mint2( [INFO] [stdout] | ______________- [INFO] [stdout] 258 | | ctx.program.key, [INFO] [stdout] 259 | | ctx.accounts.mint.key, [INFO] [stdout] 260 | | authority, [INFO] [stdout] 261 | | freeze_authority, [INFO] [stdout] 262 | | decimals, [INFO] [stdout] 263 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.mint]).map_err(Into::into) [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:277:14 [INFO] [stdout] | [INFO] [stdout] 277 | let ix = spl_token_2022::instruction::set_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 278 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 279 | ctx.accounts.account_or_mint.key, [INFO] [stdout] | -------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] ... [INFO] [stdout] 282 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | spl_new_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1445:8 [INFO] [stdout] | [INFO] [stdout] 1445 | pub fn set_authority( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:284:6 [INFO] [stdout] | [INFO] [stdout] 271 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 277 | let ix = spl_token_2022::instruction::set_authority( [INFO] [stdout] | ______________- [INFO] [stdout] 278 | | ctx.program.key, [INFO] [stdout] 279 | | ctx.accounts.account_or_mint.key, [INFO] [stdout] 280 | | spl_new_authority, [INFO] [stdout] ... | [INFO] [stdout] 283 | | &[], // TODO: Support multisig signers. [INFO] [stdout] 284 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 285 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 286 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 294 | let ix = spl_token_2022::instruction::sync_native(ctx.program.key, ctx.accounts.account.key)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------- ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | | [INFO] [stdout] | expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1756:8 [INFO] [stdout] | [INFO] [stdout] 1756 | pub fn sync_native( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:294:97 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn sync_native<'info>(ctx: CpiContext<'_, '_, '_, 'info, SyncNative<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 294 | let ix = spl_token_2022::instruction::sync_native(ctx.program.key, ctx.accounts.account.key)?; [INFO] [stdout] | -----------------------------------------------------------------------------------^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:295:50 [INFO] [stdout] | [INFO] [stdout] 295 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.account]).map_err(Into::into) [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | let ix = spl_token_2022::instruction::get_account_data_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 303 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 304 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1770:8 [INFO] [stdout] | [INFO] [stdout] 1770 | pub fn get_account_data_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:306:6 [INFO] [stdout] | [INFO] [stdout] 301 | ) -> Result { [INFO] [stdout] | ----------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 302 | let ix = spl_token_2022::instruction::get_account_data_size( [INFO] [stdout] | ______________- [INFO] [stdout] 303 | | ctx.program.key, [INFO] [stdout] 304 | | ctx.accounts.mint.key, [INFO] [stdout] 305 | | extension_types, [INFO] [stdout] 306 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:307:50 [INFO] [stdout] | [INFO] [stdout] 307 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.mint])?; [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | let ix = spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 327 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 328 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | close_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1787:8 [INFO] [stdout] | [INFO] [stdout] 1787 | pub fn initialize_mint_close_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:330:6 [INFO] [stdout] | [INFO] [stdout] 325 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 326 | let ix = spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] | ______________- [INFO] [stdout] 327 | | ctx.program.key, [INFO] [stdout] 328 | | ctx.accounts.mint.key, [INFO] [stdout] 329 | | close_authority, [INFO] [stdout] 330 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:331:50 [INFO] [stdout] | [INFO] [stdout] 331 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.mint]).map_err(Into::into) [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | let ix = spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 338 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 339 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1802:8 [INFO] [stdout] | [INFO] [stdout] 1802 | pub fn initialize_immutable_owner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:340:6 [INFO] [stdout] | [INFO] [stdout] 336 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 337 | let ix = spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] | ______________- [INFO] [stdout] 338 | | ctx.program.key, [INFO] [stdout] 339 | | ctx.accounts.account.key, [INFO] [stdout] 340 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:341:50 [INFO] [stdout] | [INFO] [stdout] 341 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.account]).map_err(Into::into) [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 348 | let ix = spl_token_2022::instruction::amount_to_ui_amount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 349 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 350 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1815:8 [INFO] [stdout] | [INFO] [stdout] 1815 | pub fn amount_to_ui_amount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:352:6 [INFO] [stdout] | [INFO] [stdout] 347 | ) -> Result { [INFO] [stdout] | -------------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 348 | let ix = spl_token_2022::instruction::amount_to_ui_amount( [INFO] [stdout] | ______________- [INFO] [stdout] 349 | | ctx.program.key, [INFO] [stdout] 350 | | ctx.accounts.account.key, [INFO] [stdout] 351 | | amount, [INFO] [stdout] 352 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:353:50 [INFO] [stdout] | [INFO] [stdout] 353 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.account])?; [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | let ix = spl_token_2022::instruction::ui_amount_to_amount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 373 | ctx.program.key, [INFO] [stdout] | --------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 374 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1830:8 [INFO] [stdout] | [INFO] [stdout] 1830 | pub fn ui_amount_to_amount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:376:6 [INFO] [stdout] | [INFO] [stdout] 371 | ) -> Result { [INFO] [stdout] | ----------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 372 | let ix = spl_token_2022::instruction::ui_amount_to_amount( [INFO] [stdout] | ______________- [INFO] [stdout] 373 | | ctx.program.key, [INFO] [stdout] 374 | | ctx.accounts.account.key, [INFO] [stdout] 375 | | ui_amount, [INFO] [stdout] 376 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:377:50 [INFO] [stdout] | [INFO] [stdout] 377 | anchor_lang::solana_program::program::invoke(&ix, &[ctx.accounts.account])?; [INFO] [stdout] | -------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 521 | fn id() -> Pubkey { [INFO] [stdout] | ------ expected `anchor_lang::prelude::Pubkey` because of return type [INFO] [stdout] 522 | ID [INFO] [stdout] | ^^ expected `anchor_lang::prelude::Pubkey`, found `Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `Pubkey` and `anchor_lang::prelude::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/cpi_guard.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | let ix = spl_token_2022::extension::cpi_guard::instruction::enable_cpi_guard( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 9 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 10 | ctx.accounts.account.owner, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/cpi_guard/instruction.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn enable_cpi_guard( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/cpi_guard.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cpi_guard_enable<'info>(ctx: CpiContext<'_, '_, '_, 'info, CpiGuard<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 7 | let ix = spl_token_2022::extension::cpi_guard::instruction::enable_cpi_guard( [INFO] [stdout] | ______________- [INFO] [stdout] 8 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 9 | | ctx.accounts.account.key, [INFO] [stdout] 10 | | ctx.accounts.account.owner, [INFO] [stdout] 11 | | &[], [INFO] [stdout] 12 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/cpi_guard.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 14 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/cpi_guard.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let ix = spl_token_2022::extension::cpi_guard::instruction::disable_cpi_guard( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 28 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 29 | ctx.accounts.account.owner, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/cpi_guard/instruction.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn disable_cpi_guard( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/cpi_guard.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn cpi_guard_disable<'info>(ctx: CpiContext<'_, '_, '_, 'info, CpiGuard<'info>>) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 26 | let ix = spl_token_2022::extension::cpi_guard::instruction::disable_cpi_guard( [INFO] [stdout] | ______________- [INFO] [stdout] 27 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 28 | | ctx.accounts.account.key, [INFO] [stdout] 29 | | ctx.accounts.account.owner, [INFO] [stdout] 30 | | &[], [INFO] [stdout] 31 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/cpi_guard.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 34 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/default_account_state.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_2022::extension::default_account_state::instruction::initialize_default_account_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/default_account_state/instruction.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn initialize_default_account_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/default_account_state.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 11 | let ix = spl_token_2022::extension::default_account_state::instruction::initialize_default_account_state( [INFO] [stdout] | ______________- [INFO] [stdout] 12 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 13 | | ctx.accounts.mint.key, [INFO] [stdout] 14 | | state [INFO] [stdout] 15 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/default_account_state.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 17 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/default_account_state.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let ix = spl_token_2022::extension::default_account_state::instruction::update_default_account_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 36 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 37 | ctx.accounts.freeze_authority.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/default_account_state/instruction.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn update_default_account_state( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/default_account_state.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 34 | let ix = spl_token_2022::extension::default_account_state::instruction::update_default_account_state( [INFO] [stdout] | ______________- [INFO] [stdout] 35 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 36 | | ctx.accounts.mint.key, [INFO] [stdout] 37 | | ctx.accounts.freeze_authority.key, [INFO] [stdout] 38 | | &[], [INFO] [stdout] 39 | | state [INFO] [stdout] 40 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/default_account_state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 43 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_2022::extension::group_member_pointer::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | authority, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | member_address, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/group_member_pointer/instruction.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 11 | let ix = spl_token_2022::extension::group_member_pointer::instruction::initialize( [INFO] [stdout] | ______________- [INFO] [stdout] 12 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 13 | | ctx.accounts.mint.key, [INFO] [stdout] 14 | | authority, [INFO] [stdout] 15 | | member_address, [INFO] [stdout] 16 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 18 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let ix = spl_token_2022::extension::group_member_pointer::instruction::update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 37 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 38 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | member_address, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/group_member_pointer/instruction.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 35 | let ix = spl_token_2022::extension::group_member_pointer::instruction::update( [INFO] [stdout] | ______________- [INFO] [stdout] 36 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 37 | | ctx.accounts.mint.key, [INFO] [stdout] 38 | | ctx.accounts.authority.key, [INFO] [stdout] 39 | | &[], [INFO] [stdout] 40 | | member_address, [INFO] [stdout] 41 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_member_pointer.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 43 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_2022::extension::group_pointer::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | authority, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | group_address, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/group_pointer/instruction.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 11 | let ix = spl_token_2022::extension::group_pointer::instruction::initialize( [INFO] [stdout] | ______________- [INFO] [stdout] 12 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 13 | | ctx.accounts.mint.key, [INFO] [stdout] 14 | | authority, [INFO] [stdout] 15 | | group_address, [INFO] [stdout] 16 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 18 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | &[ctx.accounts.authority.key], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let ix = spl_token_2022::extension::group_pointer::instruction::update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 37 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 38 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | group_address, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/group_pointer/instruction.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 35 | let ix = spl_token_2022::extension::group_pointer::instruction::update( [INFO] [stdout] | ______________- [INFO] [stdout] 36 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 37 | | ctx.accounts.mint.key, [INFO] [stdout] 38 | | ctx.accounts.authority.key, [INFO] [stdout] 39 | | &[ctx.accounts.authority.key], [INFO] [stdout] 40 | | group_address, [INFO] [stdout] 41 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/group_pointer.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 43 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/immutable_owner.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let ix = spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 11 | ctx.accounts.token_account.key, [INFO] [stdout] | ------------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1802:8 [INFO] [stdout] | [INFO] [stdout] 1802 | pub fn initialize_immutable_owner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/immutable_owner.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 9 | let ix = spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] | ______________- [INFO] [stdout] 10 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 11 | | ctx.accounts.token_account.key, [INFO] [stdout] 12 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/immutable_owner.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 14 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_2022::extension::interest_bearing_mint::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | rate_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/interest_bearing_mint/instruction.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 11 | let ix = spl_token_2022::extension::interest_bearing_mint::instruction::initialize( [INFO] [stdout] | ______________- [INFO] [stdout] 12 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 13 | | ctx.accounts.mint.key, [INFO] [stdout] 14 | | rate_authority, [INFO] [stdout] 15 | | rate, [INFO] [stdout] 16 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 18 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let ix = spl_token_2022::extension::interest_bearing_mint::instruction::update_rate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 37 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 38 | ctx.accounts.rate_authority.key, [INFO] [stdout] | ------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/interest_bearing_mint/instruction.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn update_rate( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 35 | let ix = spl_token_2022::extension::interest_bearing_mint::instruction::update_rate( [INFO] [stdout] | ______________- [INFO] [stdout] 36 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 37 | | ctx.accounts.mint.key, [INFO] [stdout] 38 | | ctx.accounts.rate_authority.key, [INFO] [stdout] 39 | | &[], [INFO] [stdout] 40 | | rate, [INFO] [stdout] 41 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/interest_bearing_mint.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 43 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/memo_transfer.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let ix = spl_token_2022::extension::memo_transfer::instruction::enable_required_transfer_memos( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 11 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 12 | ctx.accounts.owner.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/memo_transfer/instruction.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn enable_required_transfer_memos( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/memo_transfer.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 9 | let ix = spl_token_2022::extension::memo_transfer::instruction::enable_required_transfer_memos( [INFO] [stdout] | ______________- [INFO] [stdout] 10 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 11 | | ctx.accounts.account.key, [INFO] [stdout] 12 | | ctx.accounts.owner.key, [INFO] [stdout] 13 | | &[], [INFO] [stdout] 14 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/memo_transfer.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 16 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/memo_transfer.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | spl_token_2022::extension::memo_transfer::instruction::disable_required_transfer_memos( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 33 | ctx.accounts.account.key, [INFO] [stdout] | ------------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 34 | ctx.accounts.owner.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/memo_transfer/instruction.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn disable_required_transfer_memos( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/memo_transfer.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 30 | let ix = [INFO] [stdout] 31 | / spl_token_2022::extension::memo_transfer::instruction::disable_required_transfer_memos( [INFO] [stdout] 32 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 33 | | ctx.accounts.account.key, [INFO] [stdout] 34 | | ctx.accounts.owner.key, [INFO] [stdout] 35 | | &[], [INFO] [stdout] 36 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/memo_transfer.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 38 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/metadata_pointer.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_2022::extension::metadata_pointer::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/metadata_pointer.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | authority, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/metadata_pointer.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | metadata_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/metadata_pointer/instruction.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/metadata_pointer.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 11 | let ix = spl_token_2022::extension::metadata_pointer::instruction::initialize( [INFO] [stdout] | ______________- [INFO] [stdout] 12 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 13 | | ctx.accounts.mint.key, [INFO] [stdout] 14 | | authority, [INFO] [stdout] 15 | | metadata_address, [INFO] [stdout] 16 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/metadata_pointer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 18 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/mint_close_authority.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | let ix = spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 12 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/mint_close_authority.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | authority, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1787:8 [INFO] [stdout] | [INFO] [stdout] 1787 | pub fn initialize_mint_close_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/mint_close_authority.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 10 | let ix = spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] | ______________- [INFO] [stdout] 11 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 12 | | ctx.accounts.mint.key, [INFO] [stdout] 13 | | authority, [INFO] [stdout] 14 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/mint_close_authority.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 16 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/non_transferable.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | let ix = spl_token_2022::instruction::initialize_non_transferable_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 11 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1896:8 [INFO] [stdout] | [INFO] [stdout] 1896 | pub fn initialize_non_transferable_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/non_transferable.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 9 | let ix = spl_token_2022::instruction::initialize_non_transferable_mint( [INFO] [stdout] | ______________- [INFO] [stdout] 10 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 11 | | ctx.accounts.mint.key, [INFO] [stdout] 12 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/non_transferable.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 14 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/permanent_delegate.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | let ix = spl_token_2022::instruction::initialize_permanent_delegate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 12 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | permanent_delegate, [INFO] [stdout] | ------------------ expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/instruction.rs:1909:8 [INFO] [stdout] | [INFO] [stdout] 1909 | pub fn initialize_permanent_delegate( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/permanent_delegate.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 10 | let ix = spl_token_2022::instruction::initialize_permanent_delegate( [INFO] [stdout] | ______________- [INFO] [stdout] 11 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 12 | | ctx.accounts.mint.key, [INFO] [stdout] 13 | | permanent_delegate, [INFO] [stdout] 14 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/permanent_delegate.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 16 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_group.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_group_interface::instruction::initialize_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.group.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 14 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 15 | ctx.accounts.mint_authority.key, [INFO] [stdout] | ------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_group.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | update_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-group-interface-0.2.4/src/instruction.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn initialize_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_group.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 20 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_group.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | let ix = spl_token_group_interface::instruction::initialize_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 45 | ctx.accounts.member.key, [INFO] [stdout] | ----------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 46 | ctx.accounts.member_mint.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 47 | ctx.accounts.member_mint_authority.key, [INFO] [stdout] | -------------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 48 | ctx.accounts.group.key, [INFO] [stdout] | ---------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 49 | ctx.accounts.group_update_authority.key, [INFO] [stdout] | --------------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-group-interface-0.2.4/src/instruction.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn initialize_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_group.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 52 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_metadata.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let ix = spl_token_metadata_interface::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 17 | ctx.accounts.metadata.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 18 | ctx.accounts.update_authority.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 19 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 20 | ctx.accounts.mint_authority.key, [INFO] [stdout] | ------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-metadata-interface-0.3.4/src/instruction.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_metadata.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 26 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_metadata.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let ix = spl_token_metadata_interface::instruction::update_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 54 | ctx.accounts.metadata.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 55 | ctx.accounts.current_authority.key, [INFO] [stdout] | ---------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-metadata-interface-0.3.4/src/instruction.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn update_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_metadata.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 59 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_metadata.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | let ix = spl_token_metadata_interface::instruction::update_field( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 85 | ctx.accounts.metadata.key, [INFO] [stdout] | ------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 86 | ctx.accounts.update_authority.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-metadata-interface-0.3.4/src/instruction.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn update_field( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/token_metadata.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 91 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | let ix = spl_token_2022::extension::transfer_fee::instruction::initialize_transfer_fee_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 15 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | transfer_fee_config_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | withdraw_withheld_authority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_fee/instruction.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn initialize_transfer_fee_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 13 | let ix = spl_token_2022::extension::transfer_fee::instruction::initialize_transfer_fee_config( [INFO] [stdout] | ______________- [INFO] [stdout] 14 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 15 | | ctx.accounts.mint.key, [INFO] [stdout] 16 | | transfer_fee_config_authority, [INFO] [stdout] ... | [INFO] [stdout] 19 | | maximum_fee, [INFO] [stdout] 20 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 22 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let ix = spl_token_2022::extension::transfer_fee::instruction::set_transfer_fee( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 42 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 43 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_fee/instruction.rs:394:8 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn set_transfer_fee( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 39 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 40 | let ix = spl_token_2022::extension::transfer_fee::instruction::set_transfer_fee( [INFO] [stdout] | ______________- [INFO] [stdout] 41 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 42 | | ctx.accounts.mint.key, [INFO] [stdout] 43 | | ctx.accounts.authority.key, [INFO] [stdout] ... | [INFO] [stdout] 46 | | maximum_fee, [INFO] [stdout] 47 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 49 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | let ix = spl_token_2022::extension::transfer_fee::instruction::transfer_checked_with_fee( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 75 | ctx.accounts.source.key, [INFO] [stdout] | ----------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 76 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 77 | ctx.accounts.destination.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 78 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_fee/instruction.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn transfer_checked_with_fee( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 72 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 73 | let ix = spl_token_2022::extension::transfer_fee::instruction::transfer_checked_with_fee( [INFO] [stdout] | ______________- [INFO] [stdout] 74 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 75 | | ctx.accounts.source.key, [INFO] [stdout] 76 | | ctx.accounts.mint.key, [INFO] [stdout] ... | [INFO] [stdout] 82 | | fee, [INFO] [stdout] 83 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 85 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let ix = spl_token_2022::extension::transfer_fee::instruction::harvest_withheld_tokens_to_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 113 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | sources.iter().map(|a| a.key).collect::>().as_slice(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_fee/instruction.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn harvest_withheld_tokens_to_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 110 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 111 | let ix = spl_token_2022::extension::transfer_fee::instruction::harvest_withheld_tokens_to_mint( [INFO] [stdout] | ______________- [INFO] [stdout] 112 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 113 | | ctx.accounts.mint.key, [INFO] [stdout] 114 | | sources.iter().map(|a| a.key).collect::>().as_slice(), [INFO] [stdout] 115 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:120:57 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::solana_program::program::invoke_signed(&ix, &account_infos, ctx.signer_seeds) [INFO] [stdout] | --------------------------------------------------- ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | spl_token_2022::extension::transfer_fee::instruction::withdraw_withheld_tokens_from_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 136 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 137 | ctx.accounts.destination.key, [INFO] [stdout] | ---------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 138 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_fee/instruction.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn withdraw_withheld_tokens_from_mint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 132 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 133 | let ix = [INFO] [stdout] 134 | / spl_token_2022::extension::transfer_fee::instruction::withdraw_withheld_tokens_from_mint( [INFO] [stdout] 135 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 136 | | ctx.accounts.mint.key, [INFO] [stdout] 137 | | ctx.accounts.destination.key, [INFO] [stdout] 138 | | ctx.accounts.authority.key, [INFO] [stdout] 139 | | &[], [INFO] [stdout] 140 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_fee.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 142 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let ix = spl_token_2022::extension::transfer_hook::instruction::initialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 13 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | authority, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | transfer_hook_program_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_hook/instruction.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn initialize( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 10 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 11 | let ix = spl_token_2022::extension::transfer_hook::instruction::initialize( [INFO] [stdout] | ______________- [INFO] [stdout] 12 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 13 | | ctx.accounts.mint.key, [INFO] [stdout] 14 | | authority, [INFO] [stdout] 15 | | transfer_hook_program_id, [INFO] [stdout] 16 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 18 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let ix = spl_token_2022::extension::transfer_hook::instruction::update( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | ctx.accounts.token_program_id.key, [INFO] [stdout] | --------------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 37 | ctx.accounts.mint.key, [INFO] [stdout] | --------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] 38 | ctx.accounts.authority.key, [INFO] [stdout] | -------------------------- expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: expected `Pubkey`, found `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | transfer_hook_program_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `anchor_lang::prelude::Pubkey` and `Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/pubkey.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/pubkey.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-3.0.3/src/extension/transfer_hook/instruction.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 35 | let ix = spl_token_2022::extension::transfer_hook::instruction::update( [INFO] [stdout] | ______________- [INFO] [stdout] 36 | | ctx.accounts.token_program_id.key, [INFO] [stdout] 37 | | ctx.accounts.mint.key, [INFO] [stdout] 38 | | ctx.accounts.authority.key, [INFO] [stdout] 39 | | &[], [INFO] [stdout] 40 | | transfer_hook_program_id, [INFO] [stdout] 41 | | )?; [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_2022_extensions/transfer_hook.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | anchor_lang::solana_program::program::invoke_signed( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 43 | &ix, [INFO] [stdout] | ^^^ expected `Instruction`, found a different `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` and `Instruction` have similar names, but are actually distinct types [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/instruction.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Instruction` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/instruction.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `solana_program` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / spl_token_2022::extension::StateWithExtensions::::unpack( [INFO] [stdout] 22 | | buf, [INFO] [stdout] 23 | | ) [INFO] [stdout] 24 | | .map(|t| TokenAccount(t.base)) [INFO] [stdout] 25 | | .map_err(Into::into) [INFO] [stdout] | |____________________________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `spl_associated_token_account::solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | .map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `spl_associated_token_account::solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / spl_token_2022::extension::StateWithExtensions::::unpack(buf) [INFO] [stdout] 51 | | .map(|t| Mint(t.base)) [INFO] [stdout] 52 | | .map_err(Into::into) [INFO] [stdout] | |________________________________^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `spl_associated_token_account::solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::error::Error: From` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | .map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `spl_associated_token_account::solana_program::program_error::ProgramError` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn find_mint_account_size(extensions: Option<&ExtensionsVec>) -> anchor_lang::Result { [INFO] [stdout] | -------------------------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 84 | if let Some(extensions) = extensions { [INFO] [stdout] 85 | Ok(ExtensionType::try_calculate_account_len::< [INFO] [stdout] | ____________- [INFO] [stdout] 86 | | spl_token_2022::state::Mint, [INFO] [stdout] 87 | | >(extensions)?) [INFO] [stdout] | | -^ unsatisfied trait bound [INFO] [stdout] | |_____________________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `LEN` found for struct `spl_token_2022::state::Mint` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(spl_token_2022::state::Mint::LEN) [INFO] [stdout] | ^^^ associated item not found in `Mint` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-2.0.11/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] 16 | /// The length, in bytes, of the packed representation [INFO] [stdout] 17 | const LEN: usize; [INFO] [stdout] | ---------------- the const is available for `spl_token_2022::state::Mint` here [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::solana_program::program_pack::Pack; [INFO] [stdout] | ----------------------------------------------- `Pack` imported here doesn't correspond to the right version of crate `solana_program` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.17.3/src/program_pack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Pack: Sealed { [INFO] [stdout] | ---------------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:98:79 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> anchor_lang::Result { [INFO] [stdout] | ---------------------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 98 | StateWithExtensions::::unpack(&mint_data)?; [INFO] [stdout] | ----------------------------------------------------------------------^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-spl-0.30.1/src/token_interface.rs:99:67 [INFO] [stdout] | [INFO] [stdout] 95 | ) -> anchor_lang::Result { [INFO] [stdout] | ---------------------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 99 | let extension_data = *mint_with_extension.get_extension::()?; [INFO] [stdout] | --------------------^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, spl_associated_token_account::solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `anchor_lang::error::Error` [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] = note: required for `std::result::Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor-spl` (lib) due to 213 previous errors [INFO] running `Command { std: "docker" "inspect" "4a0966ab7f2fef54e20722b553f707eedd111b41d8a8f8775d22e538aa185d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a0966ab7f2fef54e20722b553f707eedd111b41d8a8f8775d22e538aa185d62", kill_on_drop: false }` [INFO] [stdout] 4a0966ab7f2fef54e20722b553f707eedd111b41d8a8f8775d22e538aa185d62