[INFO] cloning repository https://github.com/Kernlog/meteora-lp-sprinter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kernlog/meteora-lp-sprinter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKernlog%2Fmeteora-lp-sprinter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKernlog%2Fmeteora-lp-sprinter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a896ab289f8bb3201286f67a60cc19109e86d90d [INFO] checking Kernlog/meteora-lp-sprinter against master#49b6ac01d6f4c3da812039ae846407a20961aa4c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKernlog%2Fmeteora-lp-sprinter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kernlog/meteora-lp-sprinter [INFO] finished tweaking git repo https://github.com/Kernlog/meteora-lp-sprinter [INFO] tweaked toml for git repo https://github.com/Kernlog/meteora-lp-sprinter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kernlog/meteora-lp-sprinter on toolchain 49b6ac01d6f4c3da812039ae846407a20961aa4c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kernlog/meteora-lp-sprinter 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" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded icu_properties v2.0.0 [INFO] [stderr] Downloaded dlopen2_derive v0.3.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.18.26 [INFO] [stderr] Downloaded openssl-sys v0.9.108 [INFO] [stderr] Downloaded enum-iterator v1.5.0 [INFO] [stderr] Downloaded dlopen2 v0.5.0 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded solana-tpu-client v1.18.26 [INFO] [stderr] Downloaded eager v0.1.0 [INFO] [stderr] Downloaded solana-measure v1.18.26 [INFO] [stderr] Downloaded solana-logger v1.18.26 [INFO] [stderr] Downloaded rtoolbox v0.0.3 [INFO] [stderr] Downloaded async-mutex v1.4.1 [INFO] [stderr] Downloaded solana-quic-client v1.18.26 [INFO] [stderr] Downloaded dialoguer v0.10.4 [INFO] [stderr] Downloaded solana-remote-wallet v1.18.26 [INFO] [stderr] Downloaded solana-rpc-client v1.18.26 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded tungstenite v0.20.1 [INFO] [stderr] Downloaded quinn v0.10.2 [INFO] [stderr] Downloaded rpassword v7.4.0 [INFO] [stderr] Downloaded solana_rbpf v0.8.3 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded quinn-proto v0.10.6 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded solana-program v1.18.26 [INFO] [stderr] Downloaded webpki-roots v0.24.0 [INFO] [stderr] Downloaded goblin v0.5.4 [INFO] [stderr] Downloaded solana-sdk v1.18.26 [INFO] [stderr] Downloaded spl-token-2022 v1.0.0 [INFO] [stderr] Downloaded tdlib v0.8.1 [INFO] [stderr] Downloaded icu_properties_data v2.0.0 [INFO] [stderr] Downloaded solana-transaction-status v1.18.26 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded tokio-tungstenite v0.20.1 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded solana-program-runtime v1.18.26 [INFO] [stderr] Downloaded solana-vote-program v1.18.26 [INFO] [stderr] Downloaded solana-perf v1.18.26 [INFO] [stderr] Downloaded solana-metrics v1.18.26 [INFO] [stderr] Downloaded spl-token v4.0.0 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded async-compression v0.4.23 [INFO] [stderr] Downloaded solana-clap-utils v1.18.26 [INFO] [stderr] Downloaded solana-pubsub-client v1.18.26 [INFO] [stderr] Downloaded solana-net-utils v1.18.26 [INFO] [stderr] Downloaded solana-streamer v1.18.26 [INFO] [stderr] Downloaded spl-token-group-interface v0.1.0 [INFO] [stderr] Downloaded spl-discriminator-derive v0.1.2 [INFO] [stderr] Downloaded tdlib-types v0.1.0 [INFO] [stderr] Downloaded brotli v8.0.1 [INFO] [stderr] Downloaded solana-rpc-client-nonce-utils v1.18.26 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded solana-connection-cache v1.18.26 [INFO] [stderr] Downloaded solana-version v1.18.26 [INFO] [stderr] Downloaded histogram v0.6.9 [INFO] [stderr] Downloaded percentage v0.1.0 [INFO] [stderr] Downloaded spl-memo v4.0.0 [INFO] [stderr] Downloaded tdlib-tl-gen v0.5.0 [INFO] [stderr] Downloaded serde-aux v0.5.3 [INFO] [stderr] Downloaded tl-codegen v0.1.0 [INFO] [stderr] Downloaded solana-thin-client v1.18.26 [INFO] [stderr] Downloaded solana-rpc-client-api v1.18.26 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.18.26 [INFO] [stderr] Downloaded solana-udp-client v1.18.26 [INFO] [stderr] Downloaded scroll_derive v0.11.1 [INFO] [stderr] Downloaded tdlib-tl-parser v0.2.0 [INFO] [stderr] Downloaded quinn-udp v0.4.1 [INFO] [stderr] Downloaded solana-client v1.18.26 [INFO] [stderr] Downloaded spl-associated-token-account v2.3.0 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.2.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.26 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Downloaded caps v0.5.5 [INFO] [stderr] Downloaded num v0.2.1 [INFO] [stderr] Downloaded scroll v0.11.0 [INFO] [stderr] Downloaded solana-config-program v1.18.26 [INFO] [stderr] Downloaded solana-account-decoder v1.18.26 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Downloaded spl-discriminator-syn v0.1.2 [INFO] [stderr] Downloaded spl-discriminator v0.1.0 [INFO] [stderr] Downloaded spl-pod v0.1.0 [INFO] [stderr] Downloaded spl-program-error-derive v0.3.2 [INFO] [stderr] Downloaded spl-program-error v0.3.0 [INFO] [stderr] Downloaded spl-type-length-value v0.3.0 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.18.26 [INFO] [stderr] Downloaded tdlib-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ac9d84e50283c4cd9631dd26db90a784a880be808464cb914f96c04170ece8 [INFO] running `Command { std: "docker" "start" "-a" "76ac9d84e50283c4cd9631dd26db90a784a880be808464cb914f96c04170ece8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ac9d84e50283c4cd9631dd26db90a784a880be808464cb914f96c04170ece8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ac9d84e50283c4cd9631dd26db90a784a880be808464cb914f96c04170ece8", kill_on_drop: false }` [INFO] [stdout] 76ac9d84e50283c4cd9631dd26db90a784a880be808464cb914f96c04170ece8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+49b6ac01d6f4c3da812039ae846407a20961aa4c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e32735a228b69429bc7125439bd47b46fe708a09e3e328f30532e0a1516f092c [INFO] running `Command { std: "docker" "start" "-a" "e32735a228b69429bc7125439bd47b46fe708a09e3e328f30532e0a1516f092c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling solana-sdk-macro v1.18.26 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking solana-logger v1.18.26 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Checking goblin v0.5.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling solana-program-runtime v1.18.26 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking enum-iterator v1.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking percentage v0.1.0 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking async-compression v0.4.23 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking solana_rbpf v0.8.3 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling solana-version v1.18.26 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling solana-vote-program v1.18.26 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking spl-program-error v0.3.0 [INFO] [stderr] Checking spl-discriminator v0.1.0 [INFO] [stderr] Checking spl-token v4.0.0 [INFO] [stderr] Checking spl-memo v4.0.0 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking rcgen v0.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking solana-zk-token-sdk v1.18.26 [INFO] [stderr] Checking solana-measure v1.18.26 [INFO] [stderr] Checking solana-metrics v1.18.26 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking solana-config-program v1.18.26 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking spl-pod v0.1.0 [INFO] [stderr] Checking spl-type-length-value v0.3.0 [INFO] [stderr] Checking spl-tlv-account-resolution v0.5.1 [INFO] [stderr] Checking spl-token-metadata-interface v0.2.0 [INFO] [stderr] Checking spl-transfer-hook-interface v0.4.1 [INFO] [stderr] Checking spl-token-group-interface v0.1.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking spl-token-2022 v1.0.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling dlopen2_derive v0.3.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling solana-perf v1.18.26 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking spl-associated-token-account v2.3.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking solana-rayon-threadlimit v1.18.26 [INFO] [stderr] Checking dlopen2 v0.5.0 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking solana-connection-cache v1.18.26 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking oid-registry v0.6.1 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking webpki-roots v0.24.0 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking solana-account-decoder v1.18.26 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking rtoolbox v0.0.3 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking solana-streamer v1.18.26 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking solana-net-utils v1.18.26 [INFO] [stderr] Checking rpassword v7.4.0 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking solana-remote-wallet v1.18.26 [INFO] [stderr] Checking solana-clap-utils v1.18.26 [INFO] [stderr] Checking async-mutex v1.4.1 [INFO] [stderr] Checking solana-transaction-status v1.18.26 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking solana-udp-client v1.18.26 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking solana-rpc-client-api v1.18.26 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking solana-rpc-client v1.18.26 [INFO] [stderr] Checking solana-pubsub-client v1.18.26 [INFO] [stderr] Checking solana-quic-client v1.18.26 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking solana-tpu-client v1.18.26 [INFO] [stderr] Checking solana-thin-client v1.18.26 [INFO] [stderr] Checking solana-rpc-client-nonce-utils v1.18.26 [INFO] [stderr] Checking solana-client v1.18.26 [INFO] [stderr] Checking meteora-lp-sprinter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/solana/client.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [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: `info` [INFO] [stdout] --> src/solana/client.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/solana/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64` [INFO] [stdout] --> src/solana/rpc_helpers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/solana/wallet_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_sdk::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/solana/client.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [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: `info` [INFO] [stdout] --> src/solana/client.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/solana/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64` [INFO] [stdout] --> src/solana/rpc_helpers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/solana/wallet_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_sdk::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_test_db` is never used [INFO] [stdout] --> src/db/sqlite.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | pub async fn init_test_db() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `solana_client`, `meteora_client`, `position_duration`, and `fee_claim_interval` are never read [INFO] [stdout] --> src/strategy/sprint.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SprintStrategy { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | solana_client: SolanaClient, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | meteora_client: MeteoraClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | position_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fee_claim_interval: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_id` is never read [INFO] [stdout] --> src/meteora/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MeteoraClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | client: SolanaClient, [INFO] [stdout] 36 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/monitoring/pool_monitor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn start_monitoring(&mut self, tx: mpsc::Sender) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn start_monitoring(&mut self, tx: mpsc::Sender) -> Result<()>; [INFO] [stdout] 8 + fn start_monitoring(&mut self, tx: mpsc::Sender) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/monitoring/pool_monitor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn stop(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn stop(&mut self) -> Result<()>; [INFO] [stdout] 11 + fn stop(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `solana_client`, `meteora_client`, `position_duration`, and `fee_claim_interval` are never read [INFO] [stdout] --> src/strategy/sprint.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SprintStrategy { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | solana_client: SolanaClient, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | meteora_client: MeteoraClient, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | position_duration: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fee_claim_interval: Duration, [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 `program_id` is never read [INFO] [stdout] --> src/meteora/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MeteoraClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | client: SolanaClient, [INFO] [stdout] 36 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/monitoring/pool_monitor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn start_monitoring(&mut self, tx: mpsc::Sender) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn start_monitoring(&mut self, tx: mpsc::Sender) -> Result<()>; [INFO] [stdout] 8 + fn start_monitoring(&mut self, tx: mpsc::Sender) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/monitoring/pool_monitor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn stop(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn stop(&mut self) -> Result<()>; [INFO] [stdout] 11 + fn stop(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [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: `chrono::Utc` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_sdk::pubkey::Pubkey` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/solana/client.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/solana/client.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/solana/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64` [INFO] [stdout] --> src/solana/rpc_helpers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/solana/wallet_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_sdk::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::Wallet` [INFO] [stdout] --> src/solana/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use wallet::Wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connection::ConnectionStatus` [INFO] [stdout] --> src/solana/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use connection::ConnectionStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpc_helpers::*` [INFO] [stdout] --> src/solana/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use rpc_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool::TokenInfo` [INFO] [stdout] --> src/models/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use pool::TokenInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `websocket::MeteoraPoolMonitor` [INFO] [stdout] --> src/monitoring/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use websocket::MeteoraPoolMonitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprint::SprintStrategy` [INFO] [stdout] --> src/strategy/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use sprint::SprintStrategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `analysis::PoolAnalyzer` [INFO] [stdout] --> src/strategy/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use analysis::PoolAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `analysis::PoolCriteria` [INFO] [stdout] --> src/strategy/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use analysis::PoolCriteria; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::pubkey_from_str` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use convert::pubkey_from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::lamports_to_sol` [INFO] [stdout] --> src/utils/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use convert::lamports_to_sol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::sol_to_lamports` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use convert::sol_to_lamports; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::format_pubkey` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use format::format_pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInfo` [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use models::pool::{Pool, TokenInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [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: `chrono::Utc` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_sdk::pubkey::Pubkey` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/solana/client.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/solana/client.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, info, warn, error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/solana/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64` [INFO] [stdout] --> src/solana/rpc_helpers.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_sdk::transaction::Transaction` [INFO] [stdout] --> src/solana/wallet_manager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_sdk::transaction::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet::Wallet` [INFO] [stdout] --> src/solana/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use wallet::Wallet; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connection::ConnectionStatus` [INFO] [stdout] --> src/solana/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use connection::ConnectionStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rpc_helpers::*` [INFO] [stdout] --> src/solana/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use rpc_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pool::TokenInfo` [INFO] [stdout] --> src/models/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use pool::TokenInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `websocket::MeteoraPoolMonitor` [INFO] [stdout] --> src/monitoring/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use websocket::MeteoraPoolMonitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprint::SprintStrategy` [INFO] [stdout] --> src/strategy/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use sprint::SprintStrategy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `analysis::PoolAnalyzer` [INFO] [stdout] --> src/strategy/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use analysis::PoolAnalyzer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `analysis::PoolCriteria` [INFO] [stdout] --> src/strategy/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use analysis::PoolCriteria; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::pubkey_from_str` [INFO] [stdout] --> src/utils/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use convert::pubkey_from_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::lamports_to_sol` [INFO] [stdout] --> src/utils/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use convert::lamports_to_sol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::sol_to_lamports` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use convert::sol_to_lamports; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format::format_pubkey` [INFO] [stdout] --> src/utils/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use format::format_pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInfo` [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use models::pool::{Pool, TokenInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/solana/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl SolanaClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_latest_blockhash(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn account_exists(&self, pubkey: &Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_multiple_accounts(&self, pubkeys: &[Pubkey]) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn send_and_confirm_transaction(&self, transaction: &Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn get_program_accounts(&self, program_id: &Pubkey) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_transaction(&self, signature: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn rpc_client(&self) -> &RpcClient { [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] --> src/solana/wallet.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | /// Create a new wallet with a random keypair [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_seed_phrase(mnemonic: &str, passphrase: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn sign_transaction(&self, message: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn create_and_sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn sign_message(&self, message: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn export_keypair(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn keypair(&self) -> &Keypair { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/solana/connection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ConnectionStatus { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_connections` is never read [INFO] [stdout] --> src/solana/connection.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ConnectionPoolConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionPoolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_client` and `release_client` are never used [INFO] [stdout] --> src/solana/connection.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ConnectionPool { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_client(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn release_client(&self, url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_PROGRAM_ID` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const TOKEN_PROGRAM_ID: &str = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_program_accounts_by_data` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn find_program_accounts_by_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_data` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_account_data(account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_raw_rpc_request` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn make_raw_rpc_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_multiple_accounts_with_handling` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_multiple_accounts_with_handling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenAccountInfo` is never constructed [INFO] [stdout] --> src/solana/rpc_helpers.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct TokenAccountInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_account_info` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn get_token_account_info(client: &SolanaClient, account: &Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/solana/wallet_manager.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl WalletManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn get_balance_sol(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn transfer_sol(&self, recipient: &Pubkey, amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn generate_random() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn wallet(&self) -> &Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn client(&self) -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn is_balance_stale(&self, stale_threshold: Duration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn refresh_balance_if_stale(&self, stale_threshold: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub async fn request_airdrop(&self, amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pool` and `list_pools` are never used [INFO] [stdout] --> src/db/sqlite.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn get_pool(&self, address: &Pubkey) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn list_pools(&self, limit: Option, analyzed_only: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_test_db` is never used [INFO] [stdout] --> src/db/sqlite.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 224 | pub async fn init_test_db() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/models/position.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PositionStatus` is never used [INFO] [stdout] --> src/models/position.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum PositionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SprintStrategy` is never constructed [INFO] [stdout] --> src/strategy/sprint.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SprintStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/strategy/sprint.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SprintStrategy { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 17 | /// Create a new Sprint Strategy [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn execute(&self, pool: Pool, amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_liquidity` and `max_token_holders` are never read [INFO] [stdout] --> src/strategy/analysis.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct PoolCriteria { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 157 | pub min_score: f64, [INFO] [stdout] 158 | pub min_liquidity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 159 | pub max_token_holders: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `creation_slot`, `creation_time`, and `fees_24h` are never read [INFO] [stdout] --> src/meteora/client.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PoolInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub creation_slot: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub creation_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub volume_24h: Option, [INFO] [stdout] 30 | pub fees_24h: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_id` is never read [INFO] [stdout] --> src/meteora/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MeteoraClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | client: SolanaClient, [INFO] [stdout] 36 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_liquidity`, `remove_liquidity`, and `claim_fees` are never used [INFO] [stdout] --> src/meteora/client.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl MeteoraClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub async fn add_liquidity(&self, _pool: Pubkey, _amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub async fn remove_liquidity(&self, _pool: Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub async fn claim_fees(&self, _pool: Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pubkey_from_str` is never used [INFO] [stdout] --> src/utils/convert.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pubkey_from_str(pubkey_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lamports_to_sol` is never used [INFO] [stdout] --> src/utils/convert.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn lamports_to_sol(lamports: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_to_lamports` is never used [INFO] [stdout] --> src/utils/convert.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn sol_to_lamports(sol: f64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_pubkey` is never used [INFO] [stdout] --> src/utils/format.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn format_pubkey(pubkey: &Pubkey) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/solana/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl SolanaClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_latest_blockhash(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn account_exists(&self, pubkey: &Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_multiple_accounts(&self, pubkeys: &[Pubkey]) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn send_and_confirm_transaction(&self, transaction: &Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn get_program_accounts(&self, program_id: &Pubkey) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_transaction(&self, signature: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn rpc_client(&self) -> &RpcClient { [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] --> src/solana/wallet.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Wallet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | /// Create a new wallet with a random keypair [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_seed_phrase(mnemonic: &str, passphrase: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn sign_transaction(&self, message: Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn create_and_sign_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn sign_message(&self, message: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn export_keypair(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn keypair(&self) -> &Keypair { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/solana/connection.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ConnectionStatus { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_connections` is never read [INFO] [stdout] --> src/solana/connection.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ConnectionPoolConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub max_connections: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionPoolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_client` and `release_client` are never used [INFO] [stdout] --> src/solana/connection.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ConnectionPool { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_client(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn release_client(&self, url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_PROGRAM_ID` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const TOKEN_PROGRAM_ID: &str = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_program_accounts_by_data` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn find_program_accounts_by_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_account_data` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_account_data(account: &Account) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_raw_rpc_request` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn make_raw_rpc_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_multiple_accounts_with_handling` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn get_multiple_accounts_with_handling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenAccountInfo` is never constructed [INFO] [stdout] --> src/solana/rpc_helpers.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct TokenAccountInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_token_account_info` is never used [INFO] [stdout] --> src/solana/rpc_helpers.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn get_token_account_info(client: &SolanaClient, account: &Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/solana/wallet_manager.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 32 | impl WalletManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub async fn get_balance_sol(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub async fn transfer_sol(&self, recipient: &Pubkey, amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn generate_random() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn wallet(&self) -> &Wallet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn client(&self) -> Arc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn is_balance_stale(&self, stale_threshold: Duration) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn refresh_balance_if_stale(&self, stale_threshold: Duration) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub async fn request_airdrop(&self, amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pool` and `list_pools` are never used [INFO] [stdout] --> src/db/sqlite.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub async fn get_pool(&self, address: &Pubkey) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub async fn list_pools(&self, limit: Option, analyzed_only: bool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/models/position.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PositionStatus` is never used [INFO] [stdout] --> src/models/position.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum PositionStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SprintStrategy` is never constructed [INFO] [stdout] --> src/strategy/sprint.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SprintStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/strategy/sprint.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SprintStrategy { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 17 | /// Create a new Sprint Strategy [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub async fn execute(&self, pool: Pool, amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min_liquidity` and `max_token_holders` are never read [INFO] [stdout] --> src/strategy/analysis.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct PoolCriteria { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 157 | pub min_score: f64, [INFO] [stdout] 158 | pub min_liquidity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 159 | pub max_token_holders: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `creation_slot`, `creation_time`, and `fees_24h` are never read [INFO] [stdout] --> src/meteora/client.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PoolInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub creation_slot: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub creation_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub volume_24h: Option, [INFO] [stdout] 30 | pub fees_24h: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `program_id` is never read [INFO] [stdout] --> src/meteora/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct MeteoraClient { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 35 | client: SolanaClient, [INFO] [stdout] 36 | program_id: Pubkey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_liquidity`, `remove_liquidity`, and `claim_fees` are never used [INFO] [stdout] --> src/meteora/client.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl MeteoraClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub async fn add_liquidity(&self, _pool: Pubkey, _amount_sol: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub async fn remove_liquidity(&self, _pool: Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub async fn claim_fees(&self, _pool: Pubkey) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pubkey_from_str` is never used [INFO] [stdout] --> src/utils/convert.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn pubkey_from_str(pubkey_str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lamports_to_sol` is never used [INFO] [stdout] --> src/utils/convert.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn lamports_to_sol(lamports: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sol_to_lamports` is never used [INFO] [stdout] --> src/utils/convert.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn sol_to_lamports(sol: f64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_pubkey` is never used [INFO] [stdout] --> src/utils/format.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn format_pubkey(pubkey: &Pubkey) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: solana-client v1.18.26 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e32735a228b69429bc7125439bd47b46fe708a09e3e328f30532e0a1516f092c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32735a228b69429bc7125439bd47b46fe708a09e3e328f30532e0a1516f092c", kill_on_drop: false }` [INFO] [stdout] e32735a228b69429bc7125439bd47b46fe708a09e3e328f30532e0a1516f092c