[INFO] fetching crate arrow-sunny 0.3.1... [INFO] testing arrow-sunny-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate arrow-sunny 0.3.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate arrow-sunny 0.3.1 [INFO] finished tweaking crates.io crate arrow-sunny 0.3.1 [INFO] tweaked toml for crates.io crate arrow-sunny 0.3.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate arrow-sunny 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 335 packages to latest compatible versions [INFO] [stderr] Adding anchor-lang v0.24.2 (available: v0.31.1) [INFO] [stderr] Adding anchor-spl v0.24.2 (available: v0.31.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding solana-frozen-abi v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-logger v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding spl-associated-token-account v1.0.5 (available: v1.1.3) [INFO] [stderr] Adding spl-token v3.3.0 (available: v3.5.0) [INFO] [stderr] Adding uint v0.9.1 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-hash v2.3.0 [INFO] [stderr] Downloaded vipers v2.0.6 [INFO] [stderr] Downloaded solana-pubkey v2.4.0 [INFO] [stderr] Downloaded solana-instruction v2.3.0 [INFO] [stderr] Downloaded solana-define-syscall v2.3.0 [INFO] [stderr] Downloaded anchor-spl v0.31.1 [INFO] [stderr] Downloaded solana-native-token v2.3.0 [INFO] [stderr] Downloaded solana-program-memory v2.3.1 [INFO] [stderr] Downloaded static-pubkey v1.0.3 [INFO] [stderr] Downloaded u128 v0.1.0 [INFO] [stderr] Downloaded quarry-mine v5.2.0 [INFO] [stderr] Downloaded solana-vote-interface v2.2.5 [INFO] [stderr] Downloaded solana-program v2.3.0 [INFO] [stderr] Downloaded solana-program-error v2.2.2 [INFO] [stderr] Downloaded solana-signature v2.3.0 [INFO] [stderr] Downloaded quarry-mint-wrapper v5.2.0 [INFO] [stderr] Downloaded solana-loader-v3-interface v5.0.0 [INFO] [stderr] Downloaded solana-message v2.4.0 [INFO] [stderr] Downloaded solana-instructions-sysvar v2.2.2 [INFO] [stderr] Downloaded solana-sysvar v2.2.2 [INFO] [stderr] Downloaded solana-clock v2.2.2 [INFO] [stderr] Downloaded five8 v0.2.1 [INFO] [stderr] Downloaded solana-curve25519 v2.3.2 [INFO] [stderr] Downloaded solana-feature-gate-interface v2.2.2 [INFO] [stderr] Downloaded solana-program-entrypoint v2.3.0 [INFO] [stderr] Downloaded solana-serde-varint v2.2.2 [INFO] [stderr] Downloaded solana-account-info v2.3.0 [INFO] [stderr] Downloaded solana-decode-error v2.3.0 [INFO] [stderr] Downloaded sunny-anchor v0.3.1 [INFO] [stderr] Downloaded solana-zk-sdk v2.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbee4e6e005e4f97c327841166dee534d8ad667c29c15e65bd33144a50fedae7 [INFO] running `Command { std: "docker" "start" "-a" "fbee4e6e005e4f97c327841166dee534d8ad667c29c15e65bd33144a50fedae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbee4e6e005e4f97c327841166dee534d8ad667c29c15e65bd33144a50fedae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbee4e6e005e4f97c327841166dee534d8ad667c29c15e65bd33144a50fedae7", kill_on_drop: false }` [INFO] [stdout] fbee4e6e005e4f97c327841166dee534d8ad667c29c15e65bd33144a50fedae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f2d520c9d02a13949ddf2457ad6d59c12cb0025cf7f038e5a6c346e211323d42 [INFO] running `Command { std: "docker" "start" "-a" "f2d520c9d02a13949ddf2457ad6d59c12cb0025cf7f038e5a6c346e211323d42", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling solana-signature v2.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling solana-derivation-path v2.2.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling u128 v0.1.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling solana-logger v1.9.29 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling static-pubkey v1.0.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling solana-sha256-hasher v2.2.1 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling solana-curve25519 v2.3.2 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling spl-associated-token-account-client v2.0.0 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-signer v2.2.1 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling spl-discriminator v0.4.1 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-zk-sdk v2.3.2 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling solana-vote-interface v2.2.5 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling spl-memo v6.0.0 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling solana-sysvar v2.2.2 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling spl-program-error v0.6.0 [INFO] [stderr] Compiling spl-token v7.0.0 [INFO] [stderr] Compiling anchor-lang v0.31.1 [INFO] [stderr] Compiling spl-pod v0.5.1 [INFO] [stderr] Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.2.0 [INFO] [stderr] Compiling spl-type-length-value v0.7.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Compiling spl-token-group-interface v0.5.0 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Compiling spl-token-metadata-interface v0.6.0 [INFO] [stderr] Compiling spl-elgamal-registry v0.1.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Compiling spl-token-2022 v6.0.0 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling anchor-lang v0.24.2 [INFO] [stderr] Compiling spl-math v0.1.0 [INFO] [stderr] Compiling spl-associated-token-account v6.0.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.5 [INFO] [stderr] Compiling anchor-spl v0.31.1 [INFO] [stderr] Compiling anchor-spl v0.24.2 [INFO] [stderr] Compiling vipers v2.0.6 [INFO] [stderr] Compiling quarry-mint-wrapper v5.2.0 [INFO] [stderr] Compiling sunny-anchor v0.3.1 [INFO] [stderr] Compiling quarry-mine v5.2.0 [INFO] [stderr] Compiling arrow-sunny v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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` crate, try updating your dependency with `cargo update -p solana_program` [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: `custom-panic` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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` crate, try updating your dependency with `cargo update -p solana_program` [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] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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: `no-log-ix-name` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:310:10 [INFO] [stdout] | [INFO] [stdout] 310 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 320 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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] --> src/lib.rs:381:10 [INFO] [stdout] | [INFO] [stdout] 381 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `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[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 163 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:218:19 [INFO] [stdout] | [INFO] [stdout] 218 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:373:24 [INFO] [stdout] | [INFO] [stdout] 373 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:405:19 [INFO] [stdout] | [INFO] [stdout] 405 | pub pool: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | pub vault: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/claim.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | mint_wrapper_program: self.mint_wrapper_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | minter: self.minter.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | rewards_token_mint: self.rewards_token_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | rewards_token_account: self.vault_rewards_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | claim_fee_token_account: self.claim_fee_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | stake_token_account: self.stake_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | rewarder: self.stake.rewarder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | quarry: self.stake.quarry.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | miner: self.stake.miner.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | miner_vault: self.stake.miner_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 29 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | mine_program: self.mine_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | clock: self.clock.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::ClaimRewards<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/claim.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 11 | sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 12 | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | / sunny_anchor::cpi::accounts::ClaimRewards { [INFO] [stdout] 14 | | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] 15 | | mint_wrapper_program: self.mint_wrapper_program.to_account_info(), [INFO] [stdout] 16 | | minter: self.minter.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::ClaimRewards<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::ClaimRewards<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/claim.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::ClaimRewards<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::ClaimRewards<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/claim.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 11 | sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 12 | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | / sunny_anchor::cpi::accounts::ClaimRewards { [INFO] [stdout] 14 | | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] 15 | | mint_wrapper_program: self.mint_wrapper_program.to_account_info(), [INFO] [stdout] 16 | | minter: self.minter.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::ClaimRewards<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::ClaimRewards<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/claim.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::ClaimRewards { [INFO] [stdout] 14 | | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 33 | | }, [INFO] [stdout] 34 | | )) [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::ClaimRewards<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::ClaimRewards<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/claim.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::ClaimRewards { [INFO] [stdout] 14 | | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 33 | | }, [INFO] [stdout] 34 | | )) [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::ClaimRewards<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] | _________--------------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::ClaimRewards { [INFO] [stdout] 14 | | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 33 | | }, [INFO] [stdout] 34 | | )) [INFO] [stdout] | |_________^ expected `CpiContext<'_, '_, '_, '_, ...>`, found a different `CpiContext<'_, '_, '_, '_, ...>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] = 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/sunny-anchor-0.3.1/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn claim_rewards(_ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/claim.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn claim(&self) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), anchor_lang::error::Error>` because of return type [INFO] [stdout] 11 | / sunny_anchor::cpi::claim_rewards(CpiContext::new( [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::ClaimRewards { [INFO] [stdout] 14 | | mint_wrapper: self.mint_wrapper.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 33 | | }, [INFO] [stdout] 34 | | )) [INFO] [stdout] | |__________^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/error.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/error.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the found type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | vault_vendor_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | rewarder: self.vendor_stake.rewarder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | quarry: self.vendor_stake.quarry.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | miner: self.vendor_stake.miner.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | miner_vault: self.vendor_stake.miner_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 37 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | mine_program: self.mine_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/deposit_vendor.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | clock: self.clock.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 26 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 27 | self.sunny_program.to_account_info(), [INFO] [stdout] 28 | / sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 29 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 30 | | vault_vendor_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] 31 | | stake: sunny_anchor::cpi::accounts::QuarryStake { [INFO] [stdout] ... | [INFO] [stdout] 42 | | }, [INFO] [stdout] 43 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 26 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 27 | self.sunny_program.to_account_info(), [INFO] [stdout] 28 | / sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 29 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 30 | | vault_vendor_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] 31 | | stake: sunny_anchor::cpi::accounts::QuarryStake { [INFO] [stdout] ... | [INFO] [stdout] 42 | | }, [INFO] [stdout] 43 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_signer` exists for struct `CpiContext<'_, '_, '_, '_, QuarryStakeVendor<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 26 | / CpiContext::new( [INFO] [stdout] 27 | | self.sunny_program.to_account_info(), [INFO] [stdout] 28 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 29 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | .with_signer(signer_seeds), [INFO] [stdout] | | -^^^^^^^^^^^ method cannot be called on `CpiContext<'_, '_, '_, '_, QuarryStakeVendor<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- doesn't satisfy `_: ToAccountInfos<'_>` or `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountMetas` [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | / CpiContext::new( [INFO] [stdout] 27 | | self.sunny_program.to_account_info(), [INFO] [stdout] 28 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 29 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 43 | | }, [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | / CpiContext::new( [INFO] [stdout] 27 | | self.sunny_program.to_account_info(), [INFO] [stdout] 28 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 29 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 43 | | }, [INFO] [stdout] 44 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> src/instructions/deposit_vendor.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 25 | / sunny_anchor::cpi::deposit_vendor( [INFO] [stdout] 26 | | CpiContext::new( [INFO] [stdout] 27 | | self.sunny_program.to_account_info(), [INFO] [stdout] 28 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] ... | [INFO] [stdout] 45 | | .with_signer(signer_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<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | assert_keys_eq!(self.pool, self.arrow.pool, "pool"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | assert_keys_eq!(self.pool, self.arrow.pool, "pool"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | assert_keys_eq!(self.pool, self.arrow.pool, "pool"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | assert_keys_eq!(self.vault, self.arrow.vault, "vault"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | assert_keys_eq!(self.vault, self.arrow.vault, "vault"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | assert_keys_eq!(self.vault, self.arrow.vault, "vault"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | assert_keys_eq!(self.vault_vendor_token_account.owner, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | assert_keys_eq!(self.vault_vendor_token_account.owner, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/deposit_vendor.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | assert_keys_eq!(self.vault_vendor_token_account.owner, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | ArrowMiner::create_for_vault(&self.miner, &self.pool.key(), &self.vault.key()); [INFO] [stdout] | ^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:13:85 [INFO] [stdout] | [INFO] [stdout] 13 | ArrowMiner::create_for_vault(&self.miner, &self.pool.key(), &self.vault.key()); [INFO] [stdout] | ^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- doesn't satisfy `Vault: anchor_lang::AccountDeserialize`, `Vault: anchor_lang::AccountSerialize` or `Vault: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vault: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::Key` [INFO] [stdout] `Vault: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::Key` [INFO] [stdout] `Vault: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:23:66 [INFO] [stdout] | [INFO] [stdout] 23 | ArrowMiner::create_for_vault(&self.miner, &self.pool.key(), &self.vault.key()); [INFO] [stdout] | ^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:23:85 [INFO] [stdout] | [INFO] [stdout] 23 | ArrowMiner::create_for_vault(&self.miner, &self.pool.key(), &self.vault.key()); [INFO] [stdout] | ^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- doesn't satisfy `Vault: anchor_lang::AccountDeserialize`, `Vault: anchor_lang::AccountSerialize` or `Vault: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vault: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::Key` [INFO] [stdout] `Vault: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::Key` [INFO] [stdout] `Vault: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | miner: self.miner.miner.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | quarry: self.miner.quarry.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | rewarder: self.miner.rewarder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | token_mint: self.miner.token_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | miner_vault: self.miner.miner_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | payer: self.payer.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | mine_program: self.mine_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | system_program: self.system_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitMiner<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 30 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 31 | self.sunny_program.to_account_info(), [INFO] [stdout] 32 | / sunny_anchor::cpi::accounts::InitMiner { [INFO] [stdout] 33 | | pool: self.pool.to_account_info(), [INFO] [stdout] 34 | | vault: self.vault.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | token_program: self.token_program.to_account_info(), [INFO] [stdout] 46 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::InitMiner<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitMiner<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::InitMiner<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitMiner<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 30 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 31 | self.sunny_program.to_account_info(), [INFO] [stdout] 32 | / sunny_anchor::cpi::accounts::InitMiner { [INFO] [stdout] 33 | | pool: self.pool.to_account_info(), [INFO] [stdout] 34 | | vault: self.vault.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | token_program: self.token_program.to_account_info(), [INFO] [stdout] 46 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::InitMiner<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitMiner<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / CpiContext::new( [INFO] [stdout] 31 | | self.sunny_program.to_account_info(), [INFO] [stdout] 32 | | sunny_anchor::cpi::accounts::InitMiner { [INFO] [stdout] 33 | | pool: self.pool.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::InitMiner<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitMiner<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | / CpiContext::new( [INFO] [stdout] 31 | | self.sunny_program.to_account_info(), [INFO] [stdout] 32 | | sunny_anchor::cpi::accounts::InitMiner { [INFO] [stdout] 33 | | pool: self.pool.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::InitMiner<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 29 | sunny_anchor::cpi::init_miner( [INFO] [stdout] | ----------------------------- arguments to this function are incorrect [INFO] [stdout] 30 | / CpiContext::new( [INFO] [stdout] 31 | | self.sunny_program.to_account_info(), [INFO] [stdout] 32 | | sunny_anchor::cpi::accounts::InitMiner { [INFO] [stdout] 33 | | pool: self.pool.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }, [INFO] [stdout] 47 | | ), [INFO] [stdout] | |_____________^ expected `CpiContext<'_, '_, '_, '_, ...>`, found a different `CpiContext<'_, '_, '_, '_, ...>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] = 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/sunny-anchor-0.3.1/src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn init_miner(_ctx: Context, _bump: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | fn init_miner(&self, bump: u8) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), anchor_lang::error::Error>` because of return type [INFO] [stdout] 29 | / sunny_anchor::cpi::init_miner( [INFO] [stdout] 30 | | CpiContext::new( [INFO] [stdout] 31 | | self.sunny_program.to_account_info(), [INFO] [stdout] 32 | | sunny_anchor::cpi::accounts::InitMiner { [INFO] [stdout] ... | [INFO] [stdout] 48 | | bump, [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_________^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/error.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/error.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the found type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `quarry` on type `Box>` [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 89 | assert_keys_eq!(self.pool.quarry, self.miner.quarry); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rewarder` on type `Box>` [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:90:35 [INFO] [stdout] | [INFO] [stdout] 90 | assert_keys_eq!(self.pool.rewarder, self.miner.rewarder); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rewards_mint` on type `Box>` [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | self.pool.rewards_mint, [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `vendor_mint` on type `Box>` [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | assert_keys_eq!(self.pool.vendor_mint, self.miner.quarry.token_mint_key); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `internal_mint` on type `Box>` [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | assert_keys_eq!(self.pool.internal_mint, self.miner.quarry.token_mint_key); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/init_arrow_miners.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/new_arrow.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/new_arrow.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/new_arrow.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | payer: self.payer.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/new_arrow.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | system_program: self.system_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitVault<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 11 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 12 | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | / sunny_anchor::cpi::accounts::InitVault { [INFO] [stdout] 14 | | pool: self.pool.to_account_info(), [INFO] [stdout] 15 | | owner: self.arrow.to_account_info(), [INFO] [stdout] 16 | | vault: self.vault.to_account_info(), [INFO] [stdout] 17 | | payer: self.payer.to_account_info(), [INFO] [stdout] 18 | | system_program: self.system_program.to_account_info(), [INFO] [stdout] 19 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::InitVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::InitVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 11 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 12 | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | / sunny_anchor::cpi::accounts::InitVault { [INFO] [stdout] 14 | | pool: self.pool.to_account_info(), [INFO] [stdout] 15 | | owner: self.arrow.to_account_info(), [INFO] [stdout] 16 | | vault: self.vault.to_account_info(), [INFO] [stdout] 17 | | payer: self.payer.to_account_info(), [INFO] [stdout] 18 | | system_program: self.system_program.to_account_info(), [INFO] [stdout] 19 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::InitVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitVault<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | / CpiContext::new( [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::InitVault { [INFO] [stdout] 14 | | pool: self.pool.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 19 | | }, [INFO] [stdout] 20 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::InitVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::InitVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | / CpiContext::new( [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::InitVault { [INFO] [stdout] 14 | | pool: self.pool.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 19 | | }, [INFO] [stdout] 20 | | ), [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::InitVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/new_arrow.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 10 | sunny_anchor::cpi::init_vault( [INFO] [stdout] | ----------------------------- arguments to this function are incorrect [INFO] [stdout] 11 | / CpiContext::new( [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::InitVault { [INFO] [stdout] 14 | | pool: self.pool.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 19 | | }, [INFO] [stdout] 20 | | ), [INFO] [stdout] | |_____________^ expected `CpiContext<'_, '_, '_, '_, ...>`, found a different `CpiContext<'_, '_, '_, '_, ...>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] = 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/sunny-anchor-0.3.1/src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_vault(_ctx: Context, _bump: u8) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/new_arrow.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn init_vault(&self, bump: u8) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), anchor_lang::error::Error>` because of return type [INFO] [stdout] 10 | / sunny_anchor::cpi::init_vault( [INFO] [stdout] 11 | | CpiContext::new( [INFO] [stdout] 12 | | self.sunny_program.to_account_info(), [INFO] [stdout] 13 | | sunny_anchor::cpi::accounts::InitVault { [INFO] [stdout] ... | [INFO] [stdout] 21 | | bump, [INFO] [stdout] 22 | | ) [INFO] [stdout] | |_________^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/error.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/error.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the found type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | arrow.pool = self.pool.key(); [INFO] [stdout] | ^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/new_arrow.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | pool: self.pool.key(), [INFO] [stdout] | ^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `vendor_mint` on type `Box>` [INFO] [stdout] --> src/instructions/new_arrow.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | vendor_mint: self.pool.vendor_mint, [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `vendor_mint` on type `Box>` [INFO] [stdout] --> src/instructions/new_arrow.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | assert_keys_eq!(self.pool.vendor_mint, self.vendor_mint); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | internal_mint: self.internal_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | internal_mint_token_account: self [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 18 | | .vault_internal_token_account [INFO] [stdout] 19 | | .to_account_info(), [INFO] [stdout] | |__________________________________________^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | rewarder: self.internal_stake.rewarder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | quarry: self.internal_stake.quarry.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | miner: self.internal_stake.miner.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | miner_vault: self.internal_stake.miner_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | mine_program: self.mine_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | clock: self.clock.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 12 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 13 | self.sunny_program.to_account_info(), [INFO] [stdout] 14 | / sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 15 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 16 | | internal_mint: self.internal_mint.to_account_info(), [INFO] [stdout] 17 | | internal_mint_token_account: self [INFO] [stdout] ... | [INFO] [stdout] 31 | | }, [INFO] [stdout] 32 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 12 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 13 | self.sunny_program.to_account_info(), [INFO] [stdout] 14 | / sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 15 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 16 | | internal_mint: self.internal_mint.to_account_info(), [INFO] [stdout] 17 | | internal_mint_token_account: self [INFO] [stdout] ... | [INFO] [stdout] 31 | | }, [INFO] [stdout] 32 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_signer` exists for struct `CpiContext<'_, '_, '_, '_, QuarryStakeInternal<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 12 | / CpiContext::new( [INFO] [stdout] 13 | | self.sunny_program.to_account_info(), [INFO] [stdout] 14 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 15 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 34 | | .with_signer(signer_seeds), [INFO] [stdout] | | -^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- doesn't satisfy `_: ToAccountInfos<'_>` or `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountMetas` [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / CpiContext::new( [INFO] [stdout] 13 | | self.sunny_program.to_account_info(), [INFO] [stdout] 14 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 15 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / CpiContext::new( [INFO] [stdout] 13 | | self.sunny_program.to_account_info(), [INFO] [stdout] 14 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 15 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/stake_internal.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn stake_internal(&self) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), anchor_lang::error::Error>` because of return type [INFO] [stdout] 10 | let signer_seeds: &[&[&[u8]]] = gen_arrow_signer_seeds!(self.arrow); [INFO] [stdout] 11 | / sunny_anchor::cpi::stake_internal( [INFO] [stdout] 12 | | CpiContext::new( [INFO] [stdout] 13 | | self.sunny_program.to_account_info(), [INFO] [stdout] 14 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] ... | [INFO] [stdout] 34 | | .with_signer(signer_seeds), [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_________^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/error.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/error.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the found type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/stake_internal.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | internal_mint: self.internal_mint.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | internal_mint_token_account: self [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 52 | | .vault_internal_token_account [INFO] [stdout] 53 | | .to_account_info(), [INFO] [stdout] | |__________________________________________^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | rewarder: self.internal_stake.rewarder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | quarry: self.internal_stake.quarry.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | miner: self.internal_stake.miner.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | miner_vault: self.internal_stake.miner_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:60:41 [INFO] [stdout] | [INFO] [stdout] 60 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | mine_program: self.mine_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/unstake_internal.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | clock: self.clock.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 46 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 47 | self.sunny_program.to_account_info(), [INFO] [stdout] 48 | / sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 49 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 50 | | internal_mint: self.internal_mint.to_account_info(), [INFO] [stdout] 51 | | internal_mint_token_account: self [INFO] [stdout] ... | [INFO] [stdout] 65 | | }, [INFO] [stdout] 66 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 46 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 47 | self.sunny_program.to_account_info(), [INFO] [stdout] 48 | / sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 49 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 50 | | internal_mint: self.internal_mint.to_account_info(), [INFO] [stdout] 51 | | internal_mint_token_account: self [INFO] [stdout] ... | [INFO] [stdout] 65 | | }, [INFO] [stdout] 66 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_signer` exists for struct `CpiContext<'_, '_, '_, '_, QuarryStakeInternal<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 46 | / CpiContext::new( [INFO] [stdout] 47 | | self.sunny_program.to_account_info(), [INFO] [stdout] 48 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 49 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 68 | | .with_signer(signer_seeds), [INFO] [stdout] | | -^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- doesn't satisfy `_: ToAccountInfos<'_>` or `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountMetas` [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / CpiContext::new( [INFO] [stdout] 47 | | self.sunny_program.to_account_info(), [INFO] [stdout] 48 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 49 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 66 | | }, [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/unstake_internal.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / CpiContext::new( [INFO] [stdout] 47 | | self.sunny_program.to_account_info(), [INFO] [stdout] 48 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] 49 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 66 | | }, [INFO] [stdout] 67 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeInternal<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> src/instructions/unstake_internal.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 45 | / sunny_anchor::cpi::unstake_internal( [INFO] [stdout] 46 | | CpiContext::new( [INFO] [stdout] 47 | | self.sunny_program.to_account_info(), [INFO] [stdout] 48 | | sunny_anchor::cpi::accounts::QuarryStakeInternal { [INFO] [stdout] ... | [INFO] [stdout] 69 | | amount, [INFO] [stdout] 70 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | vault_token_account: self.vault_rewards_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | token_destination: self.arrow_staging_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | fee_destination: self.sunny_pool_fee_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 14 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 15 | self.sunny_program.to_account_info(), [INFO] [stdout] 16 | / sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 17 | | owner: self.arrow.to_account_info(), [INFO] [stdout] 18 | | pool: self.pool.to_account_info(), [INFO] [stdout] 19 | | vault: self.vault.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 23 | | token_program: self.token_program.to_account_info(), [INFO] [stdout] 24 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 14 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 15 | self.sunny_program.to_account_info(), [INFO] [stdout] 16 | / sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 17 | | owner: self.arrow.to_account_info(), [INFO] [stdout] 18 | | pool: self.pool.to_account_info(), [INFO] [stdout] 19 | | vault: self.vault.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 23 | | token_program: self.token_program.to_account_info(), [INFO] [stdout] 24 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_signer` exists for struct `CpiContext<'_, '_, '_, '_, WithdrawFromVault<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 14 | / CpiContext::new( [INFO] [stdout] 15 | | self.sunny_program.to_account_info(), [INFO] [stdout] 16 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 17 | | owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 26 | | .with_signer(signer_seeds), [INFO] [stdout] | | -^^^^^^^^^^^ method cannot be called on `CpiContext<'_, '_, '_, '_, WithdrawFromVault<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- doesn't satisfy `_: ToAccountInfos<'_>` or `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountMetas` [INFO] [stdout] `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | / CpiContext::new( [INFO] [stdout] 15 | | self.sunny_program.to_account_info(), [INFO] [stdout] 16 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 17 | | owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 24 | | }, [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | / CpiContext::new( [INFO] [stdout] 15 | | self.sunny_program.to_account_info(), [INFO] [stdout] 16 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 17 | | owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 24 | | }, [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 13 | / sunny_anchor::cpi::withdraw_from_vault( [INFO] [stdout] 14 | | CpiContext::new( [INFO] [stdout] 15 | | self.sunny_program.to_account_info(), [INFO] [stdout] 16 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] ... | [INFO] [stdout] 26 | | .with_signer(signer_seeds), [INFO] [stdout] 27 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | assert_keys_eq!(self.sunny_pool_fee_account.owner, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | assert_keys_eq!(self.sunny_pool_fee_account.owner, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | assert_keys_eq!(self.sunny_pool_fee_account.owner, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | assert_keys_eq!(self.arrow.pool, self.pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_rewards_to_beneficiary.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | assert_keys_eq!(self.arrow.vault, self.vault); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `Box>` to implement `vipers::AsKeyRef` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | vault_vendor_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | rewarder: self.vendor_stake.rewarder.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | quarry: self.vendor_stake.quarry.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | miner: self.vendor_stake.miner.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | miner_vault: self.vendor_stake.miner_vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | mine_program: self.mine_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | clock: self.clock.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 25 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 26 | self.sunny_program.to_account_info(), [INFO] [stdout] 27 | / sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 28 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 29 | | vault_vendor_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] 30 | | stake: sunny_anchor::cpi::accounts::QuarryStake { [INFO] [stdout] ... | [INFO] [stdout] 41 | | }, [INFO] [stdout] 42 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 25 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 26 | self.sunny_program.to_account_info(), [INFO] [stdout] 27 | / sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 28 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] 29 | | vault_vendor_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] 30 | | stake: sunny_anchor::cpi::accounts::QuarryStake { [INFO] [stdout] ... | [INFO] [stdout] 41 | | }, [INFO] [stdout] 42 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_signer` exists for struct `CpiContext<'_, '_, '_, '_, QuarryStakeVendor<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 25 | / CpiContext::new( [INFO] [stdout] 26 | | self.sunny_program.to_account_info(), [INFO] [stdout] 27 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 28 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 44 | | .with_signer(signer_seeds), [INFO] [stdout] | | -^^^^^^^^^^^ method cannot be called on `CpiContext<'_, '_, '_, '_, QuarryStakeVendor<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- doesn't satisfy `_: ToAccountInfos<'_>` or `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountMetas` [INFO] [stdout] `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | / CpiContext::new( [INFO] [stdout] 26 | | self.sunny_program.to_account_info(), [INFO] [stdout] 27 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 28 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 42 | | }, [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | / CpiContext::new( [INFO] [stdout] 26 | | self.sunny_program.to_account_info(), [INFO] [stdout] 27 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] 28 | | vault_owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 42 | | }, [INFO] [stdout] 43 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::QuarryStakeVendor<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 24 | / sunny_anchor::cpi::withdraw_vendor( [INFO] [stdout] 25 | | CpiContext::new( [INFO] [stdout] 26 | | self.sunny_program.to_account_info(), [INFO] [stdout] 27 | | sunny_anchor::cpi::accounts::QuarryStakeVendor { [INFO] [stdout] ... | [INFO] [stdout] 45 | | amount, [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<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | self.sunny_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Program<'info, SunnyAnchor>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | owner: self.arrow.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | pool: self.pool.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | vault: self.vault.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Box>: AsRef>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: AsRef>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | vault_token_account: self.vault_vendor_token_account.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | token_destination: self.depositor_staked_tokens.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | fee_destination: fee_destination.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | token_program: self.token_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `solana_account_info::AccountInfo<'_>`, found `anchor_lang::prelude::AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `anchor_lang::prelude::AccountInfo<'_>` and `solana_account_info::AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `anchor_lang::prelude::AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_account_info::AccountInfo<'_>` is defined in crate `solana_account_info` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 49 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 50 | self.sunny_program.to_account_info(), [INFO] [stdout] 51 | / sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 52 | | owner: self.arrow.to_account_info(), [INFO] [stdout] 53 | | pool: self.pool.to_account_info(), [INFO] [stdout] 54 | | vault: self.vault.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 58 | | token_program: self.token_program.to_account_info(), [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 49 | CpiContext::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 50 | self.sunny_program.to_account_info(), [INFO] [stdout] 51 | / sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 52 | | owner: self.arrow.to_account_info(), [INFO] [stdout] 53 | | pool: self.pool.to_account_info(), [INFO] [stdout] 54 | | vault: self.vault.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 58 | | token_program: self.token_program.to_account_info(), [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_________________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:177:25 [INFO] [stdout] | [INFO] [stdout] 177 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 178 | { [INFO] [stdout] 179 | pub fn new(program: AccountInfo<'info>, accounts: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_signer` exists for struct `CpiContext<'_, '_, '_, '_, WithdrawFromVault<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 49 | / CpiContext::new( [INFO] [stdout] 50 | | self.sunny_program.to_account_info(), [INFO] [stdout] 51 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 52 | | owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 61 | | .with_signer(signer_seeds), [INFO] [stdout] | | -^^^^^^^^^^^ method cannot be called on `CpiContext<'_, '_, '_, '_, WithdrawFromVault<'_>>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- doesn't satisfy `_: ToAccountInfos<'_>` or `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountMetas` [INFO] [stdout] `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | / CpiContext::new( [INFO] [stdout] 50 | | self.sunny_program.to_account_info(), [INFO] [stdout] 51 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 52 | | owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 59 | | }, [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | / CpiContext::new( [INFO] [stdout] 50 | | self.sunny_program.to_account_info(), [INFO] [stdout] 51 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] 52 | | owner: self.arrow.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 59 | | }, [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `sunny_anchor::cpi::accounts::WithdrawFromVault<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 166 | where [INFO] [stdout] 167 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/withdraw_vendor_tokens.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `std::result::Result<(), anchor_lang::error::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 48 | / sunny_anchor::cpi::withdraw_from_vault( [INFO] [stdout] 49 | | CpiContext::new( [INFO] [stdout] 50 | | self.sunny_program.to_account_info(), [INFO] [stdout] 51 | | sunny_anchor::cpi::accounts::WithdrawFromVault { [INFO] [stdout] ... | [INFO] [stdout] 61 | | .with_signer(signer_seeds), [INFO] [stdout] 62 | | ) [INFO] [stdout] | |_________^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/error.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the expected type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/error.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the found type `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` 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] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub pool: Box>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub pool: Box>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub pool: Box>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- doesn't satisfy `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- doesn't satisfy `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` 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] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub pool: Box>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub pool: Box>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub pool: Box>, [INFO] [stdout] | ^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub vault: Box>, [INFO] [stdout] | ^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub vault: Box>, [INFO] [stdout] | ^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub vault: Box>, [INFO] [stdout] | ^^^^^ the trait `anchor_lang::Owner` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SunnyAnchor: anchor_lang::Id` is not satisfied [INFO] [stdout] --> src/lib.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | pub sunny_program: Program<'info, sunny_anchor::program::SunnyAnchor>, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `SunnyAnchor` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ^^ required by this bound in `Program` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- doesn't satisfy `Vault: anchor_lang::AccountDeserialize`, `Vault: anchor_lang::AccountSerialize` or `Vault: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Vault: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Vault: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `Vault: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- doesn't satisfy `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- doesn't satisfy `Pool: anchor_lang::AccountDeserialize`, `Pool: anchor_lang::AccountSerialize` or `Pool: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Pool: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Pool: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Pool: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Pool>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `Box>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Box>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- doesn't satisfy `Vault: anchor_lang::AccountDeserialize`, `Vault: anchor_lang::AccountSerialize` or `Vault: anchor_lang::Owner` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ----------------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountMetas` [INFO] [stdout] which is required by `Box>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Vault: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Vault: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountMetas` [INFO] [stdout] `Vault: anchor_lang::Owner` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, Vault>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `anchor_lang::prelude::Program<'info, SunnyAnchor>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:151:10 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `anchor_lang::prelude::Program<'info, SunnyAnchor>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[program] [INFO] [stdout] | ---------- doesn't satisfy `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/program.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Program<'info, T: Id + Clone> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SunnyAnchor: anchor_lang::Id` [INFO] [stdout] which is required by `anchor_lang::prelude::Program<'info, SunnyAnchor>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:49 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Pool: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Pool { [INFO] [stdout] | --------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:70 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Owner + Clone> { [INFO] [stdout] | ^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vault: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `Vault` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/account_validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sunny_anchor::{Pool, Vault}; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `sunny_anchor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sunny-anchor-0.3.1/src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Vault { [INFO] [stdout] | ---------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/accounts/account.rs:226:30 [WARN] too many lines in the log, truncating it