[INFO] cloning repository https://github.com/ClusterFi/v2-contracts-solana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ClusterFi/v2-contracts-solana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClusterFi%2Fv2-contracts-solana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClusterFi%2Fv2-contracts-solana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aad8c3d34cfcfe346e39febf3171870ad52e1d39 [INFO] checking ClusterFi/v2-contracts-solana against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClusterFi%2Fv2-contracts-solana" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ClusterFi/v2-contracts-solana [INFO] finished tweaking git repo https://github.com/ClusterFi/v2-contracts-solana [INFO] tweaked toml for git repo https://github.com/ClusterFi/v2-contracts-solana written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ClusterFi/v2-contracts-solana on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ClusterFi/v2-contracts-solana 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08aaab0b43bf953320794f54dfb45a6f34dc4e1bb8ffce283c67da3227994f0d [INFO] running `Command { std: "docker" "start" "-a" "08aaab0b43bf953320794f54dfb45a6f34dc4e1bb8ffce283c67da3227994f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08aaab0b43bf953320794f54dfb45a6f34dc4e1bb8ffce283c67da3227994f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08aaab0b43bf953320794f54dfb45a6f34dc4e1bb8ffce283c67da3227994f0d", kill_on_drop: false }` [INFO] [stdout] 08aaab0b43bf953320794f54dfb45a6f34dc4e1bb8ffce283c67da3227994f0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fec121d8e52850e53ed249d55203039e76d910cede7c904dbcd94b2e9ddcb6e [INFO] running `Command { std: "docker" "start" "-a" "5fec121d8e52850e53ed249d55203039e76d910cede7c904dbcd94b2e9ddcb6e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Checking memoffset v0.9.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.15 [INFO] [stderr] Compiling solana-frozen-abi v1.18.15 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling solana-sdk v1.18.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling httparse v1.9.2 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling solana-program v1.18.15 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling solana-program-runtime v1.18.15 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling solana-vote-program v1.18.15 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling solana-version v1.18.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking percentage v0.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking solana-rayon-threadlimit v1.18.15 [INFO] [stderr] Compiling solana-perf v1.18.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling borsh-schema-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] Checking regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking solana-logger v1.18.15 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lz4-sys v1.9.5 [INFO] [stderr] Compiling solana-stake-program v1.18.15 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rcgen v0.10.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [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 syn_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling solana-sdk-macro v1.18.15 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling dlopen2_derive v0.3.0 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking goblin v0.5.4 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Checking dlopen2 v0.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking webpki-roots v0.24.0 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling solana-address-lookup-table-program v1.18.15 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Compiling fixed v1.23.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling ouroboros_macro v0.15.6 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling solana-vote v1.18.15 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Compiling solana-cost-model v1.18.15 [INFO] [stderr] Compiling solana-accounts-db v1.18.15 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking solana_rbpf v0.8.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling include_dir v0.7.3 [INFO] [stderr] Checking ouroboros v0.15.6 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking im v15.1.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking tracing-opentelemetry v0.17.4 [INFO] [stderr] Checking seqlock v0.2.0 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling solana-runtime v1.18.15 [INFO] [stderr] Checking index_list v0.2.11 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Checking solana-nohash-hasher v0.2.1 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking tarpc v0.29.0 [INFO] [stderr] Compiling aquamarine v0.3.3 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking dir-diff v0.3.3 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling strum_macros v0.24.0 (https://github.com/hubbleprotocol/strum?branch=checked_arithmetics#95f44367) [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking schemars v0.8.21 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking pyth-sdk v0.8.0 [INFO] [stderr] Checking strum v0.24.0 (https://github.com/hubbleprotocol/strum?branch=checked_arithmetics#95f44367) [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking lz4 v1.25.0 [INFO] [stderr] Compiling fixed-macro-impl v1.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.3.1 [INFO] [stderr] Checking spl-discriminator v0.1.1 [INFO] [stderr] Checking spl-memo v4.0.0 [INFO] [stderr] Checking spl-token v4.0.0 [INFO] [stderr] Checking anchor-lang v0.29.0 [INFO] [stderr] Checking pyth-sdk-solana v0.10.1 [INFO] [stderr] Checking solana-measure v1.18.15 [INFO] [stderr] Checking solana-metrics v1.18.15 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.15 [INFO] [stderr] Checking solana-remote-wallet v1.18.15 [INFO] [stderr] Checking solana-banks-interface v1.18.15 [INFO] [stderr] Checking solana-bucket-map v1.18.15 [INFO] [stderr] Checking solana-clap-utils v1.18.15 [INFO] [stderr] Checking solana-net-utils v1.18.15 [INFO] [stderr] Checking solana-connection-cache v1.18.15 [INFO] [stderr] Checking solana-banks-client v1.18.15 [INFO] [stderr] Checking solana-config-program v1.18.15 [INFO] [stderr] Checking solana-system-program v1.18.15 [INFO] [stderr] Checking solana-compute-budget-program v1.18.15 [INFO] [stderr] Checking solana-loader-v4-program v1.18.15 [INFO] [stderr] Checking spl-pod v0.1.1 [INFO] [stderr] Checking solana-bpf-loader-program v1.18.15 [INFO] [stderr] Checking solana-zk-token-proof-program v1.18.15 [INFO] [stderr] Checking spl-type-length-value v0.3.1 [INFO] [stderr] Checking spl-token-group-interface v0.1.0 [INFO] [stderr] Checking solana-streamer v1.18.15 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Checking spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Checking spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Checking solana-udp-client v1.18.15 [INFO] [stderr] Checking spl-token-2022 v1.0.0 [INFO] [stderr] Checking spl-token-2022 v0.9.0 [INFO] [stderr] Checking spl-associated-token-account v2.3.0 [INFO] [stderr] Checking solana-account-decoder v1.18.15 [INFO] [stderr] Checking anchor-spl v0.29.0 [INFO] [stderr] Checking cluster-lend v0.1.0 (/opt/rustwide/workdir/programs/cluster-lend) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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: `check_refresh_ixs` [INFO] [stdout] --> programs/cluster-lend/src/instructions/borrow_obligation_liquidity.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | check_refresh_ixs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/borrow_obligation_liquidity.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `check_refresh_ixs` [INFO] [stdout] --> programs/cluster-lend/src/instructions/deposit_liquidity_collateral.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | check_refresh_ixs, gen_signer_seeds, lending_market::{lending_checks, lending_operations}, state::{LendingMarket, Reserve}, utils::{s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/deposit_liquidity_collateral.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/deposit_obligation_collateral.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/deposit_reserve_liquidity.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/flash_borrow_reserve.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/flash_repay_reserve.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/initialize_market.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/initialize_obligation.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/initialize_reserve.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `staging` [INFO] [stdout] --> programs/cluster-lend/src/instructions/liquidate_obligation.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if cfg!(feature = "staging") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `staging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/liquidate_obligation.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/redeem_fees.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/redeem_reserve_collateral.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/refresh_obligation.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/refresh_reserve.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/repay_obligation_liquidity.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/update_market.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/update_market_owner.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/update_reserve.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `check_refresh_ixs` [INFO] [stdout] --> programs/cluster-lend/src/instructions/withdraw_obligation_collateral.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | check_refresh_ixs, gen_signer_seeds, lending_market::{lending_checks, lending_operations}, state::{LendingMarket, Reserve}, utils::{c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/withdraw_obligation_collateral.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/withdraw_protocol_fees.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `prelude::msg` [INFO] [stdout] --> programs/cluster-lend/src/lending_market/liquidation_operations.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{err, prelude::msg, solana_program::clock::Slot, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/state/nested_accounts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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] [stderr] Checking solana-transaction-status v1.18.15 [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/last_update.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / #[repr(C)] [INFO] [stdout] 37 | | pub struct LastUpdate { [INFO] [stdout] 38 | | slot: u64, [INFO] [stdout] 39 | | stale: u8, [INFO] [stdout] ... | [INFO] [stdout] 42 | | placeholder: [u8; 6], [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/last_update.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LastUpdate { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/lending_market.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[derivative(Debug)] [INFO] [stdout] 12 | | #[account(zero_copy)] [INFO] [stdout] 13 | | #[repr(C)] [INFO] [stdout] 14 | | pub struct LendingMarket { [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub reserved: [u64; 32], [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/lending_market.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LendingMarket { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[derivative(Debug)] [INFO] [stdout] 19 | | #[account(zero_copy)] [INFO] [stdout] 20 | | #[repr(C)] [INFO] [stdout] 21 | | pub struct Obligation { [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub reserved: [u64; 32], [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Obligation { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | / #[repr(C)] [INFO] [stdout] 374 | | pub struct ObligationCollateral { [INFO] [stdout] 375 | | pub deposit_reserve: Pubkey, [INFO] [stdout] 376 | | pub deposited_amount: u64, [INFO] [stdout] 377 | | pub padding: u64, [INFO] [stdout] 378 | | pub market_value_sf: u128, [INFO] [stdout] 379 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub struct ObligationCollateral { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | / #[repr(C)] [INFO] [stdout] 411 | | pub struct ObligationLiquidity { [INFO] [stdout] 412 | | pub borrow_reserve: Pubkey, [INFO] [stdout] 413 | | pub cumulative_borrow_rate_bsf: BigFractionBytes, [INFO] [stdout] ... | [INFO] [stdout] 417 | | pub padding: [u64; 8], [INFO] [stdout] 418 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 411 | pub struct ObligationLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / #[repr(C)] [INFO] [stdout] 29 | | pub struct BigFractionBytes { [INFO] [stdout] 30 | | pub value: [u64; 4], [INFO] [stdout] 31 | | pub padding: [u64; 2], [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BigFractionBytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / #[derivative(Debug)] [INFO] [stdout] 53 | | #[account(zero_copy)] [INFO] [stdout] 54 | | #[repr(C)] [INFO] [stdout] 55 | | pub struct Reserve { [INFO] [stdout] ... | [INFO] [stdout] 71 | | pub reserved: [u64; 32], [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Reserve { [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | / #[repr(C)] [INFO] [stdout] 286 | | pub struct ReserveLiquidity { [INFO] [stdout] 287 | | pub mint_pubkey: Pubkey, [INFO] [stdout] 288 | | pub supply_vault: Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 303 | | pub padding2: [u128; 32], [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | pub struct ReserveLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:491:1 [INFO] [stdout] | [INFO] [stdout] 491 | / #[repr(C)] [INFO] [stdout] 492 | | pub struct ReserveCollateral { [INFO] [stdout] 493 | | pub mint_pubkey: Pubkey, [INFO] [stdout] 494 | | pub mint_total_supply: u64, [INFO] [stdout] 495 | | pub supply_vault: Pubkey, [INFO] [stdout] 496 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | pub struct ReserveCollateral { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | / #[derivative(Debug)] [INFO] [stdout] 574 | | #[zero_copy] [INFO] [stdout] 575 | | #[repr(C)] [INFO] [stdout] 576 | | pub struct ReserveConfig { [INFO] [stdout] ... | [INFO] [stdout] 607 | | pub reserved: [u64; 32], [INFO] [stdout] 608 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct ReserveConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | / #[repr(C)] [INFO] [stdout] 648 | | pub struct WithdrawalCaps { [INFO] [stdout] 649 | | pub config_capacity: i64, [INFO] [stdout] 650 | | pub current_total: i64, [INFO] [stdout] 651 | | pub last_interval_start_timestamp: u64, [INFO] [stdout] 652 | | pub config_interval_length_seconds: u64, [INFO] [stdout] 653 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 648 | pub struct WithdrawalCaps { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | / #[derivative(Debug)] [INFO] [stdout] 657 | | #[zero_copy] [INFO] [stdout] 658 | | #[repr(C)] [INFO] [stdout] 659 | | pub struct ReserveFees { [INFO] [stdout] ... | [INFO] [stdout] 663 | | pub padding: [u8; 8], [INFO] [stdout] 664 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub struct ReserveFees { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/token_info.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C)] [INFO] [stdout] 11 | | pub struct TokenInfo { [INFO] [stdout] 12 | | pub name: [u8; 32], [INFO] [stdout] ... | [INFO] [stdout] 19 | | pub _padding: [u64; 20], [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/token_info.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenInfo { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/token_info.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / #[repr(transparent)] [INFO] [stdout] 88 | | pub struct PythConfiguration { [INFO] [stdout] 89 | | pub price: Pubkey, [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[repr(C)] [INFO] [stdout] 12 | | pub struct BorrowRateCurve { [INFO] [stdout] 13 | | pub points: [CurvePoint; 11], [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BorrowRateCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / #[repr(C)] [INFO] [stdout] 32 | | pub struct CurvePoint { [INFO] [stdout] 33 | | pub utilization_rate_bps: u32, [INFO] [stdout] 34 | | pub borrow_rate_bps: u32, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CurvePoint { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_mut(&self) -> Result>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn get_mut(&self) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self) -> Result>; [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn get_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn load(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn load(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn load_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn load_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn load_init(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn load_init(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | fn get_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | fn get_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn get(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn get(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/fraction.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn to_display(&self) -> FractionDisplay; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn to_display(&self) -> FractionDisplay<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/fraction.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | fn to_display(&self) -> FractionDisplay { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn to_display(&self) -> FractionDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking solana-rpc-client-api v1.18.15 [INFO] [stderr] Checking solana-rpc-client v1.18.15 [INFO] [stderr] Checking solana-pubsub-client v1.18.15 [INFO] [stderr] Checking solana-quic-client v1.18.15 [INFO] [stderr] Checking solana-tpu-client v1.18.15 [INFO] [stderr] Checking solana-rpc-client-nonce-utils v1.18.15 [INFO] [stderr] Checking solana-thin-client v1.18.15 [INFO] [stderr] Checking solana-client v1.18.15 [INFO] [stderr] Checking solana-send-transaction-service v1.18.15 [INFO] [stderr] Checking solana-banks-server v1.18.15 [INFO] [stderr] Checking solana-program-test v1.18.15 [INFO] [stdout] warning: unused import: `anchor_spl::token` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token; [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: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysvar` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{instruction::Instruction, sysvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BanksClientError` and `ProgramTestContext` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program_test::{BanksClientError, ProgramTestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_budget::ComputeBudgetInstruction`, `signature::Keypair`, `signer::Signer`, and `transaction::Transaction` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compute_budget::ComputeBudgetInstruction, signature::Keypair, signer::Signer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `mem`, and `rc::Rc` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{cell::RefCell, mem, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accounts::signer` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{accounts::signer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetTier`, `ReserveStatus`, and `init_reserve_pdas` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pda::{init_obligation_pda, init_reserve_pdas}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AssetTier, InitObligationArgs, PythConfiguration, ReserveConfig, ReserveFees, ReserveStatus, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `devnet` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | if #[cfg(feature = "devnet")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `devnet` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mainnet-beta` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | } else if #[cfg(feature = "mainnet-beta")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `mainnet-beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cluster_lend::utils::pyth` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cluster_lend::utils::pyth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::{context, Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssociatedToken`, `create`, `get_associated_token_address`, `self`, and `spl_token::state::Account` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | associated_token::{create, get_associated_token_address, AssociatedToken}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | token::{self, spl_token::state::Account, TokenAccount}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InitObligationArgs`, `LendingMarket`, `ReserveStatus`, `Reserve`, `UpdateLendingMarketMode`, `constants::ten_pow`, and `errors::LendingError` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | constants::ten_pow, errors::LendingError, utils::pda, InitObligationArgs, LendingMarket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 12 | Reserve, ReserveStatus, UpdateLendingMarketMode, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lending_market::LendingMarketFixture` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use lending_market::LendingMarketFixture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `obligation::ObligationFixture` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use obligation::ObligationFixture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reserve::ReserveFixture` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use reserve::ReserveFixture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clock`, `pubkey::Pubkey`, and `self` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | clock::{self, Clock}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 23 | pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MintFixture` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | use spl::{MintFixture, TokenAccountFixture}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SOL_MINT_DECIMALS`, `SOL_QUOTE_CURRENCY`, `TEST_RESERVE_CONFIG`, `USDC_MINT_DECIMALS`, and `USDC_QUOTE_CURRENCY` [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | TestFixture, PYTH_SOL_FEED, SOL_MINT_DECIMALS, SOL_QUOTE_CURRENCY, TEST_RESERVE_CONFIG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | USDC_MINT_DECIMALS, USDC_QUOTE_CURRENCY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | AccountType, PriceAccount, PriceInfo, PriceStatus, Rational, MAGIC, VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | data: bytemuck::bytes_of(&PriceAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::token` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token; [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: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysvar` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{instruction::Instruction, sysvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BanksClientError` and `ProgramTestContext` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program_test::{BanksClientError, ProgramTestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_budget::ComputeBudgetInstruction`, `signature::Keypair`, `signer::Signer`, and `transaction::Transaction` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compute_budget::ComputeBudgetInstruction, signature::Keypair, signer::Signer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `mem`, and `rc::Rc` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{cell::RefCell, mem, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accounts::signer` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{accounts::signer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetTier`, `ReserveStatus`, and `init_reserve_pdas` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pda::{init_obligation_pda, init_reserve_pdas}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AssetTier, InitObligationArgs, PythConfiguration, ReserveConfig, ReserveFees, ReserveStatus, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `devnet` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | if #[cfg(feature = "devnet")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `devnet` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mainnet-beta` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | } else if #[cfg(feature = "mainnet-beta")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `mainnet-beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cluster_lend::utils::pyth` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cluster_lend::utils::pyth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> programs/cluster-lend/tests/init_market.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SOL_QUOTE_CURRENCY` [INFO] [stdout] --> programs/cluster-lend/tests/init_market.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use test::{TestFixture, SOL_QUOTE_CURRENCY, USDC_QUOTE_CURRENCY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | AccountType, PriceAccount, PriceInfo, PriceStatus, Rational, MAGIC, VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | data: bytemuck::bytes_of(&PriceAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::token` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token; [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: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysvar` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{instruction::Instruction, sysvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BanksClientError` and `ProgramTestContext` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program_test::{BanksClientError, ProgramTestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_budget::ComputeBudgetInstruction`, `signature::Keypair`, `signer::Signer`, and `transaction::Transaction` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compute_budget::ComputeBudgetInstruction, signature::Keypair, signer::Signer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `mem`, and `rc::Rc` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{cell::RefCell, mem, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accounts::signer` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{accounts::signer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetTier`, `ReserveStatus`, and `init_reserve_pdas` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pda::{init_obligation_pda, init_reserve_pdas}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AssetTier, InitObligationArgs, PythConfiguration, ReserveConfig, ReserveFees, ReserveStatus, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `devnet` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | if #[cfg(feature = "devnet")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `devnet` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mainnet-beta` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | } else if #[cfg(feature = "mainnet-beta")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `mainnet-beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cluster_lend::utils::pyth` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cluster_lend::utils::pyth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pubkey::Pubkey` [INFO] [stdout] --> programs/cluster-lend/tests/borrow_repay.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_sdk::{pubkey::Pubkey, signature::Keypair}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_spl::token` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token; [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: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysvar` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{instruction::Instruction, sysvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BanksClientError` and `ProgramTestContext` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program_test::{BanksClientError, ProgramTestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_budget::ComputeBudgetInstruction`, `signature::Keypair`, `signer::Signer`, and `transaction::Transaction` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compute_budget::ComputeBudgetInstruction, signature::Keypair, signer::Signer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `mem`, and `rc::Rc` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{cell::RefCell, mem, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accounts::signer` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{accounts::signer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetTier`, `ReserveStatus`, and `init_reserve_pdas` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pda::{init_obligation_pda, init_reserve_pdas}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AssetTier, InitObligationArgs, PythConfiguration, ReserveConfig, ReserveFees, ReserveStatus, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `devnet` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | if #[cfg(feature = "devnet")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `devnet` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mainnet-beta` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | } else if #[cfg(feature = "mainnet-beta")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `mainnet-beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cluster_lend::utils::pyth` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cluster_lend::utils::pyth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | AccountType, PriceAccount, PriceInfo, PriceStatus, Rational, MAGIC, VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | data: bytemuck::bytes_of(&PriceAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | AccountType, PriceAccount, PriceInfo, PriceStatus, Rational, MAGIC, VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | data: bytemuck::bytes_of(&PriceAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut remain_accounts: Vec = reserve_keys [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `user_liquidity_balance` is never read [INFO] [stdout] --> programs/cluster-lend/tests/deposit_withdraw.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | user_liquidity_balance = user_liquidity_balance - deposit_amount; [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 import: `anchor_spl::token` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token; [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: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysvar` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{instruction::Instruction, sysvar}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_market_ix` and `update_owner_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LendingMarketFixture { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn update_market_ix(&self, mode: u64, value: [u8; 72]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_owner_ix(&self, new_owner: Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `deposit_collateral_ix`, `borrow_liquidity_ix`, `repay_liquidity_ix`, and `liquidate_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ObligationFixture { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn deposit_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn borrow_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn repay_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn liquidate_ix( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BanksClientError` and `ProgramTestContext` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program_test::{BanksClientError, ProgramTestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `compute_budget::ComputeBudgetInstruction`, `signature::Keypair`, `signer::Signer`, and `transaction::Transaction` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compute_budget::ComputeBudgetInstruction, signature::Keypair, signer::Signer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payer` is never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ReserveFixture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub payer: Pubkey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `mem`, and `rc::Rc` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{cell::RefCell, mem, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_reserve_mode_ix`, `deposit_liquidity_ix`, `flash_borrow_ix`, and `flash_repay_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ReserveFixture { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_reserve_mode_ix(&self, mode: u64, value: [u8; 32]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn deposit_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn flash_borrow_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn flash_repay_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accounts::signer` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{accounts::signer, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mint_to` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MintFixture { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn mint_to>(&mut self, dest: &Pubkey, ui_amount: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssetTier`, `ReserveStatus`, and `init_reserve_pdas` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pda::{init_obligation_pda, init_reserve_pdas}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | AssetTier, InitObligationArgs, PythConfiguration, ReserveConfig, ReserveFees, ReserveStatus, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx` and `token` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct TokenAccountFixture { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | ctx: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | pub key: Pubkey, [INFO] [stdout] 160 | pub token: TokenAccount, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_account`, `fetch`, and `balance` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl TokenAccountFixture { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn new_account(&self) -> Pubkey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balance_of` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | pub async fn balance_of(ctx: Rc>, pubkey: Pubkey) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `devnet` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | if #[cfg(feature = "devnet")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `devnet` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOL_QUOTE_CURRENCY` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const SOL_QUOTE_CURRENCY: [u8; 32] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_SOL_EQUIVALENT_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const PYTH_SOL_EQUIVALENT_FEED: Pubkey = pubkey!("PythSo1Equiva1entPrice111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mainnet-beta` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | } else if #[cfg(feature = "mainnet-beta")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `mainnet-beta` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_MNDE_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const PYTH_MNDE_FEED: Pubkey = pubkey!("PythMndePrice111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FAKE_PYTH_USDC_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FAKE_PYTH_USDC_FEED: Pubkey = pubkey!("FakePythUsdcPrice11111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cluster_lend::utils::pyth` [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cluster_lend::utils::pyth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authority` and `sol_mint` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct TestFixture { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 149 | pub context: Rc>, [INFO] [stdout] 150 | pub authority: Keypair, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | pub usdc_mint: MintFixture, [INFO] [stdout] 152 | pub sol_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl TestFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn payer(&self) -> Pubkey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn set_pyth_oracle_timestamp(&self, address: Pubkey, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn set_time(&self, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn get_minimum_rent_for_size(&self, size: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub async fn get_latest_blockhash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_slot(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_clock(&self) -> Clock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui_to_native` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ui_to_native(ui_amount: f64, decimals: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_to_ui` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn native_to_ui(native_amount: u64, decimals: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut remain_accounts: Vec = reserve_keys [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut remain_accounts: Vec = reserve_keys [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | AccountType, PriceAccount, PriceInfo, PriceStatus, Rational, MAGIC, VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyth_sdk_solana::state::PriceAccount`: use an explicit SolanaPriceAccount or PythnetPriceAccount to avoid ambiguity [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | data: bytemuck::bytes_of(&PriceAccount { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_market_ix` and `update_owner_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LendingMarketFixture { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn update_market_ix(&self, mode: u64, value: [u8; 72]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_owner_ix(&self, new_owner: Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObligationFixture` is never constructed [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ObligationFixture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ObligationFixture { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn initialize_obligation_ix(&self, args: InitObligationArgs) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn refresh_ix(&self, reserve_keys: Vec) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn deposit_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn deposit_liquidity_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn withdraw_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn borrow_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn repay_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn liquidate_ix( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payer` is never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ReserveFixture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub payer: Pubkey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deposit_liquidity_ix`, `flash_borrow_ix`, and `flash_repay_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ReserveFixture { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn deposit_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn flash_borrow_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn flash_repay_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mint_to`, `make_mint_to_ix`, and `create_token_account_and_mint_to` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MintFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn mint_to>(&mut self, dest: &Pubkey, ui_amount: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn make_mint_to_ix(&self, dest: &Pubkey, amount: u64) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn create_token_account_and_mint_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `key`, and `token` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct TokenAccountFixture { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | ctx: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | pub key: Pubkey, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | pub token: TokenAccount, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_account`, `new`, `fetch`, and `balance` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl TokenAccountFixture { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn new_account(&self) -> Pubkey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balance_of` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | pub async fn balance_of(ctx: Rc>, pubkey: Pubkey) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOL_QUOTE_CURRENCY` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const SOL_QUOTE_CURRENCY: [u8; 32] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_SOL_EQUIVALENT_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const PYTH_SOL_EQUIVALENT_FEED: Pubkey = pubkey!("PythSo1Equiva1entPrice111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_MNDE_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const PYTH_MNDE_FEED: Pubkey = pubkey!("PythMndePrice111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FAKE_PYTH_USDC_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FAKE_PYTH_USDC_FEED: Pubkey = pubkey!("FakePythUsdcPrice11111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authority` and `sol_mint` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct TestFixture { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 149 | pub context: Rc>, [INFO] [stdout] 150 | pub authority: Keypair, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | pub usdc_mint: MintFixture, [INFO] [stdout] 152 | pub sol_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl TestFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn setup( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn payer(&self) -> Pubkey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn set_pyth_oracle_timestamp(&self, address: Pubkey, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn set_time(&self, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn get_minimum_rent_for_size(&self, size: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub async fn get_latest_blockhash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_slot(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_clock(&self) -> Clock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui_to_native` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ui_to_native(ui_amount: f64, decimals: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_to_ui` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn native_to_ui(native_amount: u64, decimals: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObligationFixture` is never constructed [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ObligationFixture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ObligationFixture { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn initialize_obligation_ix(&self, args: InitObligationArgs) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn refresh_ix(&self, reserve_keys: Vec) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn deposit_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn deposit_liquidity_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn withdraw_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn borrow_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn repay_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn liquidate_ix( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReserveFixture` is never constructed [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ReserveFixture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ReserveFixture { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 24 | pub fn initialize_reserve_ix(&self) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn update_reserve_ix(&self, config: ReserveConfig) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_reserve_mode_ix(&self, mode: u64, value: [u8; 32]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn refresh_ix(&self, pyth_oracle: Option) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn deposit_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn flash_borrow_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn flash_repay_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mint_to`, `make_mint_to_ix`, and `create_token_account_and_mint_to` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MintFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn mint_to>(&mut self, dest: &Pubkey, ui_amount: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn make_mint_to_ix(&self, dest: &Pubkey, amount: u64) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn create_token_account_and_mint_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `key`, and `token` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct TokenAccountFixture { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | ctx: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | pub key: Pubkey, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | pub token: TokenAccount, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_account`, `new`, `fetch`, and `balance` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl TokenAccountFixture { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn new_account(&self) -> Pubkey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balance_of` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | pub async fn balance_of(ctx: Rc>, pubkey: Pubkey) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOL_QUOTE_CURRENCY` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const SOL_QUOTE_CURRENCY: [u8; 32] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_SOL_EQUIVALENT_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const PYTH_SOL_EQUIVALENT_FEED: Pubkey = pubkey!("PythSo1Equiva1entPrice111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_MNDE_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const PYTH_MNDE_FEED: Pubkey = pubkey!("PythMndePrice111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FAKE_PYTH_USDC_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FAKE_PYTH_USDC_FEED: Pubkey = pubkey!("FakePythUsdcPrice11111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_RESERVE_CONFIG` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const TEST_RESERVE_CONFIG: ReserveConfig = ReserveConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authority`, `usdc_mint`, and `sol_mint` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct TestFixture { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 149 | pub context: Rc>, [INFO] [stdout] 150 | pub authority: Keypair, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | pub usdc_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 152 | pub sol_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl TestFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn setup( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn set_pyth_oracle_timestamp(&self, address: Pubkey, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn set_time(&self, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn get_minimum_rent_for_size(&self, size: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub async fn get_latest_blockhash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_slot(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_clock(&self) -> Clock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui_to_native` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ui_to_native(ui_amount: f64, decimals: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_to_ui` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn native_to_ui(native_amount: u64, decimals: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[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`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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: `check_refresh_ixs` [INFO] [stdout] --> programs/cluster-lend/src/instructions/borrow_obligation_liquidity.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | check_refresh_ixs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/borrow_obligation_liquidity.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `check_refresh_ixs` [INFO] [stdout] --> programs/cluster-lend/src/instructions/deposit_liquidity_collateral.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | check_refresh_ixs, gen_signer_seeds, lending_market::{lending_checks, lending_operations}, state::{LendingMarket, Reserve}, utils::{s... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/deposit_liquidity_collateral.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/deposit_obligation_collateral.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/deposit_reserve_liquidity.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/flash_borrow_reserve.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/flash_repay_reserve.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/initialize_market.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/initialize_obligation.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/initialize_reserve.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `staging` [INFO] [stdout] --> programs/cluster-lend/src/instructions/liquidate_obligation.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if cfg!(feature = "staging") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [INFO] [stdout] = help: consider adding `staging` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/liquidate_obligation.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/redeem_fees.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/redeem_reserve_collateral.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/refresh_obligation.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/refresh_reserve.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/repay_obligation_liquidity.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/update_market.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/update_market_owner.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/update_reserve.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `check_refresh_ixs` [INFO] [stdout] --> programs/cluster-lend/src/instructions/withdraw_obligation_collateral.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | check_refresh_ixs, gen_signer_seeds, lending_market::{lending_checks, lending_operations}, state::{LendingMarket, Reserve}, utils::{c... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/instructions/withdraw_obligation_collateral.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/instructions/withdraw_protocol_fees.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: `prelude::msg` [INFO] [stdout] --> programs/cluster-lend/src/lending_market/liquidation_operations.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::{err, prelude::msg, solana_program::clock::Slot, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/state/nested_accounts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: variable does not need to be mutable [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut remain_accounts: Vec = reserve_keys [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/cluster-lend/src/state/nested_accounts.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/state/nested_accounts.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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/cluster-lend/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `debug`, `default`, `no-entrypoint`, `no-idl`, `no-log-ix-name`, `test`, and `test-bpf` [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: methods `update_market_ix` and `update_owner_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LendingMarketFixture { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn update_market_ix(&self, mode: u64, value: [u8; 72]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_owner_ix(&self, new_owner: Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ObligationFixture { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn deposit_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn deposit_liquidity_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn withdraw_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn borrow_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn repay_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn liquidate_ix( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReserveFixture` is never constructed [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ReserveFixture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ReserveFixture { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 24 | pub fn initialize_reserve_ix(&self) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn update_reserve_ix(&self, config: ReserveConfig) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_reserve_mode_ix(&self, mode: u64, value: [u8; 32]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn refresh_ix(&self, pyth_oracle: Option) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn deposit_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn flash_borrow_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn flash_repay_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mint_to`, `make_mint_to_ix`, and `create_token_account_and_mint_to` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MintFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn mint_to>(&mut self, dest: &Pubkey, ui_amount: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn make_mint_to_ix(&self, dest: &Pubkey, amount: u64) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub async fn create_token_account_and_mint_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `key`, and `token` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct TokenAccountFixture { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | ctx: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | pub key: Pubkey, [INFO] [stdout] | ^^^ [INFO] [stdout] 160 | pub token: TokenAccount, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_account`, `new`, `fetch`, and `balance` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl TokenAccountFixture { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn new_account(&self) -> Pubkey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balance_of` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | pub async fn balance_of(ctx: Rc>, pubkey: Pubkey) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOL_QUOTE_CURRENCY` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const SOL_QUOTE_CURRENCY: [u8; 32] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_SOL_EQUIVALENT_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const PYTH_SOL_EQUIVALENT_FEED: Pubkey = pubkey!("PythSo1Equiva1entPrice111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_MNDE_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const PYTH_MNDE_FEED: Pubkey = pubkey!("PythMndePrice111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FAKE_PYTH_USDC_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FAKE_PYTH_USDC_FEED: Pubkey = pubkey!("FakePythUsdcPrice11111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_RESERVE_CONFIG` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const TEST_RESERVE_CONFIG: ReserveConfig = ReserveConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authority`, `usdc_mint`, and `sol_mint` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct TestFixture { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 149 | pub context: Rc>, [INFO] [stdout] 150 | pub authority: Keypair, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | pub usdc_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 152 | pub sol_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl TestFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub async fn setup( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn payer(&self) -> Pubkey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub async fn set_pyth_oracle_timestamp(&self, address: Pubkey, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn set_time(&self, timestamp: i64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn get_minimum_rent_for_size(&self, size: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub async fn get_latest_blockhash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_slot(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_clock(&self) -> Clock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui_to_native` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ui_to_native(ui_amount: f64, decimals: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_to_ui` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn native_to_ui(native_amount: u64, decimals: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut remain_accounts: Vec = reserve_keys [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reserve_pdas` [INFO] [stdout] --> programs/cluster-lend/tests/borrow_repay.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let reserve_pdas = pda::init_reserve_pdas(&market_f.key, &usdc_mint_f.key); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserve_pdas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_market_ix` and `update_owner_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/lending_market.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LendingMarketFixture { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn update_market_ix(&self, mode: u64, value: [u8; 72]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn update_owner_ix(&self, new_owner: Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `deposit_collateral_ix`, `withdraw_collateral_ix`, `repay_liquidity_ix`, and `liquidate_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/obligation.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl ObligationFixture { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 21 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn deposit_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn withdraw_collateral_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn repay_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn liquidate_ix( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `payer` is never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ReserveFixture { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub payer: Pubkey, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_reserve_mode_ix`, `deposit_liquidity_ix`, `flash_borrow_ix`, and `flash_repay_ix` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/reserve.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ReserveFixture { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn update_reserve_mode_ix(&self, mode: u64, value: [u8; 32]) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn deposit_liquidity_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn flash_borrow_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn flash_repay_ix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mint_to` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 25 | impl MintFixture { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn mint_to>(&mut self, dest: &Pubkey, ui_amount: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx` and `token` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct TokenAccountFixture { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 158 | ctx: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 159 | pub key: Pubkey, [INFO] [stdout] 160 | pub token: TokenAccount, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_account`, `fetch`, and `balance` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 163 | impl TokenAccountFixture { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn new_account(&self) -> Pubkey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn fetch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub async fn balance(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `balance_of` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/spl.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | pub async fn balance_of(ctx: Rc>, pubkey: Pubkey) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOL_QUOTE_CURRENCY` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const SOL_QUOTE_CURRENCY: [u8; 32] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_SOL_EQUIVALENT_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const PYTH_SOL_EQUIVALENT_FEED: Pubkey = pubkey!("PythSo1Equiva1entPrice111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PYTH_MNDE_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const PYTH_MNDE_FEED: Pubkey = pubkey!("PythMndePrice111111111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FAKE_PYTH_USDC_FEED` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const FAKE_PYTH_USDC_FEED: Pubkey = pubkey!("FakePythUsdcPrice11111111111111111111111111"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authority` and `sol_mint` are never read [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct TestFixture { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 149 | pub context: Rc>, [INFO] [stdout] 150 | pub authority: Keypair, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | pub usdc_mint: MintFixture, [INFO] [stdout] 152 | pub sol_mint: MintFixture, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_and_deserialize`, `payer`, `get_minimum_rent_for_size`, `get_latest_blockhash`, `get_slot`, and `get_clock` are never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/test.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl TestFixture { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 261 | pub async fn load_and_deserialize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn payer(&self) -> Pubkey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub async fn get_minimum_rent_for_size(&self, size: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub async fn get_latest_blockhash(&self) -> Hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn get_slot(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_clock(&self) -> Clock { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ui_to_native` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn ui_to_native(ui_amount: f64, decimals: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `native_to_ui` is never used [INFO] [stdout] --> programs/cluster-lend/tests/helpers/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn native_to_ui(native_amount: u64, decimals: u8) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/last_update.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / #[repr(C)] [INFO] [stdout] 37 | | pub struct LastUpdate { [INFO] [stdout] 38 | | slot: u64, [INFO] [stdout] 39 | | stale: u8, [INFO] [stdout] ... | [INFO] [stdout] 42 | | placeholder: [u8; 6], [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/last_update.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct LastUpdate { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/lending_market.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[derivative(Debug)] [INFO] [stdout] 12 | | #[account(zero_copy)] [INFO] [stdout] 13 | | #[repr(C)] [INFO] [stdout] 14 | | pub struct LendingMarket { [INFO] [stdout] ... | [INFO] [stdout] 43 | | pub reserved: [u64; 32], [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/lending_market.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LendingMarket { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[derivative(Debug)] [INFO] [stdout] 19 | | #[account(zero_copy)] [INFO] [stdout] 20 | | #[repr(C)] [INFO] [stdout] 21 | | pub struct Obligation { [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub reserved: [u64; 32], [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Obligation { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | / #[repr(C)] [INFO] [stdout] 374 | | pub struct ObligationCollateral { [INFO] [stdout] 375 | | pub deposit_reserve: Pubkey, [INFO] [stdout] 376 | | pub deposited_amount: u64, [INFO] [stdout] 377 | | pub padding: u64, [INFO] [stdout] 378 | | pub market_value_sf: u128, [INFO] [stdout] 379 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | pub struct ObligationCollateral { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:410:1 [INFO] [stdout] | [INFO] [stdout] 410 | / #[repr(C)] [INFO] [stdout] 411 | | pub struct ObligationLiquidity { [INFO] [stdout] 412 | | pub borrow_reserve: Pubkey, [INFO] [stdout] 413 | | pub cumulative_borrow_rate_bsf: BigFractionBytes, [INFO] [stdout] ... | [INFO] [stdout] 417 | | pub padding: [u64; 8], [INFO] [stdout] 418 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/obligation.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 411 | pub struct ObligationLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / #[repr(C)] [INFO] [stdout] 29 | | pub struct BigFractionBytes { [INFO] [stdout] 30 | | pub value: [u64; 4], [INFO] [stdout] 31 | | pub padding: [u64; 2], [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct BigFractionBytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / #[derivative(Debug)] [INFO] [stdout] 53 | | #[account(zero_copy)] [INFO] [stdout] 54 | | #[repr(C)] [INFO] [stdout] 55 | | pub struct Reserve { [INFO] [stdout] ... | [INFO] [stdout] 71 | | pub reserved: [u64; 32], [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Reserve { [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | / #[repr(C)] [INFO] [stdout] 286 | | pub struct ReserveLiquidity { [INFO] [stdout] 287 | | pub mint_pubkey: Pubkey, [INFO] [stdout] 288 | | pub supply_vault: Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 303 | | pub padding2: [u128; 32], [INFO] [stdout] 304 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | pub struct ReserveLiquidity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:491:1 [INFO] [stdout] | [INFO] [stdout] 491 | / #[repr(C)] [INFO] [stdout] 492 | | pub struct ReserveCollateral { [INFO] [stdout] 493 | | pub mint_pubkey: Pubkey, [INFO] [stdout] 494 | | pub mint_total_supply: u64, [INFO] [stdout] 495 | | pub supply_vault: Pubkey, [INFO] [stdout] 496 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | pub struct ReserveCollateral { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:573:1 [INFO] [stdout] | [INFO] [stdout] 573 | / #[derivative(Debug)] [INFO] [stdout] 574 | | #[zero_copy] [INFO] [stdout] 575 | | #[repr(C)] [INFO] [stdout] 576 | | pub struct ReserveConfig { [INFO] [stdout] ... | [INFO] [stdout] 607 | | pub reserved: [u64; 32], [INFO] [stdout] 608 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct ReserveConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:647:1 [INFO] [stdout] | [INFO] [stdout] 647 | / #[repr(C)] [INFO] [stdout] 648 | | pub struct WithdrawalCaps { [INFO] [stdout] 649 | | pub config_capacity: i64, [INFO] [stdout] 650 | | pub current_total: i64, [INFO] [stdout] 651 | | pub last_interval_start_timestamp: u64, [INFO] [stdout] 652 | | pub config_interval_length_seconds: u64, [INFO] [stdout] 653 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 648 | pub struct WithdrawalCaps { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 656 | / #[derivative(Debug)] [INFO] [stdout] 657 | | #[zero_copy] [INFO] [stdout] 658 | | #[repr(C)] [INFO] [stdout] 659 | | pub struct ReserveFees { [INFO] [stdout] ... | [INFO] [stdout] 663 | | pub padding: [u8; 8], [INFO] [stdout] 664 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/reserve.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub struct ReserveFees { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/token_info.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C)] [INFO] [stdout] 11 | | pub struct TokenInfo { [INFO] [stdout] 12 | | pub name: [u8; 32], [INFO] [stdout] ... | [INFO] [stdout] 19 | | pub _padding: [u64; 20], [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/state/token_info.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TokenInfo { [INFO] [stdout] | ^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/state/token_info.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / #[repr(transparent)] [INFO] [stdout] 88 | | pub struct PythConfiguration { [INFO] [stdout] 89 | | pub price: Pubkey, [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[repr(C)] [INFO] [stdout] 12 | | pub struct BorrowRateCurve { [INFO] [stdout] 13 | | pub points: [CurvePoint; 11], [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BorrowRateCurve { [INFO] [stdout] | ^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / #[repr(C)] [INFO] [stdout] 32 | | pub struct CurvePoint { [INFO] [stdout] 33 | | pub utilization_rate_bps: u32, [INFO] [stdout] 34 | | pub borrow_rate_bps: u32, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/cluster-lend/src/utils/borrow_rate_curve.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CurvePoint { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_mut(&self) -> Result>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn get_mut(&self) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self) -> Result>; [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn get(&self) -> Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn get_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn load(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn load(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn load_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | pub fn load_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn load_init(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | pub fn load_init(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | fn get_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | fn get_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/account_loader_trait.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn get(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn get(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/fraction.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | fn to_display(&self) -> FractionDisplay; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | fn to_display(&self) -> FractionDisplay<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> programs/cluster-lend/src/utils/fraction.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | fn to_display(&self) -> FractionDisplay { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn to_display(&self) -> FractionDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: solana-client v1.18.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5fec121d8e52850e53ed249d55203039e76d910cede7c904dbcd94b2e9ddcb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fec121d8e52850e53ed249d55203039e76d910cede7c904dbcd94b2e9ddcb6e", kill_on_drop: false }` [INFO] [stdout] 5fec121d8e52850e53ed249d55203039e76d910cede7c904dbcd94b2e9ddcb6e