[INFO] cloning repository https://github.com/plutoleverage/pluto-program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plutoleverage/pluto-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutoleverage%2Fpluto-program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutoleverage%2Fpluto-program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4899bb2e5d8d8c654f5c91b67c194251c7d9e6bd [INFO] checking plutoleverage/pluto-program against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplutoleverage%2Fpluto-program" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/plutoleverage/pluto-program [INFO] finished tweaking git repo https://github.com/plutoleverage/pluto-program [INFO] tweaked toml for git repo https://github.com/plutoleverage/pluto-program written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/plutoleverage/pluto-program on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/plutoleverage/pluto-program 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyth-solana-receiver-sdk v0.3.1 [INFO] [stderr] Downloaded serde_bytes v0.11.15 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.17 [INFO] [stderr] Downloaded spl-program-error v0.4.1 [INFO] [stderr] Downloaded anchor-derive-space v0.30.1 [INFO] [stderr] Downloaded anchor-attribute-constant v0.30.1 [INFO] [stderr] Downloaded anchor-lang-idl v0.1.1 [INFO] [stderr] Downloaded anchor-derive-accounts v0.30.1 [INFO] [stderr] Downloaded fixed-macro-impl v1.2.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.30.1 [INFO] [stderr] Downloaded solana-logger v1.18.17 [INFO] [stderr] Downloaded anchor-attribute-error v0.30.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.18.17 [INFO] [stderr] Downloaded spl-program-error-derive v0.4.1 [INFO] [stderr] Downloaded anchor-attribute-program v0.30.1 [INFO] [stderr] Downloaded ieee754 v0.2.6 [INFO] [stderr] Downloaded anchor-spl v0.30.1 [INFO] [stderr] Downloaded fixed-macro v1.2.0 [INFO] [stderr] Downloaded anchor-syn v0.30.1 [INFO] [stderr] Downloaded pythnet-sdk v2.3.0 [INFO] [stderr] Downloaded anchor-lang v0.30.1 [INFO] [stderr] Downloaded slow_primes v0.1.14 [INFO] [stderr] Downloaded tinyvec v1.7.0 [INFO] [stderr] Downloaded solana-sdk v1.18.17 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded bytemuck v1.16.1 [INFO] [stderr] Downloaded mpl-token-metadata v4.1.2 [INFO] [stderr] Downloaded solana-program v1.18.17 [INFO] [stderr] Downloaded fixed-macro-types v1.2.0 [INFO] [stderr] Downloaded fixed v1.27.0 [INFO] [stderr] Downloaded bytemuck_derive v1.7.0 [INFO] [stderr] Downloaded fast-math v0.1.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.17 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.30.1 [INFO] [stderr] Downloaded anchor-attribute-account v0.30.1 [INFO] [stderr] Downloaded anchor-derive-serde v0.30.1 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.18.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cc48dfd375934ea9a8abd49049b3d3faac3198e569ebac237b458fcc6c9c2e8 [INFO] running `Command { std: "docker" "start" "-a" "8cc48dfd375934ea9a8abd49049b3d3faac3198e569ebac237b458fcc6c9c2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cc48dfd375934ea9a8abd49049b3d3faac3198e569ebac237b458fcc6c9c2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc48dfd375934ea9a8abd49049b3d3faac3198e569ebac237b458fcc6c9c2e8", kill_on_drop: false }` [INFO] [stdout] 8cc48dfd375934ea9a8abd49049b3d3faac3198e569ebac237b458fcc6c9c2e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa79a76ac1fd2bd94b501d1a99c6e566a03f4d8ae9f7877c71ca92146ed5dcf2 [INFO] running `Command { std: "docker" "start" "-a" "fa79a76ac1fd2bd94b501d1a99c6e566a03f4d8ae9f7877c71ca92146ed5dcf2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.17 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.17 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling solana-program v1.18.17 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling solana-sdk-macro v1.18.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling solana-sdk v1.18.17 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling fixed v1.27.0 [INFO] [stderr] Compiling anchor-derive-space v0.30.1 [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] Compiling half v2.4.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Checking fast-math v0.1.1 [INFO] [stderr] Checking slow_primes v0.1.14 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking solana-logger v1.18.17 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling anchor-syn v0.30.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling anchor-lang-idl v0.1.1 [INFO] [stderr] Compiling anchor-attribute-account v0.30.1 [INFO] [stderr] Compiling anchor-attribute-error v0.30.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.30.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.30.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.30.1 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Compiling anchor-attribute-program v0.30.1 [INFO] [stderr] Compiling anchor-derive-serde v0.30.1 [INFO] [stderr] Compiling anchor-attribute-event v0.30.1 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Compiling fixed-macro-impl v1.2.0 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking fixed-macro-types v1.2.0 [INFO] [stderr] Checking fixed-macro v1.2.0 [INFO] [stderr] Checking spl-program-error v0.4.1 [INFO] [stderr] Checking spl-discriminator v0.2.2 [INFO] [stderr] Checking anchor-lang v0.30.1 [INFO] [stderr] Checking spl-token v4.0.1 [INFO] [stderr] Checking spl-memo v4.0.1 [INFO] [stderr] Checking mpl-token-metadata v4.1.2 [INFO] [stderr] Checking pythnet-sdk v2.3.0 [INFO] [stderr] Checking pyth-solana-receiver-sdk v0.3.1 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.17 [INFO] [stderr] Checking spl-pod v0.2.2 [INFO] [stderr] Checking spl-type-length-value v0.4.3 [INFO] [stderr] Checking spl-token-group-interface v0.2.3 [INFO] [stderr] Checking spl-tlv-account-resolution v0.6.3 [INFO] [stderr] Checking spl-token-metadata-interface v0.3.3 [INFO] [stderr] Checking spl-transfer-hook-interface v0.6.3 [INFO] [stderr] Checking spl-token-2022 v3.0.2 [INFO] [stderr] Checking spl-associated-token-account v3.0.2 [INFO] [stderr] Checking anchor-spl v0.30.1 [INFO] [stderr] Checking pluto v0.1.0 (/opt/rustwide/workdir/programs/pluto) [INFO] [stdout] error[E0583]: file not found for module `handler_vault_earn_create` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod handler_vault_earn_create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_earn_create`, create file "programs/pluto/src/handlers/handler_vault_earn_create.rs" or "programs/pluto/src/handlers/handler_vault_earn_create/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_earn_create` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_earn_deposit` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod handler_vault_earn_deposit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_earn_deposit`, create file "programs/pluto/src/handlers/handler_vault_earn_deposit.rs" or "programs/pluto/src/handlers/handler_vault_earn_deposit/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_earn_deposit` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_leverage_fund` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod handler_vault_leverage_fund; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_leverage_fund`, create file "programs/pluto/src/handlers/handler_vault_leverage_fund.rs" or "programs/pluto/src/handlers/handler_vault_leverage_fund/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_leverage_fund` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_leverage_close` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod handler_vault_leverage_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_leverage_close`, create file "programs/pluto/src/handlers/handler_vault_leverage_close.rs" or "programs/pluto/src/handlers/handler_vault_leverage_close/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_leverage_close` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_leverage_closing` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub mod handler_vault_leverage_closing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_leverage_closing`, create file "programs/pluto/src/handlers/handler_vault_leverage_closing.rs" or "programs/pluto/src/handlers/handler_vault_leverage_closing/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_leverage_closing` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_earn_create` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod handler_vault_earn_create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_earn_create`, create file "programs/pluto/src/handlers/handler_vault_earn_create.rs" or "programs/pluto/src/handlers/handler_vault_earn_create/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_earn_create` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_earn_deposit` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod handler_vault_earn_deposit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_earn_deposit`, create file "programs/pluto/src/handlers/handler_vault_earn_deposit.rs" or "programs/pluto/src/handlers/handler_vault_earn_deposit/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_earn_deposit` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_leverage_fund` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod handler_vault_leverage_fund; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_leverage_fund`, create file "programs/pluto/src/handlers/handler_vault_leverage_fund.rs" or "programs/pluto/src/handlers/handler_vault_leverage_fund/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_leverage_fund` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_leverage_close` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod handler_vault_leverage_close; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_leverage_close`, create file "programs/pluto/src/handlers/handler_vault_leverage_close.rs" or "programs/pluto/src/handlers/handler_vault_leverage_close/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_leverage_close` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `handler_vault_leverage_closing` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub mod handler_vault_leverage_closing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `handler_vault_leverage_closing`, create file "programs/pluto/src/handlers/handler_vault_leverage_closing.rs" or "programs/pluto/src/handlers/handler_vault_leverage_closing/mod.rs" [INFO] [stdout] = note: if there is a `mod handler_vault_leverage_closing` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::VaultEarnDeposit` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::handlers::VaultEarnDeposit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VaultEarnDeposit` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::VaultEarnCreate` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::handlers::VaultEarnCreate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VaultEarnCreate` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::handlers::VaultLeverageClose`, `crate::handlers::VaultLeverageKeeperClosing` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::{VaultLeverageClose, VaultLeverageKeeperClosing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VaultLeverageKeeperClosing` in `handlers` [INFO] [stdout] | | [INFO] [stdout] | no `VaultLeverageClose` in `handlers` [INFO] [stdout] | help: a similar name exists in the module: `VaultLeverageRelease` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::event::EventLeverageSetProfitTaker` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_profit_taker.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::event::{EventLeverageSetProfitTaker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `EventLeverageSetProfitTaker` in `event` [INFO] [stdout] | help: a similar name exists in the module: `event_leverage_set_profit_taker` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::event::event_leverage_set_profit_taker::EventLeverageSetProfitTaker [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_vault_earn_deposit` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::VaultEarnDeposit` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::handlers::VaultEarnDeposit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VaultEarnDeposit` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::VaultEarnCreate` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::handlers::VaultEarnCreate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VaultEarnCreate` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::handlers::VaultLeverageClose`, `crate::handlers::VaultLeverageKeeperClosing` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::{VaultLeverageClose, VaultLeverageKeeperClosing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `VaultLeverageKeeperClosing` in `handlers` [INFO] [stdout] | | [INFO] [stdout] | no `VaultLeverageClose` in `handlers` [INFO] [stdout] | help: a similar name exists in the module: `VaultLeverageRelease` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::event::EventLeverageSetProfitTaker` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_profit_taker.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::event::{EventLeverageSetProfitTaker}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `EventLeverageSetProfitTaker` in `event` [INFO] [stdout] | help: a similar name exists in the module: `event_leverage_set_profit_taker` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::event::event_leverage_set_profit_taker::EventLeverageSetProfitTaker [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_vault_leverage_fund` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_vault_earn_created::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub use event_vault_earn_created::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_vault_earn_changed_owner::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use event_vault_earn_changed_owner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_earn_deposit::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use event_earn_deposit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_vault_leverage_changed_owner::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use event_vault_leverage_changed_owner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_leverage_fund::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub use event_leverage_fund::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_leverage_close::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub use event_leverage_close::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorEarn` and `Errors` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorEarn}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant` and `decimals` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `INDEX_ONE`, `PERCENT_DECIMALS`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{INDEX_DECIMALS, INDEX_ONE, PERCENT_DECIMALS, UNIT_DECIMALS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Errors` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorEarn}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant` and `decimals` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `INDEX_ONE`, `PERCENT_DECIMALS`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{INDEX_DECIMALS, INDEX_ONE, PERCENT_DECIMALS, UNIT_DECIMALS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Errors` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorLeverage}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant` and `decimals` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `INDEX_ONE`, `PERCENT_DECIMALS`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{INDEX_DECIMALS, INDEX_ONE, PERCENT_DECIMALS, UNIT_DECIMALS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorMath` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorEarn, ErrorMath}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> programs/pluto/src/state/lender.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorEarn` [INFO] [stdout] --> programs/pluto/src/state/lender.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{ErrorEarn, ErrorMath::MathOverflow, Errors}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorLeverage` [INFO] [stdout] --> programs/pluto/src/state/vault_leverage.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorLeverage, ErrorMath}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant` [INFO] [stdout] --> programs/pluto/src/state/vault_leverage.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FLOOR_CAP_RATIO` [INFO] [stdout] --> programs/pluto/src/state/vault_leverage.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{FLOOR_CAP_RATIO, INDEX_DECIMALS, PERCENT_DECIMALS, PROTOCOL_CAP_RATIO}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/state/position.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorMath` [INFO] [stdout] --> programs/pluto/src/state/position.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{ErrorMath, Errors}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInterface` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_spl::token_interface::{sync_native, TokenInterface, Mint, TokenAccount, SyncNative}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decimals`, `seeds`, and `transfer_token::transfer_token` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::{decimals, seeds, transfer_token::transfer_token, constant::WSOL_TOKEN_MINT}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `transfer` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::system_program::{transfer, Transfer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInterface` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_spl::token_interface::{close_account, CloseAccount, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decimals` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::{decimals, seeds, transfer_token::transfer_token, constant::WSOL_TOKEN_MINT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint` and `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::token_interface::{Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_set.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_set.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint` and `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::token_interface::{Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_set.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_set.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_change_indexer.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_change_price_oracle.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Discriminator` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::{Accounts, Discriminator, system_program}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount` and `close_account` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use anchor_spl::token_interface::{close_account, CloseAccount, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transfer_token` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::util::{decimals, seeds, transfer_token::{transfer_token, transfer_token_with_signer}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint` and `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::token_interface::{Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_set.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_change_owner.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_indexer.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_keeper.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::token_interface::{TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EarnConfig` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:9:87 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::{LeverageConfig, InitVaultLeverageParams, VaultLeverage, VaultEarn, EarnConfig, Protocol, Stats, InitStatsParams}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | constant::{UNIT_DECIMALS, INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create_liquidity.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_change_price_oracle.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `close_account` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use anchor_spl::token_interface::{close_account, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PriceUpdateV2` and `get_feed_id_from_hex` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLeverageRelease` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::event::{EventLeverageRelease}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EarnConfig`, `InitObligationParams`, `InitPositionParams`, `Position`, and `VaultEarn` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | ...:state::{EarnConfig, InitObligationParams, InitPositionParams, LeverageConfig, Obligation, Position, Protocol, VaultEarn, VaultLe... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decimals` and `transfer_token::transfer_token` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::{constant, decimals, seeds, transfer_token::transfer_token}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `LEVERAGE_ONE`, `MAX_ORACLE_AGE`, `PERCENT_DECIMALS`, `PERCENT_MAX`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::constant::{PERCENT_DECIMALS, LEVERAGE_ONE, INDEX_DECIMALS, MAX_ORACLE_AGE, UNIT_DECIMALS, PERCENT_MAX, MAX_OBLIGATI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount` and `close_account` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use anchor_spl::token_interface::{close_account, CloseAccount, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PriceUpdateV2` and `get_feed_id_from_hex` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLeverageBorrow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::event::{EventLeverageBorrow}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VaultLeverageRelease` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::{VaultLeverageRelease}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EarnConfig`, `InitObligationParams`, `InitPositionParams`, and `Position` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::state::{EarnConfig, InitObligationParams, InitPositionParams, LeverageConfig, Obligation, Position, Protocol, VaultEarn, ... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::{constant, decimals, seeds, transfer_token::transfer_token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::transfer_token::transfer_token_with_signer` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::util::transfer_token::transfer_token_with_signer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LEVERAGE_ONE`, `MAX_ORACLE_AGE`, `PERCENT_DECIMALS`, `PERCENT_MAX`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::constant::{PERCENT_DECIMALS, LEVERAGE_ONE, INDEX_DECIMALS, MAX_ORACLE_AGE, UNIT_DECIMALS, PERCENT_MAX, MAX_OBLIGATI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::VaultLeverageRepayBorrow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::handlers::VaultLeverageRepayBorrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_profit_taker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_profit_taker.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_earn_create::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use handler_vault_earn_create::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_earn_deposit::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use handler_vault_earn_deposit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_leverage_fund::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub use handler_vault_leverage_fund::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_leverage_close::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use handler_vault_leverage_close::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_leverage_closing::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub use handler_vault_leverage_closing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath` [INFO] [stdout] --> programs/pluto/src/util/decimals.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::ErrorMath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed_macro::types::U68F60 as fraction` [INFO] [stdout] --> programs/pluto/src/util/fraction.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use fixed_macro::types::U68F60 as fraction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_vault_earn_created::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub use event_vault_earn_created::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_vault_earn_changed_owner::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use event_vault_earn_changed_owner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_earn_deposit::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub use event_earn_deposit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_vault_leverage_changed_owner::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use event_vault_leverage_changed_owner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_leverage_fund::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub use event_leverage_fund::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event_leverage_close::*` [INFO] [stdout] --> programs/pluto/src/event/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub use event_leverage_close::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorEarn` and `Errors` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorEarn}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant` and `decimals` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `INDEX_ONE`, `PERCENT_DECIMALS`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/state/protocol.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{INDEX_DECIMALS, INDEX_ONE, PERCENT_DECIMALS, UNIT_DECIMALS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Errors` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorEarn}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant` and `decimals` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `INDEX_ONE`, `PERCENT_DECIMALS`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/state/earn_config.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{INDEX_DECIMALS, INDEX_ONE, PERCENT_DECIMALS, UNIT_DECIMALS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Errors` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorLeverage}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant` and `decimals` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `INDEX_ONE`, `PERCENT_DECIMALS`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/state/leverage_config.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{INDEX_DECIMALS, INDEX_ONE, PERCENT_DECIMALS, UNIT_DECIMALS}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorMath` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorEarn, ErrorMath}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> programs/pluto/src/state/lender.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorEarn` [INFO] [stdout] --> programs/pluto/src/state/lender.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{ErrorEarn, ErrorMath::MathOverflow, Errors}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorLeverage` [INFO] [stdout] --> programs/pluto/src/state/vault_leverage.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Errors, ErrorLeverage, ErrorMath}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant` [INFO] [stdout] --> programs/pluto/src/state/vault_leverage.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{constant, decimals}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FLOOR_CAP_RATIO` [INFO] [stdout] --> programs/pluto/src/state/vault_leverage.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::constant::{FLOOR_CAP_RATIO, INDEX_DECIMALS, PERCENT_DECIMALS, PROTOCOL_CAP_RATIO}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/state/position.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorMath` [INFO] [stdout] --> programs/pluto/src/state/position.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::error::{ErrorMath, Errors}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInterface` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_spl::token_interface::{sync_native, TokenInterface, Mint, TokenAccount, SyncNative}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decimals`, `seeds`, and `transfer_token::transfer_token` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::{decimals, seeds, transfer_token::transfer_token, constant::WSOL_TOKEN_MINT}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `transfer` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::system_program::{transfer, Transfer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInterface` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_spl::token_interface::{close_account, CloseAccount, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decimals` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::util::{decimals, seeds, transfer_token::transfer_token, constant::WSOL_TOKEN_MINT}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_unwrap_sol.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint` and `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::token_interface::{Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_create.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_set.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_set.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint` and `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::token_interface::{Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_create.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_set.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_set.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_set.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_change_indexer.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_change_price_oracle.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Discriminator` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::{Accounts, Discriminator, system_program}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount` and `close_account` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use anchor_spl::token_interface::{close_account, CloseAccount, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transfer_token` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::util::{decimals, seeds, transfer_token::{transfer_token, transfer_token_with_signer}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::associated_token::AssociatedToken` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::associated_token::AssociatedToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint` and `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::token_interface::{Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INDEX_ONE` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | constant::{INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_create.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_set.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_change_owner.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_indexer.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_keeper.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenAccount` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:4:57 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::token_interface::{TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EarnConfig` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:9:87 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::{LeverageConfig, InitVaultLeverageParams, VaultLeverage, VaultEarn, EarnConfig, Protocol, Stats, InitStatsParams}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | constant::{UNIT_DECIMALS, INDEX_ONE}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create_liquidity.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_change_price_oracle.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `close_account` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use anchor_spl::token_interface::{close_account, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PriceUpdateV2` and `get_feed_id_from_hex` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLeverageRelease` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::event::{EventLeverageRelease}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EarnConfig`, `InitObligationParams`, `InitPositionParams`, `Position`, and `VaultEarn` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | ...:state::{EarnConfig, InitObligationParams, InitPositionParams, LeverageConfig, Obligation, Position, Protocol, VaultEarn, VaultLe... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `decimals` and `transfer_token::transfer_token` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::{constant, decimals, seeds, transfer_token::transfer_token}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INDEX_DECIMALS`, `LEVERAGE_ONE`, `MAX_ORACLE_AGE`, `PERCENT_DECIMALS`, `PERCENT_MAX`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::constant::{PERCENT_DECIMALS, LEVERAGE_ONE, INDEX_DECIMALS, MAX_ORACLE_AGE, UNIT_DECIMALS, PERCENT_MAX, MAX_OBLIGATI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_release.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloseAccount` and `close_account` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use anchor_spl::token_interface::{close_account, CloseAccount, TokenInterface, Mint, TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PriceUpdateV2` and `get_feed_id_from_hex` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | use pyth_solana_receiver_sdk::price_update::{get_feed_id_from_hex, PriceUpdateV2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath::MathOverflow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::ErrorMath::MathOverflow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLeverageBorrow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::event::{EventLeverageBorrow}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VaultLeverageRelease` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::{VaultLeverageRelease}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EarnConfig`, `InitObligationParams`, `InitPositionParams`, and `Position` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::state::{EarnConfig, InitObligationParams, InitPositionParams, LeverageConfig, Obligation, Position, Protocol, VaultEarn, ... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constant` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::util::{constant, decimals, seeds, transfer_token::transfer_token}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::transfer_token::transfer_token_with_signer` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::util::transfer_token::transfer_token_with_signer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LEVERAGE_ONE`, `MAX_ORACLE_AGE`, `PERCENT_DECIMALS`, `PERCENT_MAX`, and `UNIT_DECIMALS` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::constant::{PERCENT_DECIMALS, LEVERAGE_ONE, INDEX_DECIMALS, MAX_ORACLE_AGE, UNIT_DECIMALS, PERCENT_MAX, MAX_OBLIGATI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_repay_borrow.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::VaultLeverageRepayBorrow` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::handlers::VaultLeverageRepayBorrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pyth_solana_receiver_sdk::price_update::PriceUpdateV2` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_profit_taker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pyth_solana_receiver_sdk::price_update::PriceUpdateV2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_profit_taker.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_earn_create::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use handler_vault_earn_create::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_earn_deposit::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use handler_vault_earn_deposit::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_leverage_fund::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub use handler_vault_leverage_fund::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_leverage_close::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use handler_vault_leverage_close::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handler_vault_leverage_closing::*` [INFO] [stdout] --> programs/pluto/src/handlers/mod.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub use handler_vault_leverage_closing::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::ErrorMath` [INFO] [stdout] --> programs/pluto/src/util/decimals.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::ErrorMath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed_macro::types::U68F60 as fraction` [INFO] [stdout] --> programs/pluto/src/util/fraction.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use fixed_macro::types::U68F60 as fraction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/pluto/src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clippy`, `cpi`, `default`, `idl-build`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, and `serde` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed::traits::Fixed` [INFO] [stdout] --> programs/pluto/src/util/decimals.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fixed::traits::Fixed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed::traits::Fixed` [INFO] [stdout] --> programs/pluto/src/util/decimals.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fixed::traits::Fixed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn mint(&mut self, config: &EarnConfig, unit: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn burn(&mut self, config: &EarnConfig, unit: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn lend(&mut self, config: &EarnConfig, unit: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let ix = transfer(cpi_ctx, amount)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let ix = sync_native(cpi_ctx)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_change_indexer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_change_price_oracle.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn mint(&mut self, config: &EarnConfig, unit: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let user = &mut ctx.accounts.user; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn burn(&mut self, config: &EarnConfig, unit: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> programs/pluto/src/state/vault_earn.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn lend(&mut self, config: &EarnConfig, unit: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_change_owner.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_indexer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_keeper.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_vault` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let borrow_vault = &ctx.accounts.borrow_vault.load()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leverage_config` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let leverage_config = &ctx.accounts.leverage_config.load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leverage_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let ix = transfer(cpi_ctx, amount)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> programs/pluto/src/handlers/handler_wrap_sol.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let ix = sync_native(cpi_ctx)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_change_price_oracle.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_unit` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let old_unit = position.unit; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_index` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let old_index = position.avg_index; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let clock = Clock::get()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `taking_amount` is never read [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let mut taking_amount = 0u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_earn_config_change_indexer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_change_price_oracle.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_earn_withdraw.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let user = &mut ctx.accounts.user; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vault` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let vault = &mut ctx.accounts.vault.load_mut()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vault` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let vault = &mut ctx.accounts.vault.load_mut()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_protocol_change_owner.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_indexer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_leverage_config_change_keeper.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let owner = &mut ctx.accounts.payer; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `borrow_vault` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let borrow_vault = &ctx.accounts.borrow_vault.load()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_borrow_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leverage_config` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_create.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let leverage_config = &ctx.accounts.leverage_config.load()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leverage_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_change_price_oracle.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_unit` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let old_unit = position.unit; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_index` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let old_index = position.avg_index; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let clock = Clock::get()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `taking_amount` is never read [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_confiscate.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | let mut taking_amount = 0u64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vault` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let vault = &mut ctx.accounts.vault.load_mut()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_safety_mode.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vault` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let vault = &mut ctx.accounts.vault.load_mut()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> programs/pluto/src/handlers/handler_vault_leverage_set_emergency_eject.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let owner = &mut ctx.accounts.owner; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pluto` (lib test) due to 10 previous errors; 137 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pluto` (lib) due to 10 previous errors; 137 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa79a76ac1fd2bd94b501d1a99c6e566a03f4d8ae9f7877c71ca92146ed5dcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa79a76ac1fd2bd94b501d1a99c6e566a03f4d8ae9f7877c71ca92146ed5dcf2", kill_on_drop: false }` [INFO] [stdout] fa79a76ac1fd2bd94b501d1a99c6e566a03f4d8ae9f7877c71ca92146ed5dcf2