[INFO] cloning repository https://github.com/rajarajeshvar/yieldsense [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rajarajeshvar/yieldsense" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajarajeshvar%2Fyieldsense", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajarajeshvar%2Fyieldsense'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a90a62e9ef99d8a83e631facf5e3021c3dfc87be [INFO] checking rajarajeshvar/yieldsense/a90a62e9ef99d8a83e631facf5e3021c3dfc87be against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajarajeshvar%2Fyieldsense" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rajarajeshvar/yieldsense [INFO] finished tweaking git repo https://github.com/rajarajeshvar/yieldsense [INFO] tweaked toml for git repo https://github.com/rajarajeshvar/yieldsense written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rajarajeshvar/yieldsense on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rajarajeshvar/yieldsense 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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-signature v2.2.1 [INFO] [stderr] Downloaded solana-security-txt v1.1.2 [INFO] [stderr] Downloaded solana-sdk-ids v3.1.0 [INFO] [stderr] Downloaded solana-sysvar-id v3.1.0 [INFO] [stderr] Downloaded solana-program v3.0.0 [INFO] [stderr] Downloaded zmij v1.0.10 [INFO] [stderr] Downloaded solana-epoch-stake v3.0.0 [INFO] [stderr] Downloaded solana-short-vec v3.1.0 [INFO] [stderr] Downloaded solana-pubkey v3.0.0 [INFO] [stderr] Downloaded solana-clock v3.0.0 [INFO] [stderr] Downloaded solana-last-restart-slot v3.0.0 [INFO] [stderr] Downloaded solana-program-entrypoint v3.1.1 [INFO] [stderr] Downloaded solana-sysvar v3.1.1 [INFO] [stderr] Downloaded solana-transaction-error v3.0.0 [INFO] [stderr] Downloaded solana-secp256k1-recover v3.1.0 [INFO] [stderr] Downloaded five8 v1.0.0 [INFO] [stderr] Downloaded solana-address v2.0.0 [INFO] [stderr] Downloaded solana-blake3-hasher v3.1.0 [INFO] [stderr] Downloaded spl-token-confidential-transfer-ciphertext-arithmetic v0.3.0 [INFO] [stderr] Downloaded solana-curve25519 v2.2.20 [INFO] [stderr] Downloaded solana-nonce v3.0.0 [INFO] [stderr] Downloaded solana-keccak-hasher v3.1.0 [INFO] [stderr] Downloaded solana-instruction-error v2.1.0 [INFO] [stderr] Downloaded solana-instruction v3.1.0 [INFO] [stderr] Downloaded mpl-token-metadata v5.1.1 [INFO] [stderr] Downloaded solana-slot-hashes v3.0.0 [INFO] [stderr] Downloaded solana-define-syscall v4.0.1 [INFO] [stderr] Downloaded solana-system-interface v2.0.0 [INFO] [stderr] Downloaded solana-instructions-sysvar v3.0.0 [INFO] [stderr] Downloaded solana-msg v3.0.0 [INFO] [stderr] Downloaded solana-serde-varint v3.0.0 [INFO] [stderr] Downloaded solana-epoch-rewards v3.0.0 [INFO] [stderr] Downloaded solana-fee-calculator v3.0.0 [INFO] [stderr] Downloaded solana-program-memory v3.1.0 [INFO] [stderr] Downloaded solana-pubkey v4.0.0 [INFO] [stderr] Downloaded solana-rent v3.1.0 [INFO] [stderr] Downloaded solana-sdk-macro v3.0.0 [INFO] [stderr] Downloaded solana-slot-history v3.0.0 [INFO] [stderr] Downloaded five8_const v1.0.0 [INFO] [stderr] Downloaded solana-program-error v3.0.0 [INFO] [stderr] Downloaded solana-sanitize v3.0.1 [INFO] [stderr] Downloaded solana-sha256-hasher v3.1.0 [INFO] [stderr] Downloaded spl-token-confidential-transfer-proof-generation v0.4.0 [INFO] [stderr] Downloaded solana-big-mod-exp v3.0.0 [INFO] [stderr] Downloaded solana-borsh v3.0.0 [INFO] [stderr] Downloaded solana-cpi v3.1.0 [INFO] [stderr] Downloaded solana-address-lookup-table-interface v3.0.0 [INFO] [stderr] Downloaded solana-example-mocks v3.0.0 [INFO] [stderr] Downloaded solana-native-token v3.0.0 [INFO] [stderr] Downloaded solana-program-pack v3.0.0 [INFO] [stderr] Downloaded solana-serialize-utils v3.1.0 [INFO] [stderr] Downloaded solana-address v1.1.0 [INFO] [stderr] Downloaded solana-stable-layout v3.0.0 [INFO] [stderr] Downloaded solana-epoch-schedule v3.0.0 [INFO] [stderr] Downloaded solana-account-info v3.1.0 [INFO] [stderr] Downloaded solana-hash v3.1.0 [INFO] [stderr] Downloaded solana-define-syscall v3.0.0 [INFO] [stderr] Downloaded solana-program-option v3.0.0 [INFO] [stderr] Downloaded solana-hash v4.0.1 [INFO] [stderr] Downloaded solana-message v3.0.1 [INFO] [stderr] Downloaded solana-atomic-u64 v3.0.0 [INFO] [stderr] Downloaded solana-pubkey v2.2.1 [INFO] [stderr] Downloaded solana-instruction v2.3.3 [INFO] [stderr] Downloaded solana-zk-sdk v2.2.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1049903c30adea9be401f15b8bb25437750dd4247d020250128facc5d3af298 [INFO] running `Command { std: "docker" "start" "-a" "b1049903c30adea9be401f15b8bb25437750dd4247d020250128facc5d3af298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1049903c30adea9be401f15b8bb25437750dd4247d020250128facc5d3af298", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1049903c30adea9be401f15b8bb25437750dd4247d020250128facc5d3af298", kill_on_drop: false }` [INFO] [stdout] b1049903c30adea9be401f15b8bb25437750dd4247d020250128facc5d3af298 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d093c888bd0a16edafa0c42cc2dd6e01b1828b8dd3a5f2ff973f8fe6c8602d9e [INFO] running `Command { std: "docker" "start" "-a" "d093c888bd0a16edafa0c42cc2dd6e01b1828b8dd3a5f2ff973f8fe6c8602d9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking solana-sanitize v2.2.1 [INFO] [stderr] Compiling zmij v1.0.10 [INFO] [stderr] Checking solana-atomic-u64 v2.2.1 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking five8 v0.2.1 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking solana-sanitize v3.0.1 [INFO] [stderr] Checking five8 v1.0.0 [INFO] [stderr] Checking solana-atomic-u64 v3.0.0 [INFO] [stderr] Checking solana-msg v2.2.1 [INFO] [stderr] Checking five8_const v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking solana-program-memory v2.3.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking solana-signature v2.2.1 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Checking solana-program-option v2.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking solana-program-memory v3.1.0 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking solana-native-token v2.3.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking solana-decode-error v2.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking solana-define-syscall v4.0.1 [INFO] [stderr] Checking solana-msg v3.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking solana-define-syscall v2.3.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking solana-derivation-path v2.2.1 [INFO] [stderr] Checking solana-native-token v3.0.0 [INFO] [stderr] Checking solana-program-option v3.0.0 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking solana-seed-derivable v2.2.1 [INFO] [stderr] Checking uint v0.10.0 [INFO] [stderr] Checking solana-security-txt v1.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking solana-short-vec v3.1.0 [INFO] [stderr] Checking solana-big-mod-exp v2.2.1 [INFO] [stderr] Checking solana-big-mod-exp v3.0.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling solana-sdk-macro v3.0.0 [INFO] [stderr] Compiling spl-program-error-derive v0.5.0 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling anchor-derive-space v0.32.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking solana-borsh v3.0.0 [INFO] [stderr] Checking solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking solana-hash v2.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking solana-hash v4.0.1 [INFO] [stderr] Checking solana-program-error v3.0.0 [INFO] [stderr] Checking solana-fee-calculator v2.2.1 [INFO] [stderr] Checking solana-short-vec v2.2.1 [INFO] [stderr] Checking solana-serde-varint v2.2.2 [INFO] [stderr] Checking solana-fee-calculator v3.0.0 [INFO] [stderr] Checking solana-serde-varint v3.0.0 [INFO] [stderr] Checking solana-instruction-error v2.1.0 [INFO] [stderr] Checking solana-program-pack v3.0.0 [INFO] [stderr] Checking solana-sha256-hasher v2.3.0 [INFO] [stderr] Checking solana-keccak-hasher v2.2.1 [INFO] [stderr] Checking solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-syn v0.32.1 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Checking solana-transaction-error v3.0.0 [INFO] [stderr] Checking solana-sha256-hasher v3.1.0 [INFO] [stderr] Checking solana-hash v3.1.0 [INFO] [stderr] Checking solana-keccak-hasher v3.1.0 [INFO] [stderr] Checking solana-blake3-hasher v3.1.0 [INFO] [stderr] Checking solana-secp256k1-recover v3.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Checking solana-address v2.0.0 [INFO] [stderr] Checking solana-curve25519 v2.2.20 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Checking solana-sdk-ids v3.1.0 [INFO] [stderr] Checking solana-address v1.1.0 [INFO] [stderr] Checking solana-pubkey v4.0.0 [INFO] [stderr] Checking solana-account-info v3.1.0 [INFO] [stderr] Checking solana-pubkey v3.0.0 [INFO] [stderr] Checking solana-sysvar-id v3.1.0 [INFO] [stderr] Checking solana-instruction v3.1.0 [INFO] [stderr] Checking solana-slot-hashes v3.0.0 [INFO] [stderr] Checking solana-clock v3.0.0 [INFO] [stderr] Checking solana-rent v3.1.0 [INFO] [stderr] Checking solana-slot-history v3.0.0 [INFO] [stderr] Checking solana-epoch-rewards v3.0.0 [INFO] [stderr] Checking solana-last-restart-slot v3.0.0 [INFO] [stderr] Checking solana-epoch-schedule v3.0.0 [INFO] [stderr] Checking solana-system-interface v2.0.0 [INFO] [stderr] Checking solana-serialize-utils v3.1.0 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking solana-nonce v3.0.0 [INFO] [stderr] Checking solana-epoch-stake v3.0.0 [INFO] [stderr] Checking solana-program-entrypoint v3.1.1 [INFO] [stderr] Checking solana-address-lookup-table-interface v3.0.0 [INFO] [stderr] Checking solana-pubkey v2.2.1 [INFO] [stderr] Checking solana-borsh v2.2.1 [INFO] [stderr] Checking solana-message v3.0.1 [INFO] [stderr] Checking solana-cpi v3.1.0 [INFO] [stderr] Checking solana-stable-layout v3.0.0 [INFO] [stderr] Checking solana-instructions-sysvar v3.0.0 [INFO] [stderr] Checking solana-sysvar v3.1.1 [INFO] [stderr] Checking solana-instruction v2.3.3 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-nonce v2.2.1 [INFO] [stderr] Checking solana-sysvar-id v2.2.1 [INFO] [stderr] Checking solana-clock v2.2.2 [INFO] [stderr] Checking solana-rent v2.2.1 [INFO] [stderr] Checking solana-slot-hashes v2.2.1 [INFO] [stderr] Checking solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking solana-epoch-rewards v2.2.1 [INFO] [stderr] Checking solana-slot-history v2.2.1 [INFO] [stderr] Checking solana-example-mocks v3.0.0 [INFO] [stderr] Checking solana-program v3.0.0 [INFO] [stderr] Checking solana-program-error v2.2.2 [INFO] [stderr] Checking solana-transaction-error v2.2.1 [INFO] [stderr] Checking solana-system-interface v1.0.0 [INFO] [stderr] Checking solana-serialize-utils v2.2.1 [INFO] [stderr] Checking solana-stable-layout v2.2.1 [INFO] [stderr] Checking solana-bincode v2.2.1 [INFO] [stderr] Checking solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Checking solana-loader-v2-interface v2.2.1 [INFO] [stderr] Checking spl-associated-token-account-client v2.0.0 [INFO] [stderr] Checking solana-signer v2.2.1 [INFO] [stderr] Checking solana-zk-sdk v2.2.20 [INFO] [stderr] Checking solana-account-info v2.3.0 [INFO] [stderr] Checking spl-discriminator v0.4.1 [INFO] [stderr] Checking solana-program-pack v2.2.1 [INFO] [stderr] Checking spl-program-error v0.7.0 [INFO] [stderr] Checking solana-cpi v2.2.1 [INFO] [stderr] Checking solana-program-entrypoint v2.3.0 [INFO] [stderr] Checking solana-instructions-sysvar v2.2.2 [INFO] [stderr] Checking solana-account v2.2.1 [INFO] [stderr] Checking solana-message v2.4.0 [INFO] [stderr] Checking solana-vote-interface v2.2.5 [INFO] [stderr] Checking solana-stake-interface v1.2.1 [INFO] [stderr] Checking solana-loader-v3-interface v5.0.0 [INFO] [stderr] Checking solana-loader-v4-interface v2.2.1 [INFO] [stderr] Checking solana-sysvar v2.2.2 [INFO] [stderr] Checking spl-memo v6.0.0 [INFO] [stderr] Checking solana-invoke v0.4.0 [INFO] [stderr] Checking solana-feature-gate-interface v2.2.2 [INFO] [stderr] Checking solana-loader-v3-interface v3.0.0 [INFO] [stderr] Checking spl-token v8.0.0 [INFO] [stderr] Checking solana-example-mocks v2.2.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.32.1 [INFO] [stderr] Compiling anchor-attribute-event v0.32.1 [INFO] [stderr] Compiling anchor-attribute-error v0.32.1 [INFO] [stderr] Compiling anchor-derive-serde v0.32.1 [INFO] [stderr] Compiling anchor-attribute-program v0.32.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.32.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.32.1 [INFO] [stderr] Compiling anchor-attribute-account v0.32.1 [INFO] [stderr] Checking solana-secp256k1-recover v2.2.1 [INFO] [stderr] Checking solana-program v2.3.0 [INFO] [stderr] Checking mpl-token-metadata v5.1.1 [INFO] [stderr] Checking anchor-lang v0.32.1 [INFO] [stderr] Checking spl-pod v0.5.1 [INFO] [stderr] Checking spl-token-confidential-transfer-proof-generation v0.4.0 [INFO] [stderr] Checking spl-token-confidential-transfer-ciphertext-arithmetic v0.3.0 [INFO] [stderr] Checking spl-type-length-value v0.8.0 [INFO] [stderr] Checking spl-token-confidential-transfer-proof-extraction v0.3.0 [INFO] [stderr] Checking spl-token-group-interface v0.6.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.10.0 [INFO] [stderr] Checking spl-token-metadata-interface v0.7.0 [INFO] [stderr] Checking spl-elgamal-registry v0.2.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.10.0 [INFO] [stderr] Checking spl-token-2022 v8.0.1 [INFO] [stderr] Checking spl-associated-token-account v7.0.0 [INFO] [stderr] Checking anchor-spl v0.32.1 [INFO] [stderr] Checking whirlpool v0.7.0 (/opt/rustwide/workdir/programs/whirlpool) [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::system_instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `system_instruction` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 4 - use solana_program::system_instruction; [INFO] [stdout] 4 + use crate::system_instruction; [INFO] [stdout] | [INFO] [stdout] 4 - use solana_program::system_instruction; [INFO] [stdout] 4 + use anchor_lang::prelude::system_instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{program::invoke, system_instruction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `system_instruction` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::system_instruction [INFO] [stdout] anchor_lang::prelude::system_instruction [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{program::invoke_signed, system_instruction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `system_instruction` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::system_instruction [INFO] [stdout] anchor_lang::prelude::system_instruction [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use solana_program::system_instruction::transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program::system_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/close_bundled_position.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/close_position.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/close_position_with_token_extensions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/collect_fees.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/collect_protocol_fees.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/collect_reward.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/delete_position_bundle.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/idl_include.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/increase_liquidity.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_config.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_dynamic_tick_array.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_fee_tier.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_pool.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_position_bundle.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_position_bundle_with_metadata.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_reward.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_tick_array.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/lock_position.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_bundled_position.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_position.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_position_with_metadata.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_position_with_token_extensions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_collect_protocol_fees_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_config_feature_flag.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_default_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_default_protocol_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_fee_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_protocol_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_authority_by_super_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_emissions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_emissions_super_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/swap.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/transfer_locked_position.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/two_hop_swap.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/update_fees_and_rewards.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/collect_fees.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/collect_protocol_fees.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/collect_reward.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/increase_liquidity.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_pool.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_reward.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_reward_emissions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/swap.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/two_hop_swap.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/delete_token_badge.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_config_extension.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_token_badge.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_config_extension_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_token_badge_attribute.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_token_badge_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/initialize_adaptive_fee_tier.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/initialize_pool_with_adaptive_fee.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_default_base_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_delegated_fee_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_fee_rate_by_delegated_fee_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_initialize_pool_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_preset_adaptive_fee_constants.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/migrate_repurpose_reward_authority_space.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-log-ix-name` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use solana_program::system_instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `system_instruction` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 4 - use solana_program::system_instruction; [INFO] [stdout] 4 + use crate::system_instruction; [INFO] [stdout] | [INFO] [stdout] 4 - use solana_program::system_instruction; [INFO] [stdout] 4 + use anchor_lang::prelude::system_instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{program::invoke, system_instruction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `system_instruction` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::system_instruction [INFO] [stdout] anchor_lang::prelude::system_instruction [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:2:46 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{program::invoke_signed, system_instruction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `system_instruction` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::system_instruction [INFO] [stdout] anchor_lang::prelude::system_instruction [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program::system_instruction` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use solana_program::system_instruction::transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program::system_instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program_entrypoint` crate, try updating your dependency with `cargo update -p solana_program_entrypoint` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/close_bundled_position.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/close_position.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/close_position_with_token_extensions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/collect_fees.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/collect_protocol_fees.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/collect_reward.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/delete_position_bundle.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/idl_include.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/increase_liquidity.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_config.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_dynamic_tick_array.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_fee_tier.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_pool.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_position_bundle.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_position_bundle_with_metadata.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_reward.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/initialize_tick_array.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/lock_position.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_bundled_position.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_position.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_position_with_metadata.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/open_position_with_token_extensions.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_collect_protocol_fees_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_config_feature_flag.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_default_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_default_protocol_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_fee_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_protocol_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_authority_by_super_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_emissions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/set_reward_emissions_super_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/auth/admin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pubkey!("tstYmkF9JHjZbSugJe1H3ygUTox1bqSxpn5QjxMwVrm"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/swap.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/transfer_locked_position.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/two_hop_swap.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/update_fees_and_rewards.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/collect_fees.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/collect_protocol_fees.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/collect_reward.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/increase_liquidity.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_pool.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/constants/nft.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ID: Pubkey = solana_program::pubkey!("3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `solana_program::pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_reward.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_reward_emissions.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/swap.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/two_hop_swap.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/delete_token_badge.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_config_extension.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/initialize_token_badge.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_config_extension_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_token_badge_attribute.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/v2/set_token_badge_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/initialize_adaptive_fee_tier.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/initialize_pool_with_adaptive_fee.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_default_base_fee_rate.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_delegated_fee_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_fee_rate_by_delegated_fee_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_initialize_pool_authority.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/adaptive_fee/set_preset_adaptive_fee_constants.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/instructions/migrate_repurpose_reward_authority_space.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-log-ix-name` [INFO] [stdout] --> programs/whirlpool/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `devnet`, `idl-build`, `mainnet`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | invoke(&ix, &account_infos)?; [INFO] [stdout] | ^^^^^^ --- expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&[AccountInfo<'_>; 3]` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | invoke(&ix, &account_infos)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&[anchor_lang::prelude::AccountInfo<'_>; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 92 | invoke(&ix, &account_infos)?; [INFO] [stdout] | ---------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/auth/admin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pubkey!("tstYmkF9JHjZbSugJe1H3ygUTox1bqSxpn5QjxMwVrm"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/constants/nft.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub static ID: Pubkey = solana_program::pubkey!("3axbTs2z5GBy6usVbNVoqEgZMng3vZvMnAoX29BFfwhr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `solana_program::pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | invoke(&instruction, &account_infos)?; [INFO] [stdout] | ^^^^^^ ------------ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&[AccountInfo<'_>; 3]` [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | invoke(&instruction, &account_infos)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&[anchor_lang::prelude::AccountInfo<'_>; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 133 | invoke(&instruction, &account_infos)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | tick_array_account_info.realloc(required_size, true)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | tick_array_account_info.realloc(required_size, true)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> programs/whirlpool/src/math/bn.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | self.to_little_endian(buf.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- unexpected argument of type `&mut _` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> programs/whirlpool/src/math/bn.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / construct_uint! { [INFO] [stdout] 30 | | // U256 of [u64; 4] [INFO] [stdout] 31 | | pub struct U256(4); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 49 - self.to_little_endian(buf.borrow_mut()); [INFO] [stdout] 49 + self.to_little_endian(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | invoke(&ix, &account_infos)?; [INFO] [stdout] | ^^^^^^ --- expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&[AccountInfo<'_>; 3]` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | invoke(&ix, &account_infos)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&[anchor_lang::prelude::AccountInfo<'_>; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/instructions/reset_position_range.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 60 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 92 | invoke(&ix, &account_infos)?; [INFO] [stdout] | ---------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | &[system_program.clone(), new_account.clone(), funder.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'info>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 25 | &system_instruction::transfer(new_account.key, funder.key, current_lamports), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 24 | / invoke_signed( [INFO] [stdout] 25 | | &system_instruction::transfer(new_account.key, funder.key, current_lamports), [INFO] [stdout] 26 | | &[system_program.clone(), new_account.clone(), funder.clone()], [INFO] [stdout] 27 | | signers_seeds, [INFO] [stdout] 28 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | &[system_program, funder, new_account], [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'info>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 37 | / &system_instruction::create_account( [INFO] [stdout] 38 | | funder.key, [INFO] [stdout] 39 | | new_account.key, [INFO] [stdout] 40 | | next_lamports, [INFO] [stdout] 41 | | space, [INFO] [stdout] 42 | | owner_program, [INFO] [stdout] 43 | | ), [INFO] [stdout] | |_________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 36 | / invoke_signed( [INFO] [stdout] 37 | | &system_instruction::create_account( [INFO] [stdout] 38 | | funder.key, [INFO] [stdout] 39 | | new_account.key, [INFO] [stdout] ... | [INFO] [stdout] 45 | | signers_seeds, [INFO] [stdout] 46 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/shared.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | COption::Some(ref delegate) if position_authority.key == delegate => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `COption`, found `COption<_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program_option` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-2.2.1/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-3.0.0/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/shared.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | COption::Some(ref delegate) if position_authority.key == delegate => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `COption`, found `COption<_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program_option` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-2.2.1/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-3.0.0/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | &burn_checked( [INFO] [stdout] | __________^ [INFO] [stdout] 66 | | token_program.key, [INFO] [stdout] 67 | | position_token_account.to_account_info().key, [INFO] [stdout] 68 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 72 | | position_mint.decimals, [INFO] [stdout] 73 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 63 | // Burn a single token in user account [INFO] [stdout] 64 | / invoke_signed( [INFO] [stdout] 65 | | &burn_checked( [INFO] [stdout] 66 | | token_program.key, [INFO] [stdout] 67 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &[], [INFO] [stdout] 81 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | &close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 86 | | token_program.key, [INFO] [stdout] 87 | | position_token_account.to_account_info().key, [INFO] [stdout] 88 | | receiver.key, [INFO] [stdout] 89 | | token_authority.key, [INFO] [stdout] 90 | | &[], [INFO] [stdout] 91 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 84 | / invoke_signed( [INFO] [stdout] 85 | | &close_account( [INFO] [stdout] 86 | | token_program.key, [INFO] [stdout] 87 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 98 | | &[], [INFO] [stdout] 99 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | &mint_to( [INFO] [stdout] | __________^ [INFO] [stdout] 178 | | token_program.key, [INFO] [stdout] 179 | | position_mint.to_account_info().key, [INFO] [stdout] 180 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 183 | | 1, [INFO] [stdout] 184 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 175 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 176 | / invoke_signed( [INFO] [stdout] 177 | | &mint_to( [INFO] [stdout] 178 | | token_program.key, [INFO] [stdout] 179 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 191 | | &[&whirlpool.seeds()], [INFO] [stdout] 192 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | &set_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 203 | | token_program.key, [INFO] [stdout] 204 | | position_mint.to_account_info().key, [INFO] [stdout] 205 | | Option::None, [INFO] [stdout] ... | [INFO] [stdout] 208 | | &[whirlpool.to_account_info().key], [INFO] [stdout] 209 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 201 | / invoke_signed( [INFO] [stdout] 202 | | &set_authority( [INFO] [stdout] 203 | | token_program.key, [INFO] [stdout] 204 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 215 | | &[&whirlpool.seeds()], [INFO] [stdout] 216 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | &mint_to( [INFO] [stdout] | __________^ [INFO] [stdout] 319 | | token_program.key, [INFO] [stdout] 320 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] 321 | | position_bundle_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 324 | | 1, [INFO] [stdout] 325 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | position_bundle_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 316 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 317 | / invoke_signed( [INFO] [stdout] 318 | | &mint_to( [INFO] [stdout] 319 | | token_program.key, [INFO] [stdout] 320 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 332 | | &[position_bundle_seeds], [INFO] [stdout] 333 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | &set_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 346 | | token_program.key, [INFO] [stdout] 347 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] 348 | | Option::None, [INFO] [stdout] ... | [INFO] [stdout] 351 | | &[], [INFO] [stdout] 352 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | position_bundle_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:359:6 [INFO] [stdout] | [INFO] [stdout] 343 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 344 | / invoke_signed( [INFO] [stdout] 345 | | &set_authority( [INFO] [stdout] 346 | | token_program.key, [INFO] [stdout] 347 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 358 | | &[position_bundle_seeds], [INFO] [stdout] 359 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | &spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 60 | | token_2022_program.key, [INFO] [stdout] 61 | | position_mint.key, [INFO] [stdout] 62 | | Some(&authority.key()), [INFO] [stdout] 63 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 58 | / invoke( [INFO] [stdout] 59 | | &spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] 60 | | token_2022_program.key, [INFO] [stdout] 61 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 68 | | ], [INFO] [stdout] 69 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | &spl_token_2022::extension::metadata_pointer::instruction::initialize( [INFO] [stdout] | ______________^ [INFO] [stdout] 78 | | token_2022_program.key, [INFO] [stdout] 79 | | position_mint.key, [INFO] [stdout] 80 | | None, [INFO] [stdout] 81 | | Some(position_mint.key()), [INFO] [stdout] 82 | | )?, [INFO] [stdout] | |______________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 76 | / invoke( [INFO] [stdout] 77 | | &spl_token_2022::extension::metadata_pointer::instruction::initialize( [INFO] [stdout] 78 | | token_2022_program.key, [INFO] [stdout] 79 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 87 | | ], [INFO] [stdout] 88 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | &spl_token_2022::instruction::initialize_non_transferable_mint( [INFO] [stdout] | ______________^ [INFO] [stdout] 95 | | token_2022_program.key, [INFO] [stdout] 96 | | position_mint.key, [INFO] [stdout] 97 | | )?, [INFO] [stdout] | |______________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 93 | / invoke( [INFO] [stdout] 94 | | &spl_token_2022::instruction::initialize_non_transferable_mint( [INFO] [stdout] 95 | | token_2022_program.key, [INFO] [stdout] 96 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 101 | | ], [INFO] [stdout] 102 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | &spl_token_2022::instruction::initialize_mint2( [INFO] [stdout] | __________^ [INFO] [stdout] 110 | | token_2022_program.key, [INFO] [stdout] 111 | | position_mint.key, [INFO] [stdout] 112 | | &authority.key(), [INFO] [stdout] 113 | | Some(&authority.key()), [INFO] [stdout] 114 | | 0, [INFO] [stdout] 115 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 108 | / invoke( [INFO] [stdout] 109 | | &spl_token_2022::instruction::initialize_mint2( [INFO] [stdout] 110 | | token_2022_program.key, [INFO] [stdout] 111 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 120 | | ], [INFO] [stdout] 121 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | funder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 160 | / invoke( [INFO] [stdout] 161 | | &transfer(funder.key, position_mint.key, additional_rent), [INFO] [stdout] 162 | | &[ [INFO] [stdout] 163 | | funder.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 166 | | ], [INFO] [stdout] 167 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 171 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 172 | / &spl_token_metadata_interface::instruction::initialize( [INFO] [stdout] 173 | | token_2022_program.key, [INFO] [stdout] 174 | | position_mint.key, [INFO] [stdout] 175 | | metadata_update_authority.key, [INFO] [stdout] ... | [INFO] [stdout] 180 | | metadata.uri, [INFO] [stdout] 181 | | ), [INFO] [stdout] | |_________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 171 | / invoke_signed( [INFO] [stdout] 172 | | &spl_token_metadata_interface::instruction::initialize( [INFO] [stdout] 173 | | token_2022_program.key, [INFO] [stdout] 174 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 188 | | &[position_seeds], [INFO] [stdout] 189 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | &spl_token_2022::instruction::mint_to( [INFO] [stdout] | __________^ [INFO] [stdout] 228 | | token_2022_program.key, [INFO] [stdout] 229 | | position_mint.to_account_info().key, [INFO] [stdout] 230 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 233 | | 1, [INFO] [stdout] 234 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 222 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 226 | / invoke_signed( [INFO] [stdout] 227 | | &spl_token_2022::instruction::mint_to( [INFO] [stdout] 228 | | token_2022_program.key, [INFO] [stdout] 229 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 241 | | &[position_seeds], [INFO] [stdout] 242 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | &spl_token_2022::instruction::set_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 247 | | token_2022_program.key, [INFO] [stdout] 248 | | position_mint.to_account_info().key, [INFO] [stdout] 249 | | Option::None, [INFO] [stdout] ... | [INFO] [stdout] 252 | | &[authority.to_account_info().key], [INFO] [stdout] 253 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 222 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 245 | / invoke_signed( [INFO] [stdout] 246 | | &spl_token_2022::instruction::set_authority( [INFO] [stdout] 247 | | token_2022_program.key, [INFO] [stdout] 248 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 259 | | &[position_seeds], [INFO] [stdout] 260 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | &spl_token_2022::instruction::burn_checked( [INFO] [stdout] | __________^ [INFO] [stdout] 277 | | token_2022_program.key, [INFO] [stdout] 278 | | position_token_account.to_account_info().key, [INFO] [stdout] 279 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 283 | | position_mint.decimals, [INFO] [stdout] 284 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 273 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 274 | // Burn a single token in user account [INFO] [stdout] 275 | / invoke( [INFO] [stdout] 276 | | &spl_token_2022::instruction::burn_checked( [INFO] [stdout] 277 | | token_2022_program.key, [INFO] [stdout] 278 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 290 | | ], [INFO] [stdout] 291 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | &spl_token_2022::instruction::close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 296 | | token_2022_program.key, [INFO] [stdout] 297 | | position_token_account.to_account_info().key, [INFO] [stdout] 298 | | receiver.key, [INFO] [stdout] 299 | | token_authority.key, [INFO] [stdout] 300 | | &[], [INFO] [stdout] 301 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 273 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 294 | / invoke( [INFO] [stdout] 295 | | &spl_token_2022::instruction::close_account( [INFO] [stdout] 296 | | token_2022_program.key, [INFO] [stdout] 297 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 307 | | ], [INFO] [stdout] 308 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 312 | &spl_token_2022::instruction::close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 313 | | token_2022_program.key, [INFO] [stdout] 314 | | position_mint.to_account_info().key, [INFO] [stdout] 315 | | receiver.key, [INFO] [stdout] 316 | | &position.key(), [INFO] [stdout] 317 | | &[], [INFO] [stdout] 318 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:326:6 [INFO] [stdout] | [INFO] [stdout] 273 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 311 | / invoke_signed( [INFO] [stdout] 312 | | &spl_token_2022::instruction::close_account( [INFO] [stdout] 313 | | token_2022_program.key, [INFO] [stdout] 314 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 325 | | &[position_seeds], [INFO] [stdout] 326 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | &spl_token_2022::instruction::freeze_account( [INFO] [stdout] | __________^ [INFO] [stdout] 368 | | token_2022_program.key, [INFO] [stdout] 369 | | position_token_account.to_account_info().key, [INFO] [stdout] 370 | | position_mint.to_account_info().key, [INFO] [stdout] 371 | | &position.key(), [INFO] [stdout] 372 | | &[], [INFO] [stdout] 373 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:381:6 [INFO] [stdout] | [INFO] [stdout] 364 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 365 | // Note: Token-2022 program rejects the freeze instruction if the account is already frozen. [INFO] [stdout] 366 | / invoke_signed( [INFO] [stdout] 367 | | &spl_token_2022::instruction::freeze_account( [INFO] [stdout] 368 | | token_2022_program.key, [INFO] [stdout] 369 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 380 | | &[position_seeds], [INFO] [stdout] 381 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | &spl_token_2022::instruction::thaw_account( [INFO] [stdout] | __________^ [INFO] [stdout] 396 | | token_2022_program.key, [INFO] [stdout] 397 | | position_token_account.to_account_info().key, [INFO] [stdout] 398 | | position_mint.to_account_info().key, [INFO] [stdout] 399 | | &position.key(), [INFO] [stdout] 400 | | &[], [INFO] [stdout] 401 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:409:6 [INFO] [stdout] | [INFO] [stdout] 392 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 393 | // Note: Token-2022 program rejects the unfreeze instruction if the account is not frozen. [INFO] [stdout] 394 | / invoke_signed( [INFO] [stdout] 395 | | &spl_token_2022::instruction::thaw_account( [INFO] [stdout] 396 | | token_2022_program.key, [INFO] [stdout] 397 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 408 | | &[position_seeds], [INFO] [stdout] 409 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | &spl_token_2022::instruction::transfer_checked( [INFO] [stdout] | __________^ [INFO] [stdout] 423 | | token_2022_program.key, [INFO] [stdout] 424 | | position_token_account.to_account_info().key, [INFO] [stdout] 425 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 430 | | position_mint.decimals, [INFO] [stdout] 431 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:439:6 [INFO] [stdout] | [INFO] [stdout] 420 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 421 | / invoke( [INFO] [stdout] 422 | | &spl_token_2022::instruction::transfer_checked( [INFO] [stdout] 423 | | token_2022_program.key, [INFO] [stdout] 424 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 438 | | ], [INFO] [stdout] 439 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | &spl_token_2022::instruction::close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 451 | | token_2022_program.key, [INFO] [stdout] 452 | | token_account.to_account_info().key, [INFO] [stdout] 453 | | receiver.key, [INFO] [stdout] 454 | | token_authority.key, [INFO] [stdout] 455 | | &[], [INFO] [stdout] 456 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 448 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 449 | / invoke( [INFO] [stdout] 450 | | &spl_token_2022::instruction::close_account( [INFO] [stdout] 451 | | token_2022_program.key, [INFO] [stdout] 452 | | token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 462 | | ], [INFO] [stdout] 463 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | &spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] | ______________^ [INFO] [stdout] 518 | | token_program.key, [INFO] [stdout] 519 | | vault_token_account.key, [INFO] [stdout] 520 | | )?, [INFO] [stdout] | |______________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:525:10 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 516 | / invoke( [INFO] [stdout] 517 | | &spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] 518 | | token_program.key, [INFO] [stdout] 519 | | vault_token_account.key, [INFO] [stdout] ... | [INFO] [stdout] 524 | | ], [INFO] [stdout] 525 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:530:10 [INFO] [stdout] | [INFO] [stdout] 530 | &spl_token_2022::instruction::initialize_account3( [INFO] [stdout] | __________^ [INFO] [stdout] 531 | | token_program.key, [INFO] [stdout] 532 | | vault_token_account.key, [INFO] [stdout] 533 | | &vault_mint.key(), [INFO] [stdout] 534 | | &whirlpool.key(), [INFO] [stdout] 535 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:542:6 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 529 | / invoke( [INFO] [stdout] 530 | | &spl_token_2022::instruction::initialize_account3( [INFO] [stdout] 531 | | token_program.key, [INFO] [stdout] 532 | | vault_token_account.key, [INFO] [stdout] ... | [INFO] [stdout] 541 | | ], [INFO] [stdout] 542 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | solana_program::program::invoke_signed(&instruction, &account_infos, &[])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&Vec>` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | solana_program::program::invoke_signed(&instruction, &account_infos, &[])?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:89:78 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 89 | solana_program::program::invoke_signed(&instruction, &account_infos, &[])?; [INFO] [stdout] | -------------------------------------------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | solana_program::program::invoke_signed(&instruction, &account_infos, &[&whirlpool.seeds()])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&Vec>` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:170:58 [INFO] [stdout] | [INFO] [stdout] 170 | solana_program::program::invoke_signed(&instruction, &account_infos, &[&whirlpool.seeds()])?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:170:96 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 170 | solana_program::program::invoke_signed(&instruction, &account_infos, &[&whirlpool.seeds()])?; [INFO] [stdout] | -------------------------------------------------------------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | invoke(&instruction, &account_infos)?; [INFO] [stdout] | ^^^^^^ ------------ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&[AccountInfo<'_>; 3]` [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | invoke(&instruction, &account_infos)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&[anchor_lang::prelude::AccountInfo<'_>; 3]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn invoke(instruction: &Instruction, account_infos: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 133 | invoke(&instruction, &account_infos)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | tick_array_account_info.realloc(required_size, true)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/whirlpool/src/manager/tick_array_manager.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | tick_array_account_info.realloc(required_size, true)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> programs/whirlpool/src/math/bn.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | self.to_little_endian(buf.borrow_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- unexpected argument of type `&mut _` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> programs/whirlpool/src/math/bn.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / construct_uint! { [INFO] [stdout] 30 | | // U256 of [u64; 4] [INFO] [stdout] 31 | | pub struct U256(4); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: this error originates in the macro `$crate::construct_uint` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 49 - self.to_little_endian(buf.borrow_mut()); [INFO] [stdout] 49 + self.to_little_endian(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | &[system_program.clone(), new_account.clone(), funder.clone()], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'info>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 24 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 25 | &system_instruction::transfer(new_account.key, funder.key, current_lamports), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 24 | / invoke_signed( [INFO] [stdout] 25 | | &system_instruction::transfer(new_account.key, funder.key, current_lamports), [INFO] [stdout] 26 | | &[system_program.clone(), new_account.clone(), funder.clone()], [INFO] [stdout] 27 | | signers_seeds, [INFO] [stdout] 28 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | &[system_program, funder, new_account], [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'info>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 37 | / &system_instruction::create_account( [INFO] [stdout] 38 | | funder.key, [INFO] [stdout] 39 | | new_account.key, [INFO] [stdout] 40 | | next_lamports, [INFO] [stdout] 41 | | space, [INFO] [stdout] 42 | | owner_program, [INFO] [stdout] 43 | | ), [INFO] [stdout] | |_________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/account.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 36 | / invoke_signed( [INFO] [stdout] 37 | | &system_instruction::create_account( [INFO] [stdout] 38 | | funder.key, [INFO] [stdout] 39 | | new_account.key, [INFO] [stdout] ... | [INFO] [stdout] 45 | | signers_seeds, [INFO] [stdout] 46 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/shared.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | COption::Some(ref delegate) if position_authority.key == delegate => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `COption`, found `COption<_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program_option` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-2.2.1/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-3.0.0/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/shared.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | COption::Some(ref delegate) if position_authority.key == delegate => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `COption`, found `COption<_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_program_option` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-2.2.1/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-option-3.0.0/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum COption { [INFO] [stdout] | ------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | Some(pubkey!("whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc")), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `Address` due to the type of the argument passed [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | Some(pubkey!("whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc")), [INFO] [stdout] | ^^^^^------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/c9af9c1dc85a55e309345030ff9cb7ea247953fa/library/core/src/option.rs:608:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 246 | let mut account_info_mock = AccountInfoMock::new_whirlpool( [INFO] [stdout] | ------------------------------ arguments to this function are incorrect [INFO] [stdout] 247 | pubkey!("HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ"), // well-known whirlpool key (SOL/USDC(ts=64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> programs/whirlpool/src/util/test_utils/account_info_mock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new_whirlpool( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | key: Pubkey, [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | pubkey!("81T5kNuPRkyVzhwbe2RpKR7wmQpGJ7RBkGPdTqyfa5vq") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | pubkey!("9K1HWrGKZKfjTnKfF621BmEQdai4FcUz9tsoF41jwz5B") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | pubkey!("JCpxMSDRDPBMqjoX7LkhMwro2y6r85Q8E6p5zNdBZyWa") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | pubkey!("BW2Mr823NUQN7vnVpv5E6yCTnqEXQ3ZnqjZyiywXPcUp") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/sparse_swap.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | pubkey!("2ezvsnoXdukw5dAAZ4EkW67bmUo8PHRPX8ZDqf76BKtV") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `pubkey` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | &burn_checked( [INFO] [stdout] | __________^ [INFO] [stdout] 66 | | token_program.key, [INFO] [stdout] 67 | | position_token_account.to_account_info().key, [INFO] [stdout] 68 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 72 | | position_mint.decimals, [INFO] [stdout] 73 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 63 | // Burn a single token in user account [INFO] [stdout] 64 | / invoke_signed( [INFO] [stdout] 65 | | &burn_checked( [INFO] [stdout] 66 | | token_program.key, [INFO] [stdout] 67 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 80 | | &[], [INFO] [stdout] 81 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | &close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 86 | | token_program.key, [INFO] [stdout] 87 | | position_token_account.to_account_info().key, [INFO] [stdout] 88 | | receiver.key, [INFO] [stdout] 89 | | token_authority.key, [INFO] [stdout] 90 | | &[], [INFO] [stdout] 91 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 84 | / invoke_signed( [INFO] [stdout] 85 | | &close_account( [INFO] [stdout] 86 | | token_program.key, [INFO] [stdout] 87 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 98 | | &[], [INFO] [stdout] 99 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | &mint_to( [INFO] [stdout] | __________^ [INFO] [stdout] 178 | | token_program.key, [INFO] [stdout] 179 | | position_mint.to_account_info().key, [INFO] [stdout] 180 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 183 | | 1, [INFO] [stdout] 184 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 175 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 176 | / invoke_signed( [INFO] [stdout] 177 | | &mint_to( [INFO] [stdout] 178 | | token_program.key, [INFO] [stdout] 179 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 191 | | &[&whirlpool.seeds()], [INFO] [stdout] 192 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | &set_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 203 | | token_program.key, [INFO] [stdout] 204 | | position_mint.to_account_info().key, [INFO] [stdout] 205 | | Option::None, [INFO] [stdout] ... | [INFO] [stdout] 208 | | &[whirlpool.to_account_info().key], [INFO] [stdout] 209 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 201 | / invoke_signed( [INFO] [stdout] 202 | | &set_authority( [INFO] [stdout] 203 | | token_program.key, [INFO] [stdout] 204 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 215 | | &[&whirlpool.seeds()], [INFO] [stdout] 216 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | &mint_to( [INFO] [stdout] | __________^ [INFO] [stdout] 319 | | token_program.key, [INFO] [stdout] 320 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] 321 | | position_bundle_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 324 | | 1, [INFO] [stdout] 325 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | position_bundle_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:333:6 [INFO] [stdout] | [INFO] [stdout] 316 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 317 | / invoke_signed( [INFO] [stdout] 318 | | &mint_to( [INFO] [stdout] 319 | | token_program.key, [INFO] [stdout] 320 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 332 | | &[position_bundle_seeds], [INFO] [stdout] 333 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | &set_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 346 | | token_program.key, [INFO] [stdout] 347 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] 348 | | Option::None, [INFO] [stdout] ... | [INFO] [stdout] 351 | | &[], [INFO] [stdout] 352 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | position_bundle_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token.rs:359:6 [INFO] [stdout] | [INFO] [stdout] 343 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 344 | / invoke_signed( [INFO] [stdout] 345 | | &set_authority( [INFO] [stdout] 346 | | token_program.key, [INFO] [stdout] 347 | | position_bundle_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 358 | | &[position_bundle_seeds], [INFO] [stdout] 359 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `whirlpool` (lib) due to 91 previous errors; 75 warnings emitted [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | &spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 60 | | token_2022_program.key, [INFO] [stdout] 61 | | position_mint.key, [INFO] [stdout] 62 | | Some(&authority.key()), [INFO] [stdout] 63 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 58 | / invoke( [INFO] [stdout] 59 | | &spl_token_2022::instruction::initialize_mint_close_authority( [INFO] [stdout] 60 | | token_2022_program.key, [INFO] [stdout] 61 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 68 | | ], [INFO] [stdout] 69 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | &spl_token_2022::extension::metadata_pointer::instruction::initialize( [INFO] [stdout] | ______________^ [INFO] [stdout] 78 | | token_2022_program.key, [INFO] [stdout] 79 | | position_mint.key, [INFO] [stdout] 80 | | None, [INFO] [stdout] 81 | | Some(position_mint.key()), [INFO] [stdout] 82 | | )?, [INFO] [stdout] | |______________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 76 | / invoke( [INFO] [stdout] 77 | | &spl_token_2022::extension::metadata_pointer::instruction::initialize( [INFO] [stdout] 78 | | token_2022_program.key, [INFO] [stdout] 79 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 87 | | ], [INFO] [stdout] 88 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | &spl_token_2022::instruction::initialize_non_transferable_mint( [INFO] [stdout] | ______________^ [INFO] [stdout] 95 | | token_2022_program.key, [INFO] [stdout] 96 | | position_mint.key, [INFO] [stdout] 97 | | )?, [INFO] [stdout] | |______________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 93 | / invoke( [INFO] [stdout] 94 | | &spl_token_2022::instruction::initialize_non_transferable_mint( [INFO] [stdout] 95 | | token_2022_program.key, [INFO] [stdout] 96 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 101 | | ], [INFO] [stdout] 102 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | &spl_token_2022::instruction::initialize_mint2( [INFO] [stdout] | __________^ [INFO] [stdout] 110 | | token_2022_program.key, [INFO] [stdout] 111 | | position_mint.key, [INFO] [stdout] 112 | | &authority.key(), [INFO] [stdout] 113 | | Some(&authority.key()), [INFO] [stdout] 114 | | 0, [INFO] [stdout] 115 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 108 | / invoke( [INFO] [stdout] 109 | | &spl_token_2022::instruction::initialize_mint2( [INFO] [stdout] 110 | | token_2022_program.key, [INFO] [stdout] 111 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 120 | | ], [INFO] [stdout] 121 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | funder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 160 | / invoke( [INFO] [stdout] 161 | | &transfer(funder.key, position_mint.key, additional_rent), [INFO] [stdout] 162 | | &[ [INFO] [stdout] 163 | | funder.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 166 | | ], [INFO] [stdout] 167 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 171 | invoke_signed( [INFO] [stdout] | ------------- arguments to this function are incorrect [INFO] [stdout] 172 | / &spl_token_metadata_interface::instruction::initialize( [INFO] [stdout] 173 | | token_2022_program.key, [INFO] [stdout] 174 | | position_mint.key, [INFO] [stdout] 175 | | metadata_update_authority.key, [INFO] [stdout] ... | [INFO] [stdout] 180 | | metadata.uri, [INFO] [stdout] 181 | | ), [INFO] [stdout] | |_________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:189:6 [INFO] [stdout] | [INFO] [stdout] 138 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 171 | / invoke_signed( [INFO] [stdout] 172 | | &spl_token_metadata_interface::instruction::initialize( [INFO] [stdout] 173 | | token_2022_program.key, [INFO] [stdout] 174 | | position_mint.key, [INFO] [stdout] ... | [INFO] [stdout] 188 | | &[position_seeds], [INFO] [stdout] 189 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | &spl_token_2022::instruction::mint_to( [INFO] [stdout] | __________^ [INFO] [stdout] 228 | | token_2022_program.key, [INFO] [stdout] 229 | | position_mint.to_account_info().key, [INFO] [stdout] 230 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 233 | | 1, [INFO] [stdout] 234 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:242:6 [INFO] [stdout] | [INFO] [stdout] 222 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 226 | / invoke_signed( [INFO] [stdout] 227 | | &spl_token_2022::instruction::mint_to( [INFO] [stdout] 228 | | token_2022_program.key, [INFO] [stdout] 229 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 241 | | &[position_seeds], [INFO] [stdout] 242 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:246:10 [INFO] [stdout] | [INFO] [stdout] 246 | &spl_token_2022::instruction::set_authority( [INFO] [stdout] | __________^ [INFO] [stdout] 247 | | token_2022_program.key, [INFO] [stdout] 248 | | position_mint.to_account_info().key, [INFO] [stdout] 249 | | Option::None, [INFO] [stdout] ... | [INFO] [stdout] 252 | | &[authority.to_account_info().key], [INFO] [stdout] 253 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | position_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:260:6 [INFO] [stdout] | [INFO] [stdout] 222 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 245 | / invoke_signed( [INFO] [stdout] 246 | | &spl_token_2022::instruction::set_authority( [INFO] [stdout] 247 | | token_2022_program.key, [INFO] [stdout] 248 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 259 | | &[position_seeds], [INFO] [stdout] 260 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | &spl_token_2022::instruction::burn_checked( [INFO] [stdout] | __________^ [INFO] [stdout] 277 | | token_2022_program.key, [INFO] [stdout] 278 | | position_token_account.to_account_info().key, [INFO] [stdout] 279 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 283 | | position_mint.decimals, [INFO] [stdout] 284 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 273 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 274 | // Burn a single token in user account [INFO] [stdout] 275 | / invoke( [INFO] [stdout] 276 | | &spl_token_2022::instruction::burn_checked( [INFO] [stdout] 277 | | token_2022_program.key, [INFO] [stdout] 278 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 290 | | ], [INFO] [stdout] 291 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:295:10 [INFO] [stdout] | [INFO] [stdout] 295 | &spl_token_2022::instruction::close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 296 | | token_2022_program.key, [INFO] [stdout] 297 | | position_token_account.to_account_info().key, [INFO] [stdout] 298 | | receiver.key, [INFO] [stdout] 299 | | token_authority.key, [INFO] [stdout] 300 | | &[], [INFO] [stdout] 301 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:308:6 [INFO] [stdout] | [INFO] [stdout] 273 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 294 | / invoke( [INFO] [stdout] 295 | | &spl_token_2022::instruction::close_account( [INFO] [stdout] 296 | | token_2022_program.key, [INFO] [stdout] 297 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 307 | | ], [INFO] [stdout] 308 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 312 | &spl_token_2022::instruction::close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 313 | | token_2022_program.key, [INFO] [stdout] 314 | | position_mint.to_account_info().key, [INFO] [stdout] 315 | | receiver.key, [INFO] [stdout] 316 | | &position.key(), [INFO] [stdout] 317 | | &[], [INFO] [stdout] 318 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:326:6 [INFO] [stdout] | [INFO] [stdout] 273 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 311 | / invoke_signed( [INFO] [stdout] 312 | | &spl_token_2022::instruction::close_account( [INFO] [stdout] 313 | | token_2022_program.key, [INFO] [stdout] 314 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 325 | | &[position_seeds], [INFO] [stdout] 326 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:367:10 [INFO] [stdout] | [INFO] [stdout] 367 | &spl_token_2022::instruction::freeze_account( [INFO] [stdout] | __________^ [INFO] [stdout] 368 | | token_2022_program.key, [INFO] [stdout] 369 | | position_token_account.to_account_info().key, [INFO] [stdout] 370 | | position_mint.to_account_info().key, [INFO] [stdout] 371 | | &position.key(), [INFO] [stdout] 372 | | &[], [INFO] [stdout] 373 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:381:6 [INFO] [stdout] | [INFO] [stdout] 364 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 365 | // Note: Token-2022 program rejects the freeze instruction if the account is already frozen. [INFO] [stdout] 366 | / invoke_signed( [INFO] [stdout] 367 | | &spl_token_2022::instruction::freeze_account( [INFO] [stdout] 368 | | token_2022_program.key, [INFO] [stdout] 369 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 380 | | &[position_seeds], [INFO] [stdout] 381 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | &spl_token_2022::instruction::thaw_account( [INFO] [stdout] | __________^ [INFO] [stdout] 396 | | token_2022_program.key, [INFO] [stdout] 397 | | position_token_account.to_account_info().key, [INFO] [stdout] 398 | | position_mint.to_account_info().key, [INFO] [stdout] 399 | | &position.key(), [INFO] [stdout] 400 | | &[], [INFO] [stdout] 401 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:409:6 [INFO] [stdout] | [INFO] [stdout] 392 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 393 | // Note: Token-2022 program rejects the unfreeze instruction if the account is not frozen. [INFO] [stdout] 394 | / invoke_signed( [INFO] [stdout] 395 | | &spl_token_2022::instruction::thaw_account( [INFO] [stdout] 396 | | token_2022_program.key, [INFO] [stdout] 397 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 408 | | &[position_seeds], [INFO] [stdout] 409 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | &spl_token_2022::instruction::transfer_checked( [INFO] [stdout] | __________^ [INFO] [stdout] 423 | | token_2022_program.key, [INFO] [stdout] 424 | | position_token_account.to_account_info().key, [INFO] [stdout] 425 | | position_mint.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 430 | | position_mint.decimals, [INFO] [stdout] 431 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:439:6 [INFO] [stdout] | [INFO] [stdout] 420 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 421 | / invoke( [INFO] [stdout] 422 | | &spl_token_2022::instruction::transfer_checked( [INFO] [stdout] 423 | | token_2022_program.key, [INFO] [stdout] 424 | | position_token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 438 | | ], [INFO] [stdout] 439 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:450:10 [INFO] [stdout] | [INFO] [stdout] 450 | &spl_token_2022::instruction::close_account( [INFO] [stdout] | __________^ [INFO] [stdout] 451 | | token_2022_program.key, [INFO] [stdout] 452 | | token_account.to_account_info().key, [INFO] [stdout] 453 | | receiver.key, [INFO] [stdout] 454 | | token_authority.key, [INFO] [stdout] 455 | | &[], [INFO] [stdout] 456 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | token_2022_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 448 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] 449 | / invoke( [INFO] [stdout] 450 | | &spl_token_2022::instruction::close_account( [INFO] [stdout] 451 | | token_2022_program.key, [INFO] [stdout] 452 | | token_account.to_account_info().key, [INFO] [stdout] ... | [INFO] [stdout] 462 | | ], [INFO] [stdout] 463 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | &spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] | ______________^ [INFO] [stdout] 518 | | token_program.key, [INFO] [stdout] 519 | | vault_token_account.key, [INFO] [stdout] 520 | | )?, [INFO] [stdout] | |______________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:525:10 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 516 | / invoke( [INFO] [stdout] 517 | | &spl_token_2022::instruction::initialize_immutable_owner( [INFO] [stdout] 518 | | token_program.key, [INFO] [stdout] 519 | | vault_token_account.key, [INFO] [stdout] ... | [INFO] [stdout] 524 | | ], [INFO] [stdout] 525 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:530:10 [INFO] [stdout] | [INFO] [stdout] 530 | &spl_token_2022::instruction::initialize_account3( [INFO] [stdout] | __________^ [INFO] [stdout] 531 | | token_program.key, [INFO] [stdout] 532 | | vault_token_account.key, [INFO] [stdout] 533 | | &vault_mint.key(), [INFO] [stdout] 534 | | &whirlpool.key(), [INFO] [stdout] 535 | | )?, [INFO] [stdout] | |__________^ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `spl_transfer_hook_interface::solana_instruction::Instruction` to `solana_program::instruction::Instruction` [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_account_info` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-3.1.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | -------------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/token_2022.rs:542:6 [INFO] [stdout] | [INFO] [stdout] 477 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 529 | / invoke( [INFO] [stdout] 530 | | &spl_token_2022::instruction::initialize_account3( [INFO] [stdout] 531 | | token_program.key, [INFO] [stdout] 532 | | vault_token_account.key, [INFO] [stdout] ... | [INFO] [stdout] 541 | | ], [INFO] [stdout] 542 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | solana_program::program::invoke_signed(&instruction, &account_infos, &[])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&Vec>` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | solana_program::program::invoke_signed(&instruction, &account_infos, &[])?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:89:78 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 89 | solana_program::program::invoke_signed(&instruction, &account_infos, &[])?; [INFO] [stdout] | -------------------------------------------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | solana_program::program::invoke_signed(&instruction, &account_infos, &[&whirlpool.seeds()])?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ expected `solana_program::instruction::Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `solana_instruction` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-3.1.0/src/lib.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this is the expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instruction-2.3.3/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Instruction { [INFO] [stdout] | ---------------------- this is the found type [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: expected `&[AccountInfo<'_>]`, found `&Vec>` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:170:58 [INFO] [stdout] | [INFO] [stdout] 170 | solana_program::program::invoke_signed(&instruction, &account_infos, &[&whirlpool.seeds()])?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&[solana_program::solana_account_info::AccountInfo<'_>]` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-3.0.0/src/program.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn invoke_signed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/whirlpool/src/util/v2/token.rs:170:96 [INFO] [stdout] | [INFO] [stdout] 105 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 170 | solana_program::program::invoke_signed(&instruction, &account_infos, &[&whirlpool.seeds()])?; [INFO] [stdout] | -------------------------------------------------------------------------------------------^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, solana_program::program_error::ProgramError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `whirlpool` (lib test) due to 98 previous errors; 75 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d093c888bd0a16edafa0c42cc2dd6e01b1828b8dd3a5f2ff973f8fe6c8602d9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d093c888bd0a16edafa0c42cc2dd6e01b1828b8dd3a5f2ff973f8fe6c8602d9e", kill_on_drop: false }` [INFO] [stdout] d093c888bd0a16edafa0c42cc2dd6e01b1828b8dd3a5f2ff973f8fe6c8602d9e