[INFO] cloning repository https://github.com/beautybliss-toml/Defi-Staking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beautybliss-toml/Defi-Staking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeautybliss-toml%2FDefi-Staking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeautybliss-toml%2FDefi-Staking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9740c50e9fbef801074c0e93eba13015b20ea575 [INFO] checking beautybliss-toml/Defi-Staking/9740c50e9fbef801074c0e93eba13015b20ea575 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeautybliss-toml%2FDefi-Staking" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beautybliss-toml/Defi-Staking on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beautybliss-toml/Defi-Staking [INFO] finished tweaking git repo https://github.com/beautybliss-toml/Defi-Staking [INFO] tweaked toml for git repo https://github.com/beautybliss-toml/Defi-Staking written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/beautybliss-toml/Defi-Staking already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding aead v0.4.3 [INFO] [stderr] Adding aes v0.7.5 [INFO] [stderr] Adding aes-gcm-siv v0.10.3 [INFO] [stderr] Adding anchor-attribute-access-control v0.29.0 [INFO] [stderr] Adding anchor-attribute-account v0.29.0 [INFO] [stderr] Adding anchor-attribute-constant v0.29.0 [INFO] [stderr] Adding anchor-attribute-error v0.29.0 [INFO] [stderr] Adding anchor-attribute-event v0.29.0 [INFO] [stderr] Adding anchor-attribute-program v0.29.0 [INFO] [stderr] Adding anchor-derive-accounts v0.29.0 [INFO] [stderr] Adding anchor-derive-serde v0.29.0 [INFO] [stderr] Adding anchor-derive-space v0.29.0 [INFO] [stderr] Adding anchor-lang v0.29.0 (available: v0.30.1) [INFO] [stderr] Adding anchor-spl v0.29.0 (available: v0.30.1) [INFO] [stderr] Adding anchor-syn v0.29.0 [INFO] [stderr] Adding assert_matches v1.5.0 [INFO] [stderr] Adding atty v0.2.14 [INFO] [stderr] Adding base64 v0.13.1 [INFO] [stderr] Adding block-padding v0.2.1 [INFO] [stderr] Adding chrono v0.4.38 [INFO] [stderr] Adding cipher v0.3.0 [INFO] [stderr] Adding ctr v0.8.0 [INFO] [stderr] Adding darling v0.20.10 [INFO] [stderr] Adding darling_core v0.20.10 [INFO] [stderr] Adding darling_macro v0.20.10 [INFO] [stderr] Adding derivation-path v0.2.0 [INFO] [stderr] Adding ed25519 v1.5.3 [INFO] [stderr] Adding ed25519-dalek v1.0.1 [INFO] [stderr] Adding ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Adding env_logger v0.9.3 [INFO] [stderr] Adding fast-math v0.1.1 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding hermit-abi v0.1.19 [INFO] [stderr] Adding hex v0.4.3 [INFO] [stderr] Adding hmac v0.12.1 [INFO] [stderr] Adding humantime v2.1.0 [INFO] [stderr] Adding ident_case v1.0.1 [INFO] [stderr] Adding ieee754 v0.2.6 [INFO] [stderr] Adding merlin v3.0.0 [INFO] [stderr] Adding num v0.4.3 [INFO] [stderr] Adding num-complex v0.4.6 [INFO] [stderr] Adding num-iter v0.1.45 [INFO] [stderr] Adding num-rational v0.4.2 [INFO] [stderr] Adding num_enum v0.7.3 [INFO] [stderr] Adding num_enum_derive v0.7.3 [INFO] [stderr] Adding pbkdf2 v0.11.0 [INFO] [stderr] Adding percent-encoding v2.3.1 [INFO] [stderr] Adding polyval v0.5.3 [INFO] [stderr] Adding pyth-solana-receiver-sdk v0.3.2 [INFO] [stderr] Adding pythnet-sdk v2.3.1 [INFO] [stderr] Adding qstring v0.7.2 [INFO] [stderr] Adding qualifier_attr v0.2.2 [INFO] [stderr] Adding serde_with v2.3.3 [INFO] [stderr] Adding serde_with_macros v2.3.3 [INFO] [stderr] Adding sha3 v0.9.1 [INFO] [stderr] Adding signature v1.6.4 [INFO] [stderr] Adding siphasher v0.3.11 [INFO] [stderr] Adding slow_primes v0.1.14 [INFO] [stderr] Adding solana-logger v1.18.26 [INFO] [stderr] Adding solana-sdk v1.18.26 [INFO] [stderr] Adding solana-security-txt v1.1.1 [INFO] [stderr] Adding solana-zk-token-sdk v1.18.26 [INFO] [stderr] Adding spl-associated-token-account v2.3.0 [INFO] [stderr] Adding spl-discriminator v0.1.0 [INFO] [stderr] Adding spl-discriminator-derive v0.1.2 [INFO] [stderr] Adding spl-discriminator-syn v0.1.2 [INFO] [stderr] Adding spl-memo v4.0.4 [INFO] [stderr] Adding spl-pod v0.1.0 [INFO] [stderr] Adding spl-program-error v0.3.0 [INFO] [stderr] Adding spl-program-error-derive v0.3.2 [INFO] [stderr] Adding spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Adding spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Adding spl-token v4.0.3 [INFO] [stderr] Adding spl-token-2022 v0.9.0 [INFO] [stderr] Adding spl-token-2022 v1.0.0 [INFO] [stderr] Adding spl-token-group-interface v0.1.0 [INFO] [stderr] Adding spl-token-metadata-interface v0.2.0 [INFO] [stderr] Adding spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Adding spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Adding spl-type-length-value v0.3.0 [INFO] [stderr] Adding strsim v0.11.1 [INFO] [stderr] Downgrading subtle v2.6.1 -> v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding termcolor v1.4.1 [INFO] [stderr] Adding universal-hash v0.4.1 [INFO] [stderr] Adding uriparse v0.6.4 [INFO] [stderr] Adding winapi v0.3.9 [INFO] [stderr] Adding winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding winapi-util v0.1.9 [INFO] [stderr] Adding winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding windows-sys v0.59.0 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh v1.5.1 [INFO] [stderr] Downloaded pyth-solana-receiver-sdk v0.3.2 [INFO] [stderr] Downloaded anyhow v1.0.92 [INFO] [stderr] Downloaded solana-security-txt v1.1.1 [INFO] [stderr] Downloaded fast-math v0.1.1 [INFO] [stderr] Downloaded slow_primes v0.1.14 [INFO] [stderr] Downloaded anchor-attribute-program v0.29.0 [INFO] [stderr] Downloaded anchor-attribute-constant v0.29.0 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.29.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.29.0 [INFO] [stderr] Downloaded anchor-derive-space v0.29.0 [INFO] [stderr] Downloaded spl-associated-token-account v2.3.0 [INFO] [stderr] Downloaded spl-token v4.0.3 [INFO] [stderr] Downloaded anchor-syn v0.29.0 [INFO] [stderr] Downloaded serde_with v2.3.3 [INFO] [stderr] Downloaded anchor-attribute-account v0.29.0 [INFO] [stderr] Downloaded spl-token-2022 v1.0.0 [INFO] [stderr] Downloaded solana-sdk v1.18.26 [INFO] [stderr] Downloaded anchor-lang v0.29.0 [INFO] [stderr] Downloaded serde_with_macros v2.3.3 [INFO] [stderr] Downloaded spl-token-2022 v0.9.0 [INFO] [stderr] Downloaded aes-gcm-siv v0.10.3 [INFO] [stderr] Downloaded qualifier_attr v0.2.2 [INFO] [stderr] Downloaded spl-discriminator-syn v0.1.2 [INFO] [stderr] Downloaded spl-discriminator-derive v0.1.2 [INFO] [stderr] Downloaded uriparse v0.6.4 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.2.0 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Downloaded spl-program-error-derive v0.3.2 [INFO] [stderr] Downloaded spl-type-length-value v0.3.0 [INFO] [stderr] Downloaded anchor-spl v0.29.0 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded anchor-attribute-error v0.29.0 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Downloaded spl-discriminator v0.1.0 [INFO] [stderr] Downloaded merlin v3.0.0 [INFO] [stderr] Downloaded derivation-path v0.2.0 [INFO] [stderr] Downloaded spl-pod v0.1.0 [INFO] [stderr] Downloaded pythnet-sdk v2.3.1 [INFO] [stderr] Downloaded anchor-derive-accounts v0.29.0 [INFO] [stderr] Downloaded anchor-derive-serde v0.29.0 [INFO] [stderr] Downloaded spl-memo v4.0.4 [INFO] [stderr] Downloaded ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Downloaded solana-logger v1.18.26 [INFO] [stderr] Downloaded syn v2.0.86 [INFO] [stderr] Downloaded cc v1.1.31 [INFO] [stderr] Downloaded spl-token-group-interface v0.1.0 [INFO] [stderr] Downloaded spl-program-error v0.3.0 [INFO] [stderr] Downloaded thiserror v1.0.66 [INFO] [stderr] Downloaded borsh-derive v1.5.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.66 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.18.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96626672e6ff0fcf453413fe3aaf7b96298e128916967721cd0b9c98454b74da [INFO] running `Command { std: "docker" "start" "-a" "96626672e6ff0fcf453413fe3aaf7b96298e128916967721cd0b9c98454b74da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96626672e6ff0fcf453413fe3aaf7b96298e128916967721cd0b9c98454b74da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96626672e6ff0fcf453413fe3aaf7b96298e128916967721cd0b9c98454b74da", kill_on_drop: false }` [INFO] [stdout] 96626672e6ff0fcf453413fe3aaf7b96298e128916967721cd0b9c98454b74da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e34484211466b04711bec8400f735061de8d4f75bf9bde901a642411bf1e6432 [INFO] running `Command { std: "docker" "start" "-a" "e34484211466b04711bec8400f735061de8d4f75bf9bde901a642411bf1e6432", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking fast-math v0.1.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking slow_primes v0.1.14 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking solana-logger v1.18.26 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling anchor-derive-space v0.30.1 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling anchor-syn v0.30.1 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling anchor-lang-idl v0.1.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.30.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.30.1 [INFO] [stderr] Compiling anchor-attribute-error v0.30.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.30.1 [INFO] [stderr] Compiling anchor-derive-serde v0.30.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.30.1 [INFO] [stderr] Compiling anchor-attribute-program v0.30.1 [INFO] [stderr] Compiling anchor-attribute-event v0.30.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking spl-program-error v0.3.0 [INFO] [stderr] Checking spl-discriminator v0.1.0 [INFO] [stderr] Checking spl-token v4.0.3 [INFO] [stderr] Checking spl-memo v4.0.4 [INFO] [stderr] Checking anchor-lang v0.30.1 [INFO] [stderr] Checking anchor-lang v0.29.0 [INFO] [stderr] Checking pythnet-sdk v2.3.1 [INFO] [stderr] Checking pyth-solana-receiver-sdk v0.3.2 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.26 [INFO] [stderr] Checking spl-pod v0.1.0 [INFO] [stderr] Checking spl-type-length-value v0.3.0 [INFO] [stderr] Checking spl-token-group-interface v0.1.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Checking spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Checking spl-token-2022 v1.0.0 [INFO] [stderr] Checking spl-token-2022 v0.9.0 [INFO] [stderr] Checking spl-associated-token-account v2.3.0 [INFO] [stderr] Checking anchor-spl v0.29.0 [INFO] [stderr] Checking ohm-fork-defi-staking v0.1.0 (/opt/rustwide/workdir/programs/ohm-fork-defi-staking) [INFO] [stdout] error[E0277]: the trait bound `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::Owner` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::Owner` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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[E0599]: the method `to_account_infos` exists for struct `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountMetas` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountMetas` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let sol_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn buy_ohm_with_sol(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 57 | &get_feed_id_from_hex(SOL_USD_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let sol_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn buy_ohm_with_sol(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 57 | &get_feed_id_from_hex(SOL_USD_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let ohm_token_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn buy_ohm_with_sol(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 62 | &get_feed_id_from_hex(OHM_FOKK_TOKEN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let ohm_token_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn buy_ohm_with_sol(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 62 | &get_feed_id_from_hex(OHM_FOKK_TOKEN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::Owner` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::Owner` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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[E0599]: the method `to_account_infos` exists for struct `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountMetas` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountMetas` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | let sol_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | let sol_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 98 | &get_feed_id_from_hex(SOL_USD_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 98 | &get_feed_id_from_hex(SOL_USD_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 105 | &get_feed_id_from_hex(FWOG_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:105:58 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 105 | &get_feed_id_from_hex(FWOG_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:124:58 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 124 | &get_feed_id_from_hex(BONK_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:124:58 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 124 | &get_feed_id_from_hex(BONK_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:143:60 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 143 | &get_feed_id_from_hex(POPCAT_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/stake_meme_coin.rs:143:60 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn stake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 143 | &get_feed_id_from_hex(POPCAT_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::Owner` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::Owner` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountSerialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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 `PriceUpdateV2: anchor_lang::AccountDeserialize` is not satisfied because the trait comes from a different crate version [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | price_update: Account<'info, PriceUpdateV2>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `PriceUpdateV2` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-6f17d22bba15001f/anchor-lang-0.29.0/src/lib.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/ohm_initialize.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` is used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: programs/ohm-fork-defi-staking/src/instructions/ohm_staking/buy_ohm_with_sol.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ------------------------ one version of crate `anchor_lang` is used here, as a dependency of crate `pyth_solana_receiver_sdk` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.30.1/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | pub trait Accounts<'info, B>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ---------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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[E0599]: the method `to_account_infos` exists for struct `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountMetas` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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 `Account<'info, PriceUpdateV2>`, but its trait bounds were not satisfied [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Account<'info, PriceUpdateV2>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyth-solana-receiver-sdk-0.3.2/src/price_update.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct PriceUpdateV2 { [INFO] [stdout] | ------------------------ doesn't satisfy `PriceUpdateV2: anchor_lang::AccountDeserialize` or `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.29.0/src/accounts/account.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: anchor_lang::ToAccountMetas` [INFO] [stdout] `PriceUpdateV2: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, PriceUpdateV2>: 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]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | let sol_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | let sol_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 108 | &get_feed_id_from_hex(SOL_USD_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 108 | &get_feed_id_from_hex(SOL_USD_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 115 | &get_feed_id_from_hex(FWOG_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 115 | &get_feed_id_from_hex(FWOG_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:131:44 [INFO] [stdout] | [INFO] [stdout] 131 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 134 | &get_feed_id_from_hex(BONK_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:131:44 [INFO] [stdout] | [INFO] [stdout] 131 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 134 | &get_feed_id_from_hex(BONK_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 153 | &get_feed_id_from_hex(POPCAT_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_price_no_older_than` found for mutable reference `&mut anchor_lang::prelude::Account<'_, PriceUpdateV2>` in the current scope [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | let meme_coin_price = price_update.get_price_no_older_than( [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut Account<'_, PriceUpdateV2>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> programs/ohm-fork-defi-staking/src/instructions/meme_coin_staking/unstake_meme_coin.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn unstake_meme_coin(ctx: Context, amount: u64) -> Result<()>{ [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 153 | &get_feed_id_from_hex(POPCAT_MEME_COIN_FEED_ID)? [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<_, GetPriceError>` [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] = note: required for `std::result::Result<(), anchor_lang::error::Error>` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ohm-fork-defi-staking` (lib) due to 47 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ohm-fork-defi-staking` (lib test) due to 47 previous errors [INFO] running `Command { std: "docker" "inspect" "e34484211466b04711bec8400f735061de8d4f75bf9bde901a642411bf1e6432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34484211466b04711bec8400f735061de8d4f75bf9bde901a642411bf1e6432", kill_on_drop: false }` [INFO] [stdout] e34484211466b04711bec8400f735061de8d4f75bf9bde901a642411bf1e6432