[INFO] cloning repository https://github.com/jojo2504/bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jojo2504/bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjojo2504%2Fbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjojo2504%2Fbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6871702142dded40a12be83779978d24d35d1fb5 [INFO] testing jojo2504/bot against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjojo2504%2Fbot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jojo2504/bot [INFO] finished tweaking git repo https://github.com/jojo2504/bot [INFO] tweaked toml for git repo https://github.com/jojo2504/bot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jojo2504/bot on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jojo2504/bot 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded tokio-stream v0.1.18 [INFO] [stderr] Downloaded native-tls v0.2.18 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded rust_decimal_macros v1.40.0 [INFO] [stderr] Downloaded simba v0.6.0 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded approx v0.5.1 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded sync_wrapper v0.1.2 [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] [stderr] Downloaded strum v0.26.3 [INFO] [stderr] Downloaded signal-hook-mio v0.2.5 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] [stderr] Downloaded rust-ini v0.20.0 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded ratatui v0.26.3 [INFO] [stderr] Downloaded dashmap v5.5.3 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded bytemuck v1.25.0 [INFO] [stderr] Downloaded statrs v0.16.1 [INFO] [stderr] Downloaded nalgebra v0.29.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded unicode-truncate v1.1.0 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded config v0.14.1 [INFO] [stderr] Downloaded base64 v0.21.7 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded nalgebra-macros v0.1.0 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded stability v0.2.1 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded hashlink v0.8.4 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded dotenvy v0.15.7 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded itertools v0.12.1 [INFO] [stderr] Downloaded ron v0.8.1 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69485bc6d8b322d37b9f41d8d3c5e2c59b2e6fe77ed7a22c4537538013000820 [INFO] running `Command { std: "docker" "start" "-a" "69485bc6d8b322d37b9f41d8d3c5e2c59b2e6fe77ed7a22c4537538013000820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69485bc6d8b322d37b9f41d8d3c5e2c59b2e6fe77ed7a22c4537538013000820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69485bc6d8b322d37b9f41d8d3c5e2c59b2e6fe77ed7a22c4537538013000820", kill_on_drop: false }` [INFO] [stdout] 69485bc6d8b322d37b9f41d8d3c5e2c59b2e6fe77ed7a22c4537538013000820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cee9f2a7ec7225d0ff5af86b856d954d072cd6febdc52b0e42d75d46804b621 [INFO] running `Command { std: "docker" "start" "-a" "6cee9f2a7ec7225d0ff5af86b856d954d072cd6febdc52b0e42d75d46804b621", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling arc-swap v1.8.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling ratatui v0.26.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling statrs v0.16.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling liquidity_vacuum_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/market_data/orderbook.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [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: `warn` [INFO] [stdout] --> src/market_data/orderbook.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/market_data/trades.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/market_data/trades.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/market_data/liquidations.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/signals/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/execution/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/execution/mod.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/backtest/historical.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/backtest/historical.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/backtest/historical.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/backtest/historical.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/backtest/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/backtest/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/backtest/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundingRate` and `HistoricalFetcher` [INFO] [stdout] --> src/backtest/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use historical::{Candle, FundingRate, HistoricalFetcher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/backtest/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arc_swap::ArcSwap` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signals::SignalDirection` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::signals::SignalDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ask_ratio` [INFO] [stdout] --> src/signals/mod.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let (bid_ratio, ask_ratio) = orderbook.imbalance(self.config.orderbook_depth_levels); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_at_window_start` is never read [INFO] [stdout] --> src/market_data/trades.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CvdEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | price_at_window_start: Option, [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 `symbol`, `status`, and `executed_qty` are never read [INFO] [stdout] --> src/execution/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | executed_qty: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_balance` is never read [INFO] [stdout] --> src/execution/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct AccountInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | available_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE` is never used [INFO] [stdout] --> src/backtest/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAKER_FEE: Decimal = dec!(0.0002); // 0.02% maker fee [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bot_token`, `chat_id`, and `client` are never read [INFO] [stdout] --> src/alerts.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AlertSystem { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | bot_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | chat_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/bin/scanner.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{info, warn, error, debug}; [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/bin/dashboard.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::Utc; [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: `EventStream` [INFO] [stdout] --> src/bin/dashboard.rs:23:67 [INFO] [stdout] | [INFO] [stdout] 23 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, EventStream, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `BarChart`, `Cell`, `Row`, `Sparkline`, `Table`, and `Wrap` [INFO] [stdout] --> src/bin/dashboard.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | layout::{Alignment, Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | Axis, BarChart, Block, Borders, Cell, Chart, Dataset, Gauge, GraphType, List, ListItem, [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] 35 | Paragraph, Row, Sparkline, Table, Wrap, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/bin/dashboard.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal_macros::dec` [INFO] [stdout] --> src/bin/dashboard.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use rust_decimal_macros::dec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::EnvFilter` [INFO] [stdout] --> src/bin/dashboard.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use tracing_subscriber::EnvFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_bar` [INFO] [stdout] --> src/bin/scanner.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let score_bar = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/bin/dashboard.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid_ratio` and `volume_spike` are never read [INFO] [stdout] --> src/bin/scanner.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct SymbolSignal { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | bid_ratio: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | volume_spike: Decimal, // Volume vs 20-candle average (>2.0 = spike) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Disconnect` is never constructed [INFO] [stdout] --> src/bin/scanner.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 179 | enum ScanEvent { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 182 | Disconnect { symbol: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/dashboard.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let d = &app.data; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liq_pct` [INFO] [stdout] --> src/bin/dashboard.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | let liq_pct = (d.liq_score * 100.0) as u16; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liq_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvd_pct` [INFO] [stdout] --> src/bin/dashboard.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | let cvd_pct = (d.cvd_score * 100.0) as u16; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cvd_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ob_pct` [INFO] [stdout] --> src/bin/dashboard.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | let ob_pct = (d.ob_score * 100.0) as u16; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ob_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/backtest/historical.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [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 imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/backtest/historical.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/backtest/historical.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/backtest/historical.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/backtest/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/backtest/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/backtest/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundingRate` and `HistoricalFetcher` [INFO] [stdout] --> src/backtest/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use historical::{Candle, FundingRate, HistoricalFetcher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/backtest/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/execution/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/execution/mod.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/market_data/orderbook.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/market_data/orderbook.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/market_data/trades.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/market_data/trades.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/market_data/liquidations.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Side` [INFO] [stdout] --> src/market_data/mod.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | pub use orderbook::{OrderBook, DepthUpdate, Side}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Trade` [INFO] [stdout] --> src/market_data/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use trades::{Trade, AggTradeMsg, CvdEngine, CvdAnalysis, DivergenceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LiquidationEvent` [INFO] [stdout] --> src/market_data/mod.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub use liquidations::{LiquidationHeatmap, LiquidationEvent, LiqSide, LiquidationMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OiAnalysis` and `OiTrend` [INFO] [stdout] --> src/market_data/mod.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | pub use open_interest::{OpenInterestTracker, FundingRateTracker, OiAnalysis, OiTrend}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/signals/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arc_swap::ArcSwap` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signals::SignalDirection` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::signals::SignalDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval` [INFO] [stdout] --> src/main.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | use tokio::time::{interval, sleep, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivityEntry` and `BotSnapshot` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | use state::{ActivityEntry, BotSnapshot, SharedState}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StoredSignal` and `StoredTrade` [INFO] [stdout] --> src/main.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | use storage::{MarketSnapshot, Storage, StoredSignal, StoredTrade}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ask_ratio` [INFO] [stdout] --> src/signals/mod.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let (bid_ratio, ask_ratio) = orderbook.imbalance(self.config.orderbook_depth_levels); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_ping` [INFO] [stdout] --> src/websocket.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let tx_ping = tx.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unrealized_pnl` [INFO] [stdout] --> src/main.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let unrealized_pnl = pos.unrealized_pnl(current_price); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_pnl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shared_state` and `alerts` are never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Bot { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | shared_state: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | alerts: AlertSystem, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TradeOpened`, `TradeClosed`, `DailyLimitHit`, `CascadeDetected`, and `Custom` are never constructed [INFO] [stdout] --> src/alerts.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum AlertKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | TradeOpened { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | TradeClosed { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | DailyLimitHit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | CascadeDetected { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertKind` 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: fields `bot_token`, `chat_id`, and `client` are never read [INFO] [stdout] --> src/alerts.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AlertSystem { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | bot_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | chat_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE` is never used [INFO] [stdout] --> src/backtest/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAKER_FEE: Decimal = dec!(0.0002); // 0.02% maker fee [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_loss_atr_multiplier`, `cascade_trigger_threshold_usdt`, `cvd_divergence_threshold`, `order_timeout_ms`, and `max_slippage_bps` are never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub stop_loss_atr_multiplier: Decimal, // Stop = entry ± N * ATR [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub cascade_trigger_threshold_usdt: Decimal, // Liquidation volume to trigger signal [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub cvd_divergence_threshold: Decimal, // Price/CVD divergence ratio to trigger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub order_timeout_ms: u64, // Cancel order if not filled in X ms [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub max_slippage_bps: u64, // Max acceptable slippage in basis points [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: fields `symbol` and `notional_usdt` are never read [INFO] [stdout] --> src/execution/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ActivePosition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub notional_usdt: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivePosition` 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: fields `symbol`, `status`, and `executed_qty` are never read [INFO] [stdout] --> src/execution/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | executed_qty: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_balance` is never read [INFO] [stdout] --> src/execution/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct AccountInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | available_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/market_data/orderbook.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notional_usdt` is never used [INFO] [stdout] --> src/market_data/orderbook.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Level { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 18 | pub fn notional_usdt(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price`, `size_usdt`, `side`, and `appeared` are never read [INFO] [stdout] --> src/market_data/orderbook.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WallEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub size_usdt: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub appeared: bool, // true = appeared, false = disappeared [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WallEvent` 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 `symbol` is never read [INFO] [stdout] --> src/market_data/orderbook.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_walls` is never used [INFO] [stdout] --> src/market_data/orderbook.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl OrderBook { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn find_walls(&self, within_pct: Decimal) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `symbol`, and `first_update_id` are never read [INFO] [stdout] --> src/market_data/orderbook.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct DepthUpdate { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 241 | #[serde(rename = "e")] [INFO] [stdout] 242 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 247 | #[serde(rename = "U")] [INFO] [stdout] 248 | pub first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `event_time`, `symbol`, and `agg_trade_id` are never read [INFO] [stdout] --> src/market_data/trades.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AggTradeMsg { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | #[serde(rename = "e")] [INFO] [stdout] 38 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "E")] [INFO] [stdout] 40 | pub event_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(rename = "s")] [INFO] [stdout] 42 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | #[serde(rename = "a")] [INFO] [stdout] 44 | pub agg_trade_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AggTradeMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_at_window_start` is never read [INFO] [stdout] --> src/market_data/trades.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CvdEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | price_at_window_start: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp_ms` and `window_delta` are never read [INFO] [stdout] --> src/market_data/trades.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct CvdSnapshot { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 87 | pub timestamp_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub window_delta: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CvdSnapshot` 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: fields `buy_volume`, `sell_volume`, `divergence_score`, and `has_divergence` are never read [INFO] [stdout] --> src/market_data/trades.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct CvdAnalysis { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 95 | /// Rolling window buy volume [INFO] [stdout] 96 | pub buy_volume: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | /// Rolling window sell volume [INFO] [stdout] 98 | pub sell_volume: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub divergence_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | /// Price changed direction while CVD went opposite = divergence [INFO] [stdout] 106 | pub has_divergence: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CvdAnalysis` 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: method `trade_count` is never used [INFO] [stdout] --> src/market_data/trades.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl CvdEngine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn trade_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `quantity` are never read [INFO] [stdout] --> src/market_data/liquidations.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LiquidationEvent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 15 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub quantity: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationEvent` 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: fields `event_type` and `event_time` are never read [INFO] [stdout] --> src/market_data/liquidations.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LiquidationMsg { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | #[serde(rename = "e")] [INFO] [stdout] 33 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | #[serde(rename = "E")] [INFO] [stdout] 35 | pub event_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/market_data/liquidations.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct LiquidationOrder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationOrder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_seen_ms` is never read [INFO] [stdout] --> src/market_data/liquidations.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct LiquidationCluster { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub first_seen_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationCluster` 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 `dominant_side` and `cascade_score` are never used [INFO] [stdout] --> src/market_data/liquidations.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl LiquidationCluster { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 93 | pub fn dominant_side(&self) -> &LiqSide { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn cascade_score(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notional_usdt`, `trigger_price`, and `estimated_target` are never read [INFO] [stdout] --> src/market_data/liquidations.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct CascadeSignal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub notional_usdt: Decimal, // Volume in the cascade [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 140 | pub trigger_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | pub estimated_target: Decimal, // Where cascade might push price [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadeSignal` 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 `distance_pct` is never read [INFO] [stdout] --> src/market_data/liquidations.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct NearbyCluster { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 146 | pub cluster: LiquidationCluster, [INFO] [stdout] 147 | pub distance_pct: Decimal, // Distance from current price in % [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NearbyCluster` 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: method `nearest_targets` is never used [INFO] [stdout] --> src/market_data/liquidations.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl LiquidationHeatmap { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn nearest_targets(&self, current_price: Decimal) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oi_usdt` is never read [INFO] [stdout] --> src/market_data/open_interest.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OiSnapshot { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | pub open_interest: Decimal, // In BTC/ETH units [INFO] [stdout] 21 | pub oi_usdt: Decimal, // In USD value [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OiSnapshot` 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: fields `current_oi`, `oi_change_pct_1h`, `oi_change_pct_24h`, `signal_score`, and `is_extreme` are never read [INFO] [stdout] --> src/market_data/open_interest.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct OiAnalysis { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub current_oi: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub oi_change_pct_1h: Decimal, // OI change last hour [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub oi_change_pct_24h: Decimal, // OI change last 24h [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub trend: OiTrend, [INFO] [stdout] 40 | pub signal_score: Decimal, // -1.0 to +1.0 (positive = bullish) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | pub is_extreme: bool, // OI at extreme level = contrarian signal [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OiAnalysis` 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: struct `OiResponse` is never constructed [INFO] [stdout] --> src/market_data/open_interest.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct OiResponse { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OiHistEntry` is never constructed [INFO] [stdout] --> src/market_data/open_interest.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct OiHistEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rate` and `timestamp_ms` are never read [INFO] [stdout] --> src/market_data/open_interest.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct FundingSnapshot { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 172 | pub rate: Decimal, // e.g. 0.0001 = 0.01% per 8h [INFO] [stdout] | ^^^^ [INFO] [stdout] 173 | pub timestamp_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundingSnapshot` 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 `history` is never read [INFO] [stdout] --> src/market_data/open_interest.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct FundingRateTracker { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 177 | history: VecDeque, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `contrarian_signal`, `avg_rate_24h`, and `is_extreme` are never used [INFO] [stdout] --> src/market_data/open_interest.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl FundingRateTracker { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn update(&mut self, rate: Decimal, ts: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn contrarian_signal(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn avg_rate_24h(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn is_extreme(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session_start` is never read [INFO] [stdout] --> src/risk/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RiskState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub session_start: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskState` 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: multiple fields are never read [INFO] [stdout] --> src/risk/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TradeRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub entry_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub exit_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | pub quantity: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub pnl_usdt: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | pub is_long: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub opened_at: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | pub closed_at: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeRecord` 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: fields `liquidation_score`, `cvd_score`, `orderbook_score`, `momentum_score`, and `timestamp_ms` are never read [INFO] [stdout] --> src/signals/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CompositeSignal { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub liquidation_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub cvd_score: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | pub orderbook_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub momentum_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub timestamp_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompositeSignal` 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: multiple fields are never read [INFO] [stdout] --> src/state.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BotSnapshot { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 18 | // Market [INFO] [stdout] 19 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub bid: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | pub ask: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub spread_bps: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub timestamp: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub signal_direction: String, // "Long" | "Short" | "Flat" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub composite_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub liq_score: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub cvd_score: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub ob_score: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub momentum_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub signal_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub oi_usdt: Decimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub oi_change_1h_pct: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub funding_rate: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub oi_trend: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub cvd_delta: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | pub buy_pressure_pct: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub cvd_divergence: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub liq_total_1h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | pub liq_long_1h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | pub liq_short_1h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub ob_bid_ratio: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub ob_ask_ratio: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub has_position: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub position_direction: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub position_entry: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub position_qty: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | pub position_unrealized_pnl: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub position_hold_mins: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub position_stop: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub position_target: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub account_balance: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub daily_pnl: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | pub daily_pnl_pct: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub is_paused: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub open_positions: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub total_trades_today: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub win_rate_today: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub uptime_mins: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 76 | pub messages_processed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub dry_run: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotSnapshot` 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: fields `timestamp`, `kind`, `message`, `score`, and `pnl` are never read [INFO] [stdout] --> src/state.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ActivityEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 83 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub kind: ActivityKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | pub score: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub pnl: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityEntry` 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: variants `Signal`, `TradeOpen`, `TradeClose`, `Risk`, `System`, and `Liquidation` are never constructed [INFO] [stdout] --> src/state.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ActivityKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 92 | Signal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | TradeOpen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 94 | TradeClose, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | Risk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | Liquidation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityKind` 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: fields `snapshot`, `activity_log`, `recent_trades`, and `equity_curve` are never read [INFO] [stdout] --> src/state.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct SharedState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 103 | pub snapshot: RwLock, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | pub activity_log: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub recent_trades: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub equity_curve: RwLock>, // (ts_ms, balance) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_snapshot`, `log_activity`, `add_trade`, and `update_equity` are never used [INFO] [stdout] --> src/state.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl SharedState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn update_snapshot(&self, snap: BotSnapshot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn log_activity(&self, entry: ActivityEntry) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn add_trade(&self, trade: StoredTrade) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn update_equity(&self, ts_ms: i64, balance: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `signal`, `trade_open`, `trade_close`, `liquidation`, and `system` are never used [INFO] [stdout] --> src/state.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl ActivityEntry { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 152 | pub fn signal(direction: &str, score: Decimal, reason: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn trade_open(direction: &str, price: Decimal, score: Decimal) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn trade_close(direction: &str, pnl: Decimal, reason: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn liquidation(side: &str, amount: Decimal, price: Decimal) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn system(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredSignal` is never constructed [INFO] [stdout] --> src/storage/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StoredSignal { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trades_path` and `signals_path` are never read [INFO] [stdout] --> src/storage/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Storage { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 69 | data_dir: PathBuf, [INFO] [stdout] 70 | trades_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | signals_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_trade` and `save_signal` are never used [INFO] [stdout] --> src/storage/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn save_trade(&mut self, trade: StoredTrade) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn save_signal(&self, signal: StoredSignal) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FundingRate` and `Error` are never constructed [INFO] [stdout] --> src/websocket.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum StreamMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | FundingRate(Decimal), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "6cee9f2a7ec7225d0ff5af86b856d954d072cd6febdc52b0e42d75d46804b621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cee9f2a7ec7225d0ff5af86b856d954d072cd6febdc52b0e42d75d46804b621", kill_on_drop: false }` [INFO] [stdout] 6cee9f2a7ec7225d0ff5af86b856d954d072cd6febdc52b0e42d75d46804b621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c985dbe12c245ebf6d1b9f45ccc6dcbdb9a26894e8a9f9101ec99ce33946788 [INFO] running `Command { std: "docker" "start" "-a" "4c985dbe12c245ebf6d1b9f45ccc6dcbdb9a26894e8a9f9101ec99ce33946788", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/market_data/orderbook.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [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: `warn` [INFO] [stdout] --> src/market_data/orderbook.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/market_data/trades.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/market_data/trades.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/market_data/liquidations.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/signals/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/execution/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/execution/mod.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/backtest/historical.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/backtest/historical.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/backtest/historical.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/backtest/historical.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/backtest/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/backtest/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/backtest/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundingRate` and `HistoricalFetcher` [INFO] [stdout] --> src/backtest/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use historical::{Candle, FundingRate, HistoricalFetcher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/backtest/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arc_swap::ArcSwap` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signals::SignalDirection` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::signals::SignalDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ask_ratio` [INFO] [stdout] --> src/signals/mod.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let (bid_ratio, ask_ratio) = orderbook.imbalance(self.config.orderbook_depth_levels); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_at_window_start` is never read [INFO] [stdout] --> src/market_data/trades.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CvdEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | price_at_window_start: Option, [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 `symbol`, `status`, and `executed_qty` are never read [INFO] [stdout] --> src/execution/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | executed_qty: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_balance` is never read [INFO] [stdout] --> src/execution/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct AccountInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | available_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE` is never used [INFO] [stdout] --> src/backtest/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAKER_FEE: Decimal = dec!(0.0002); // 0.02% maker fee [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bot_token`, `chat_id`, and `client` are never read [INFO] [stdout] --> src/alerts.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AlertSystem { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | bot_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | chat_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling liquidity_vacuum_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/bin/scanner.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing::{info, warn, error, debug}; [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/bin/dashboard.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use chrono::Utc; [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: `EventStream` [INFO] [stdout] --> src/bin/dashboard.rs:23:67 [INFO] [stdout] | [INFO] [stdout] 23 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, EventStream, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `BarChart`, `Cell`, `Row`, `Sparkline`, `Table`, and `Wrap` [INFO] [stdout] --> src/bin/dashboard.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | layout::{Alignment, Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | Axis, BarChart, Block, Borders, Cell, Chart, Dataset, Gauge, GraphType, List, ListItem, [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] 35 | Paragraph, Row, Sparkline, Table, Wrap, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/bin/dashboard.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal_macros::dec` [INFO] [stdout] --> src/bin/dashboard.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use rust_decimal_macros::dec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::EnvFilter` [INFO] [stdout] --> src/bin/dashboard.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use tracing_subscriber::EnvFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_bar` [INFO] [stdout] --> src/bin/scanner.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let score_bar = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bid_ratio` and `volume_spike` are never read [INFO] [stdout] --> src/bin/scanner.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct SymbolSignal { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | bid_ratio: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | volume_spike: Decimal, // Volume vs 20-candle average (>2.0 = spike) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Disconnect` is never constructed [INFO] [stdout] --> src/bin/scanner.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 179 | enum ScanEvent { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 182 | Disconnect { symbol: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/market_data/orderbook.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [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: `warn` [INFO] [stdout] --> src/market_data/orderbook.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/market_data/trades.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/market_data/trades.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/market_data/liquidations.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/signals/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/execution/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/execution/mod.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/backtest/historical.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/backtest/historical.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/backtest/historical.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/backtest/historical.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/backtest/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/backtest/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/backtest/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundingRate` and `HistoricalFetcher` [INFO] [stdout] --> src/backtest/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use historical::{Candle, FundingRate, HistoricalFetcher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/backtest/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arc_swap::ArcSwap` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signals::SignalDirection` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::signals::SignalDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_stream::StreamExt` [INFO] [stdout] --> src/bin/dashboard.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/dashboard.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let d = &app.data; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `liq_pct` [INFO] [stdout] --> src/bin/dashboard.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | let liq_pct = (d.liq_score * 100.0) as u16; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liq_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvd_pct` [INFO] [stdout] --> src/bin/dashboard.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | let cvd_pct = (d.cvd_score * 100.0) as u16; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cvd_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ob_pct` [INFO] [stdout] --> src/bin/dashboard.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | let ob_pct = (d.ob_score * 100.0) as u16; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ob_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/backtest/historical.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, File}; [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 imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/backtest/historical.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{BufRead, BufReader, Write}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/backtest/historical.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/backtest/historical.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/backtest/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/backtest/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config::Config` [INFO] [stdout] --> src/backtest/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FundingRate` and `HistoricalFetcher` [INFO] [stdout] --> src/backtest/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use historical::{Candle, FundingRate, HistoricalFetcher}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/backtest/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/execution/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/execution/mod.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{info, warn, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/market_data/orderbook.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/market_data/orderbook.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/market_data/trades.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/market_data/trades.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/market_data/liquidations.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Side` [INFO] [stdout] --> src/market_data/mod.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | pub use orderbook::{OrderBook, DepthUpdate, Side}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Trade` [INFO] [stdout] --> src/market_data/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use trades::{Trade, AggTradeMsg, CvdEngine, CvdAnalysis, DivergenceType}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LiquidationEvent` [INFO] [stdout] --> src/market_data/mod.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub use liquidations::{LiquidationHeatmap, LiquidationEvent, LiqSide, LiquidationMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OiAnalysis` and `OiTrend` [INFO] [stdout] --> src/market_data/mod.rs:10:66 [INFO] [stdout] | [INFO] [stdout] 10 | pub use open_interest::{OpenInterestTracker, FundingRateTracker, OiAnalysis, OiTrend}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/signals/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arc_swap::ArcSwap` [INFO] [stdout] --> src/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use arc_swap::ArcSwap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::signals::SignalDirection` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::signals::SignalDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/storage/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval` [INFO] [stdout] --> src/main.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | use tokio::time::{interval, sleep, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActivityEntry` and `BotSnapshot` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | use state::{ActivityEntry, BotSnapshot, SharedState}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StoredSignal` and `StoredTrade` [INFO] [stdout] --> src/main.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | use storage::{MarketSnapshot, Storage, StoredSignal, StoredTrade}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ask_ratio` [INFO] [stdout] --> src/signals/mod.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let (bid_ratio, ask_ratio) = orderbook.imbalance(self.config.orderbook_depth_levels); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_at_window_start` is never read [INFO] [stdout] --> src/market_data/trades.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CvdEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | price_at_window_start: Option, [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 `symbol`, `status`, and `executed_qty` are never read [INFO] [stdout] --> src/execution/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | executed_qty: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_balance` is never read [INFO] [stdout] --> src/execution/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct AccountInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | available_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE` is never used [INFO] [stdout] --> src/backtest/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAKER_FEE: Decimal = dec!(0.0002); // 0.02% maker fee [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bot_token`, `chat_id`, and `client` are never read [INFO] [stdout] --> src/alerts.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AlertSystem { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | bot_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | chat_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ask_ratio` [INFO] [stdout] --> src/signals/mod.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let (bid_ratio, ask_ratio) = orderbook.imbalance(self.config.orderbook_depth_levels); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_ping` [INFO] [stdout] --> src/websocket.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let tx_ping = tx.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_ping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unrealized_pnl` [INFO] [stdout] --> src/main.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let unrealized_pnl = pos.unrealized_pnl(current_price); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_pnl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shared_state` and `alerts` are never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Bot { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | shared_state: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | alerts: AlertSystem, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TradeOpened`, `TradeClosed`, `DailyLimitHit`, `CascadeDetected`, and `Custom` are never constructed [INFO] [stdout] --> src/alerts.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum AlertKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | TradeOpened { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | TradeClosed { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | DailyLimitHit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | CascadeDetected { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertKind` 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: fields `bot_token`, `chat_id`, and `client` are never read [INFO] [stdout] --> src/alerts.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct AlertSystem { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | bot_token: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | chat_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAKER_FEE` is never used [INFO] [stdout] --> src/backtest/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAKER_FEE: Decimal = dec!(0.0002); // 0.02% maker fee [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_loss_atr_multiplier`, `cascade_trigger_threshold_usdt`, `cvd_divergence_threshold`, `order_timeout_ms`, and `max_slippage_bps` are never read [INFO] [stdout] --> src/config.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub stop_loss_atr_multiplier: Decimal, // Stop = entry ± N * ATR [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub cascade_trigger_threshold_usdt: Decimal, // Liquidation volume to trigger signal [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub cvd_divergence_threshold: Decimal, // Price/CVD divergence ratio to trigger [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub order_timeout_ms: u64, // Cancel order if not filled in X ms [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub max_slippage_bps: u64, // Max acceptable slippage in basis points [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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: fields `symbol` and `notional_usdt` are never read [INFO] [stdout] --> src/execution/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ActivePosition { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 25 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub notional_usdt: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivePosition` 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: fields `symbol`, `status`, and `executed_qty` are never read [INFO] [stdout] --> src/execution/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct OrderResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | executed_qty: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `available_balance` is never read [INFO] [stdout] --> src/execution/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct AccountInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | available_balance: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/market_data/orderbook.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notional_usdt` is never used [INFO] [stdout] --> src/market_data/orderbook.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Level { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 18 | pub fn notional_usdt(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price`, `size_usdt`, `side`, and `appeared` are never read [INFO] [stdout] --> src/market_data/orderbook.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WallEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub size_usdt: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub appeared: bool, // true = appeared, false = disappeared [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WallEvent` 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 `symbol` is never read [INFO] [stdout] --> src/market_data/orderbook.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_walls` is never used [INFO] [stdout] --> src/market_data/orderbook.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl OrderBook { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn find_walls(&self, within_pct: Decimal) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `symbol`, and `first_update_id` are never read [INFO] [stdout] --> src/market_data/orderbook.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct DepthUpdate { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 241 | #[serde(rename = "e")] [INFO] [stdout] 242 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 247 | #[serde(rename = "U")] [INFO] [stdout] 248 | pub first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_type`, `event_time`, `symbol`, and `agg_trade_id` are never read [INFO] [stdout] --> src/market_data/trades.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AggTradeMsg { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | #[serde(rename = "e")] [INFO] [stdout] 38 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | #[serde(rename = "E")] [INFO] [stdout] 40 | pub event_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 41 | #[serde(rename = "s")] [INFO] [stdout] 42 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | #[serde(rename = "a")] [INFO] [stdout] 44 | pub agg_trade_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AggTradeMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price_at_window_start` is never read [INFO] [stdout] --> src/market_data/trades.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CvdEngine { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | price_at_window_start: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp_ms` and `window_delta` are never read [INFO] [stdout] --> src/market_data/trades.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct CvdSnapshot { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 87 | pub timestamp_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub window_delta: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CvdSnapshot` 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: fields `buy_volume`, `sell_volume`, `divergence_score`, and `has_divergence` are never read [INFO] [stdout] --> src/market_data/trades.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct CvdAnalysis { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 95 | /// Rolling window buy volume [INFO] [stdout] 96 | pub buy_volume: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 97 | /// Rolling window sell volume [INFO] [stdout] 98 | pub sell_volume: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub divergence_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | /// Price changed direction while CVD went opposite = divergence [INFO] [stdout] 106 | pub has_divergence: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CvdAnalysis` 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: method `trade_count` is never used [INFO] [stdout] --> src/market_data/trades.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl CvdEngine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn trade_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `quantity` are never read [INFO] [stdout] --> src/market_data/liquidations.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LiquidationEvent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 15 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub quantity: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationEvent` 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: fields `event_type` and `event_time` are never read [INFO] [stdout] --> src/market_data/liquidations.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct LiquidationMsg { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 32 | #[serde(rename = "e")] [INFO] [stdout] 33 | pub event_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | #[serde(rename = "E")] [INFO] [stdout] 35 | pub event_time: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> src/market_data/liquidations.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct LiquidationOrder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationOrder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_seen_ms` is never read [INFO] [stdout] --> src/market_data/liquidations.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct LiquidationCluster { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 88 | pub first_seen_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiquidationCluster` 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 `dominant_side` and `cascade_score` are never used [INFO] [stdout] --> src/market_data/liquidations.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl LiquidationCluster { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 93 | pub fn dominant_side(&self) -> &LiqSide { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn cascade_score(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notional_usdt`, `trigger_price`, and `estimated_target` are never read [INFO] [stdout] --> src/market_data/liquidations.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct CascadeSignal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 139 | pub notional_usdt: Decimal, // Volume in the cascade [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 140 | pub trigger_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | pub estimated_target: Decimal, // Where cascade might push price [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadeSignal` 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 `distance_pct` is never read [INFO] [stdout] --> src/market_data/liquidations.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct NearbyCluster { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 146 | pub cluster: LiquidationCluster, [INFO] [stdout] 147 | pub distance_pct: Decimal, // Distance from current price in % [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NearbyCluster` 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: method `nearest_targets` is never used [INFO] [stdout] --> src/market_data/liquidations.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl LiquidationHeatmap { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn nearest_targets(&self, current_price: Decimal) -> (Option, Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oi_usdt` is never read [INFO] [stdout] --> src/market_data/open_interest.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OiSnapshot { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | pub open_interest: Decimal, // In BTC/ETH units [INFO] [stdout] 21 | pub oi_usdt: Decimal, // In USD value [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OiSnapshot` 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: fields `current_oi`, `oi_change_pct_1h`, `oi_change_pct_24h`, `signal_score`, and `is_extreme` are never read [INFO] [stdout] --> src/market_data/open_interest.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct OiAnalysis { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 36 | pub current_oi: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | pub oi_change_pct_1h: Decimal, // OI change last hour [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub oi_change_pct_24h: Decimal, // OI change last 24h [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub trend: OiTrend, [INFO] [stdout] 40 | pub signal_score: Decimal, // -1.0 to +1.0 (positive = bullish) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | pub is_extreme: bool, // OI at extreme level = contrarian signal [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OiAnalysis` 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: struct `OiResponse` is never constructed [INFO] [stdout] --> src/market_data/open_interest.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct OiResponse { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OiHistEntry` is never constructed [INFO] [stdout] --> src/market_data/open_interest.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct OiHistEntry { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rate` and `timestamp_ms` are never read [INFO] [stdout] --> src/market_data/open_interest.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct FundingSnapshot { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 172 | pub rate: Decimal, // e.g. 0.0001 = 0.01% per 8h [INFO] [stdout] | ^^^^ [INFO] [stdout] 173 | pub timestamp_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FundingSnapshot` 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 `history` is never read [INFO] [stdout] --> src/market_data/open_interest.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct FundingRateTracker { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 177 | history: VecDeque, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `contrarian_signal`, `avg_rate_24h`, and `is_extreme` are never used [INFO] [stdout] --> src/market_data/open_interest.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl FundingRateTracker { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn update(&mut self, rate: Decimal, ts: i64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn contrarian_signal(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn avg_rate_24h(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn is_extreme(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session_start` is never read [INFO] [stdout] --> src/risk/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RiskState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub session_start: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskState` 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: multiple fields are never read [INFO] [stdout] --> src/risk/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TradeRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub entry_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub exit_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 43 | pub quantity: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub pnl_usdt: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | pub is_long: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub opened_at: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | pub closed_at: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeRecord` 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: fields `liquidation_score`, `cvd_score`, `orderbook_score`, `momentum_score`, and `timestamp_ms` are never read [INFO] [stdout] --> src/signals/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CompositeSignal { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub liquidation_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub cvd_score: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | pub orderbook_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub momentum_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub timestamp_ms: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompositeSignal` 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: multiple fields are never read [INFO] [stdout] --> src/state.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BotSnapshot { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 18 | // Market [INFO] [stdout] 19 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub bid: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | pub ask: Decimal, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | pub spread_bps: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub timestamp: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub signal_direction: String, // "Long" | "Short" | "Flat" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub composite_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | pub liq_score: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | pub cvd_score: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub ob_score: Decimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | pub momentum_score: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub signal_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub oi_usdt: Decimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub oi_change_1h_pct: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub funding_rate: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub oi_trend: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub cvd_delta: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 43 | pub buy_pressure_pct: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub cvd_divergence: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub liq_total_1h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | pub liq_long_1h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | pub liq_short_1h: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub ob_bid_ratio: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub ob_ask_ratio: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub has_position: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub position_direction: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | pub position_entry: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub position_qty: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | pub position_unrealized_pnl: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub position_hold_mins: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub position_stop: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub position_target: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub account_balance: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub daily_pnl: Decimal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | pub daily_pnl_pct: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub is_paused: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 70 | pub open_positions: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 71 | pub total_trades_today: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | pub win_rate_today: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub uptime_mins: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 76 | pub messages_processed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub dry_run: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotSnapshot` 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: fields `timestamp`, `kind`, `message`, `score`, and `pnl` are never read [INFO] [stdout] --> src/state.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct ActivityEntry { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 83 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 84 | pub kind: ActivityKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | pub score: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub pnl: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityEntry` 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: variants `Signal`, `TradeOpen`, `TradeClose`, `Risk`, `System`, and `Liquidation` are never constructed [INFO] [stdout] --> src/state.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ActivityKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 92 | Signal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 93 | TradeOpen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 94 | TradeClose, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | Risk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 96 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | Liquidation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActivityKind` 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: fields `snapshot`, `activity_log`, `recent_trades`, and `equity_curve` are never read [INFO] [stdout] --> src/state.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct SharedState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 103 | pub snapshot: RwLock, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | pub activity_log: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 105 | pub recent_trades: RwLock>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub equity_curve: RwLock>, // (ts_ms, balance) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_snapshot`, `log_activity`, `add_trade`, and `update_equity` are never used [INFO] [stdout] --> src/state.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl SharedState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn update_snapshot(&self, snap: BotSnapshot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn log_activity(&self, entry: ActivityEntry) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn add_trade(&self, trade: StoredTrade) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn update_equity(&self, ts_ms: i64, balance: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `signal`, `trade_open`, `trade_close`, `liquidation`, and `system` are never used [INFO] [stdout] --> src/state.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl ActivityEntry { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 152 | pub fn signal(direction: &str, score: Decimal, reason: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn trade_open(direction: &str, price: Decimal, score: Decimal) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn trade_close(direction: &str, pnl: Decimal, reason: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn liquidation(side: &str, amount: Decimal, price: Decimal) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn system(msg: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredSignal` is never constructed [INFO] [stdout] --> src/storage/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StoredSignal { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trades_path` and `signals_path` are never read [INFO] [stdout] --> src/storage/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Storage { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 69 | data_dir: PathBuf, [INFO] [stdout] 70 | trades_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | signals_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_trade` and `save_signal` are never used [INFO] [stdout] --> src/storage/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn save_trade(&mut self, trade: StoredTrade) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn save_signal(&self, signal: StoredSignal) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FundingRate` and `Error` are never constructed [INFO] [stdout] --> src/websocket.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum StreamMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | FundingRate(Decimal), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | Error(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.15s [INFO] running `Command { std: "docker" "inspect" "4c985dbe12c245ebf6d1b9f45ccc6dcbdb9a26894e8a9f9101ec99ce33946788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c985dbe12c245ebf6d1b9f45ccc6dcbdb9a26894e8a9f9101ec99ce33946788", kill_on_drop: false }` [INFO] [stdout] 4c985dbe12c245ebf6d1b9f45ccc6dcbdb9a26894e8a9f9101ec99ce33946788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dfa5d4118a4fad474c23665e29524d69b9c8af22799cef72d8879bb7f9bf1ed7 [INFO] running `Command { std: "docker" "start" "-a" "dfa5d4118a4fad474c23665e29524d69b9c8af22799cef72d8879bb7f9bf1ed7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/market_data/orderbook.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/market_data/orderbook.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | use tracing::{debug, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DateTime` and `Utc` [INFO] [stderr] --> src/market_data/trades.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::debug` [INFO] [stderr] --> src/market_data/trades.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use tracing::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/market_data/liquidations.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | use tracing::{info, debug}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `debug` [INFO] [stderr] --> src/signals/mod.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use tracing::{info, debug}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/execution/mod.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/execution/mod.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | use tracing::{info, warn, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Utc` [INFO] [stderr] --> src/storage/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `File` [INFO] [stderr] --> src/backtest/historical.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use std::fs::{self, File}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stderr] --> src/backtest/historical.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use std::io::{BufRead, BufReader, Write}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/backtest/historical.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use tracing::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DateTime` [INFO] [stderr] --> src/backtest/historical.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | use chrono::{DateTime, Utc, TimeZone}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anyhow::Result` [INFO] [stderr] --> src/backtest/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use anyhow::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/backtest/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::config::Config` [INFO] [stderr] --> src/backtest/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use crate::config::Config; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FundingRate` and `HistoricalFetcher` [INFO] [stderr] --> src/backtest/mod.rs:20:26 [INFO] [stderr] | [INFO] [stderr] 20 | use historical::{Candle, FundingRate, HistoricalFetcher}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Utc` [INFO] [stderr] --> src/backtest/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `arc_swap::ArcSwap` [INFO] [stderr] --> src/state.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use arc_swap::ArcSwap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::signals::SignalDirection` [INFO] [stderr] --> src/state.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::signals::SignalDirection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ask_ratio` [INFO] [stderr] --> src/signals/mod.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | let (bid_ratio, ask_ratio) = orderbook.imbalance(self.config.orderbook_depth_levels); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ask_ratio` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `price_at_window_start` is never read [INFO] [stderr] --> src/market_data/trades.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct CvdEngine { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 76 | price_at_window_start: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `symbol`, `status`, and `executed_qty` are never read [INFO] [stderr] --> src/execution/mod.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 47 | struct OrderResponse { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 50 | symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 51 | status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | executed_qty: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `available_balance` is never read [INFO] [stderr] --> src/execution/mod.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 59 | struct AccountInfo { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 63 | available_balance: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AccountInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `MAKER_FEE` is never used [INFO] [stderr] --> src/backtest/mod.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | const MAKER_FEE: Decimal = dec!(0.0002); // 0.02% maker fee [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `bot_token`, `chat_id`, and `client` are never read [INFO] [stderr] --> src/alerts.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct AlertSystem { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 60 | bot_token: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 61 | chat_id: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 62 | client: Client, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `liquidity_vacuum_bot` (lib) generated 26 warnings (run `cargo fix --lib -p liquidity_vacuum_bot` to apply 21 suggestions) [INFO] [stderr] warning: `liquidity_vacuum_bot` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/bin/scanner.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | use tracing::{info, warn, error, debug}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `score_bar` [INFO] [stderr] --> src/bin/scanner.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | let score_bar = { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_bar` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `bid_ratio` and `volume_spike` are never read [INFO] [stderr] --> src/bin/scanner.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 29 | struct SymbolSignal { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | bid_ratio: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | volume_spike: Decimal, // Volume vs 20-candle average (>2.0 = spike) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SymbolSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Disconnect` is never constructed [INFO] [stderr] --> src/bin/scanner.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 179 | enum ScanEvent { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 182 | Disconnect { symbol: String }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScanEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `File` [INFO] [stderr] --> src/backtest/historical.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use std::fs::{self, File}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/market_data/orderbook.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Side` [INFO] [stderr] --> src/market_data/mod.rs:7:45 [INFO] [stderr] | [INFO] [stderr] 7 | pub use orderbook::{OrderBook, DepthUpdate, Side}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Trade` [INFO] [stderr] --> src/market_data/mod.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | pub use trades::{Trade, AggTradeMsg, CvdEngine, CvdAnalysis, DivergenceType}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LiquidationEvent` [INFO] [stderr] --> src/market_data/mod.rs:9:44 [INFO] [stderr] | [INFO] [stderr] 9 | pub use liquidations::{LiquidationHeatmap, LiquidationEvent, LiqSide, LiquidationMsg}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `OiAnalysis` and `OiTrend` [INFO] [stderr] --> src/market_data/mod.rs:10:66 [INFO] [stderr] | [INFO] [stderr] 10 | pub use open_interest::{OpenInterestTracker, FundingRateTracker, OiAnalysis, OiTrend}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `interval` [INFO] [stderr] --> src/main.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | use tokio::time::{interval, sleep, Duration}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `fmt` [INFO] [stderr] --> src/main.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ActivityEntry` and `BotSnapshot` [INFO] [stderr] --> src/main.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | use state::{ActivityEntry, BotSnapshot, SharedState}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StoredSignal` and `StoredTrade` [INFO] [stderr] --> src/main.rs:54:40 [INFO] [stderr] | [INFO] [stderr] 54 | use storage::{MarketSnapshot, Storage, StoredSignal, StoredTrade}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx_ping` [INFO] [stderr] --> src/websocket.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | let tx_ping = tx.clone(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_ping` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unrealized_pnl` [INFO] [stderr] --> src/main.rs:270:17 [INFO] [stderr] | [INFO] [stderr] 270 | let unrealized_pnl = pos.unrealized_pnl(current_price); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unrealized_pnl` [INFO] [stderr] [INFO] [stderr] warning: fields `shared_state` and `alerts` are never read [INFO] [stderr] --> src/main.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 59 | struct Bot { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 70 | shared_state: std::sync::Arc, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 71 | alerts: AlertSystem, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `TradeOpened`, `TradeClosed`, `DailyLimitHit`, `CascadeDetected`, and `Custom` are never constructed [INFO] [stderr] --> src/alerts.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub enum AlertKind { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 23 | TradeOpened { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | TradeClosed { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | DailyLimitHit { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | CascadeDetected { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | Custom(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AlertKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `stop_loss_atr_multiplier`, `cascade_trigger_threshold_usdt`, `cvd_divergence_threshold`, `order_timeout_ms`, and `max_slippage_bps` are never read [INFO] [stderr] --> src/config.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 26 | pub stop_loss_atr_multiplier: Decimal, // Stop = entry ± N * ATR [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub cascade_trigger_threshold_usdt: Decimal, // Liquidation volume to trigger signal [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub cvd_divergence_threshold: Decimal, // Price/CVD divergence ratio to trigger [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub order_timeout_ms: u64, // Cancel order if not filled in X ms [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 49 | pub max_slippage_bps: u64, // Max acceptable slippage in basis points [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `symbol` and `notional_usdt` are never read [INFO] [stderr] --> src/execution/mod.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct ActivePosition { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 25 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub notional_usdt: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ActivePosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Level` is never constructed [INFO] [stderr] --> src/market_data/orderbook.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Level { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `notional_usdt` is never used [INFO] [stderr] --> src/market_data/orderbook.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl Level { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] 18 | pub fn notional_usdt(&self) -> Decimal { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `price`, `size_usdt`, `side`, and `appeared` are never read [INFO] [stderr] --> src/market_data/orderbook.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct WallEvent { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 26 | pub price: Decimal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | pub size_usdt: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 28 | pub side: Side, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | pub appeared: bool, // true = appeared, false = disappeared [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WallEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `symbol` is never read [INFO] [stderr] --> src/market_data/orderbook.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct OrderBook { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 46 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `find_walls` is never used [INFO] [stderr] --> src/market_data/orderbook.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 69 | impl OrderBook { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn find_walls(&self, within_pct: Decimal) -> (Vec, Vec) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `event_type`, `symbol`, and `first_update_id` are never read [INFO] [stderr] --> src/market_data/orderbook.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 240 | pub struct DepthUpdate { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 241 | #[serde(rename = "e")] [INFO] [stderr] 242 | pub event_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 246 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 247 | #[serde(rename = "U")] [INFO] [stderr] 248 | pub first_update_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DepthUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `event_type`, `event_time`, `symbol`, and `agg_trade_id` are never read [INFO] [stderr] --> src/market_data/trades.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct AggTradeMsg { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 37 | #[serde(rename = "e")] [INFO] [stderr] 38 | pub event_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 39 | #[serde(rename = "E")] [INFO] [stderr] 40 | pub event_time: i64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 41 | #[serde(rename = "s")] [INFO] [stderr] 42 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 43 | #[serde(rename = "a")] [INFO] [stderr] 44 | pub agg_trade_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AggTradeMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `price_at_window_start` is never read [INFO] [stderr] --> src/market_data/trades.rs:76:5 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct CvdEngine { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 76 | price_at_window_start: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp_ms` and `window_delta` are never read [INFO] [stderr] --> src/market_data/trades.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct CvdSnapshot { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 87 | pub timestamp_ms: i64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | pub window_delta: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CvdSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `buy_volume`, `sell_volume`, `divergence_score`, and `has_divergence` are never read [INFO] [stderr] --> src/market_data/trades.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 94 | pub struct CvdAnalysis { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 95 | /// Rolling window buy volume [INFO] [stderr] 96 | pub buy_volume: Decimal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 97 | /// Rolling window sell volume [INFO] [stderr] 98 | pub sell_volume: Decimal, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub divergence_score: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 105 | /// Price changed direction while CVD went opposite = divergence [INFO] [stderr] 106 | pub has_divergence: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CvdAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `trade_count` is never used [INFO] [stderr] --> src/market_data/trades.rs:286:12 [INFO] [stderr] | [INFO] [stderr] 118 | impl CvdEngine { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 286 | pub fn trade_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `symbol` and `quantity` are never read [INFO] [stderr] --> src/market_data/liquidations.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct LiquidationEvent { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 15 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub quantity: Decimal, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiquidationEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `event_type` and `event_time` are never read [INFO] [stderr] --> src/market_data/liquidations.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct LiquidationMsg { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 32 | #[serde(rename = "e")] [INFO] [stderr] 33 | pub event_type: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 34 | #[serde(rename = "E")] [INFO] [stderr] 35 | pub event_time: i64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiquidationMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `status` is never read [INFO] [stderr] --> src/market_data/liquidations.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct LiquidationOrder { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 53 | pub status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiquidationOrder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `first_seen_ms` is never read [INFO] [stderr] --> src/market_data/liquidations.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct LiquidationCluster { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 88 | pub first_seen_ms: i64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LiquidationCluster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `dominant_side` and `cascade_score` are never used [INFO] [stderr] --> src/market_data/liquidations.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 92 | impl LiquidationCluster { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 93 | pub fn dominant_side(&self) -> &LiqSide { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 102 | pub fn cascade_score(&self) -> Decimal { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `notional_usdt`, `trigger_price`, and `estimated_target` are never read [INFO] [stderr] --> src/market_data/liquidations.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 136 | pub struct CascadeSignal { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 139 | pub notional_usdt: Decimal, // Volume in the cascade [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 140 | pub trigger_price: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 141 | pub estimated_target: Decimal, // Where cascade might push price [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CascadeSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `distance_pct` is never read [INFO] [stderr] --> src/market_data/liquidations.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 145 | pub struct NearbyCluster { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 146 | pub cluster: LiquidationCluster, [INFO] [stderr] 147 | pub distance_pct: Decimal, // Distance from current price in % [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NearbyCluster` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `nearest_targets` is never used [INFO] [stderr] --> src/market_data/liquidations.rs:226:12 [INFO] [stderr] | [INFO] [stderr] 151 | impl LiquidationHeatmap { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 226 | pub fn nearest_targets(&self, current_price: Decimal) -> (Option, Option) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `oi_usdt` is never read [INFO] [stderr] --> src/market_data/open_interest.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct OiSnapshot { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 20 | pub open_interest: Decimal, // In BTC/ETH units [INFO] [stderr] 21 | pub oi_usdt: Decimal, // In USD value [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OiSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `current_oi`, `oi_change_pct_1h`, `oi_change_pct_24h`, `signal_score`, and `is_extreme` are never read [INFO] [stderr] --> src/market_data/open_interest.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct OiAnalysis { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 36 | pub current_oi: Decimal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 37 | pub oi_change_pct_1h: Decimal, // OI change last hour [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 38 | pub oi_change_pct_24h: Decimal, // OI change last 24h [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 39 | pub trend: OiTrend, [INFO] [stderr] 40 | pub signal_score: Decimal, // -1.0 to +1.0 (positive = bullish) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 41 | pub is_extreme: bool, // OI at extreme level = contrarian signal [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OiAnalysis` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `OiResponse` is never constructed [INFO] [stderr] --> src/market_data/open_interest.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct OiResponse { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OiHistEntry` is never constructed [INFO] [stderr] --> src/market_data/open_interest.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct OiHistEntry { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `rate` and `timestamp_ms` are never read [INFO] [stderr] --> src/market_data/open_interest.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 171 | pub struct FundingSnapshot { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 172 | pub rate: Decimal, // e.g. 0.0001 = 0.01% per 8h [INFO] [stderr] | ^^^^ [INFO] [stderr] 173 | pub timestamp_ms: i64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FundingSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `history` is never read [INFO] [stderr] --> src/market_data/open_interest.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 176 | pub struct FundingRateTracker { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 177 | history: VecDeque, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `update`, `contrarian_signal`, `avg_rate_24h`, and `is_extreme` are never used [INFO] [stderr] --> src/market_data/open_interest.rs:189:12 [INFO] [stderr] | [INFO] [stderr] 181 | impl FundingRateTracker { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 189 | pub fn update(&mut self, rate: Decimal, ts: i64) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 203 | pub fn contrarian_signal(&self) -> Decimal { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 210 | pub fn avg_rate_24h(&self) -> Decimal { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | pub fn is_extreme(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `session_start` is never read [INFO] [stderr] --> src/risk/mod.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct RiskState { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 29 | pub session_start: DateTime, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RiskState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/risk/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct TradeRecord { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 41 | pub entry_price: Decimal, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 42 | pub exit_price: Decimal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 43 | pub quantity: Decimal, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 44 | pub pnl_usdt: Decimal, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 45 | pub is_long: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 46 | pub opened_at: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 47 | pub closed_at: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TradeRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `liquidation_score`, `cvd_score`, `orderbook_score`, `momentum_score`, and `timestamp_ms` are never read [INFO] [stderr] --> src/signals/mod.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct CompositeSignal { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | pub liquidation_score: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | pub cvd_score: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 34 | pub orderbook_score: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | pub momentum_score: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub timestamp_ms: i64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompositeSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/state.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct BotSnapshot { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 18 | // Market [INFO] [stderr] 19 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 20 | pub price: Decimal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 21 | pub bid: Decimal, [INFO] [stderr] | ^^^ [INFO] [stderr] 22 | pub ask: Decimal, [INFO] [stderr] | ^^^ [INFO] [stderr] 23 | pub spread_bps: Decimal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 24 | pub timestamp: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub signal_direction: String, // "Long" | "Short" | "Flat" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | pub composite_score: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 29 | pub liq_score: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 30 | pub cvd_score: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 31 | pub ob_score: Decimal, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 32 | pub momentum_score: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 33 | pub signal_reason: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub oi_usdt: Decimal, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 37 | pub oi_change_1h_pct: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 38 | pub funding_rate: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 39 | pub oi_trend: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub cvd_delta: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 43 | pub buy_pressure_pct: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 44 | pub cvd_divergence: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub liq_total_1h: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 48 | pub liq_long_1h: Decimal, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 49 | pub liq_short_1h: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub ob_bid_ratio: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 53 | pub ob_ask_ratio: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub has_position: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 57 | pub position_direction: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 58 | pub position_entry: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 59 | pub position_qty: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 60 | pub position_unrealized_pnl: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 61 | pub position_hold_mins: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 62 | pub position_stop: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 63 | pub position_target: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub account_balance: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 67 | pub daily_pnl: Decimal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 68 | pub daily_pnl_pct: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 69 | pub is_paused: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 70 | pub open_positions: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 71 | pub total_trades_today: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 72 | pub win_rate_today: Decimal, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub uptime_mins: i64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 76 | pub messages_processed: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 77 | pub dry_run: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BotSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp`, `kind`, `message`, `score`, and `pnl` are never read [INFO] [stderr] --> src/state.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct ActivityEntry { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 83 | pub timestamp: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 84 | pub kind: ActivityKind, [INFO] [stderr] | ^^^^ [INFO] [stderr] 85 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 86 | pub score: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 87 | pub pnl: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ActivityEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Signal`, `TradeOpen`, `TradeClose`, `Risk`, `System`, and `Liquidation` are never constructed [INFO] [stderr] --> src/state.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 91 | pub enum ActivityKind { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 92 | Signal, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 93 | TradeOpen, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 94 | TradeClose, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 95 | Risk, [INFO] [stderr] | ^^^^ [INFO] [stderr] 96 | System, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 97 | Liquidation, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ActivityKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `snapshot`, `activity_log`, `recent_trades`, and `equity_curve` are never read [INFO] [stderr] --> src/state.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct SharedState { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 103 | pub snapshot: RwLock, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 104 | pub activity_log: RwLock>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 105 | pub recent_trades: RwLock>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 106 | pub equity_curve: RwLock>, // (ts_ms, balance) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SharedState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `update_snapshot`, `log_activity`, `add_trade`, and `update_equity` are never used [INFO] [stderr] --> src/state.rs:120:12 [INFO] [stderr] | [INFO] [stderr] 109 | impl SharedState { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn update_snapshot(&self, snap: BotSnapshot) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn log_activity(&self, entry: ActivityEntry) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn add_trade(&self, trade: StoredTrade) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn update_equity(&self, ts_ms: i64, balance: Decimal) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `signal`, `trade_open`, `trade_close`, `liquidation`, and `system` are never used [INFO] [stderr] --> src/state.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 151 | impl ActivityEntry { [INFO] [stderr] | ------------------ associated functions in this implementation [INFO] [stderr] 152 | pub fn signal(direction: &str, score: Decimal, reason: &str) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn trade_open(direction: &str, price: Decimal, score: Decimal) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 172 | pub fn trade_close(direction: &str, pnl: Decimal, reason: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 182 | pub fn liquidation(side: &str, amount: Decimal, price: Decimal) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 192 | pub fn system(msg: &str) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StoredSignal` is never constructed [INFO] [stderr] --> src/storage/mod.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct StoredSignal { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `trades_path` and `signals_path` are never read [INFO] [stderr] --> src/storage/mod.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct Storage { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 69 | data_dir: PathBuf, [INFO] [stderr] 70 | trades_path: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 71 | signals_path: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `save_trade` and `save_signal` are never used [INFO] [stderr] --> src/storage/mod.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 79 | impl Storage { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn save_trade(&mut self, trade: StoredTrade) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | pub fn save_signal(&self, signal: StoredSignal) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `FundingRate` and `Error` are never constructed [INFO] [stderr] --> src/websocket.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum StreamMessage { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 24 | FundingRate(Decimal), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 25 | Error(String), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StreamMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Utc` [INFO] [stderr] --> src/bin/dashboard.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `EventStream` [INFO] [stderr] --> src/bin/dashboard.rs:23:67 [INFO] [stderr] | [INFO] [stderr] 23 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, EventStream, KeyCode}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Alignment`, `BarChart`, `Cell`, `Row`, `Sparkline`, `Table`, and `Wrap` [INFO] [stderr] --> src/bin/dashboard.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | layout::{Alignment, Constraint, Direction, Layout, Rect}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | Axis, BarChart, Block, Borders, Cell, Chart, Dataset, Gauge, GraphType, List, ListItem, [INFO] [stderr] | ^^^^^^^^ ^^^^ [INFO] [stderr] 35 | Paragraph, Row, Sparkline, Table, Wrap, [INFO] [stderr] | ^^^ ^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rust_decimal::Decimal` [INFO] [stderr] --> src/bin/dashboard.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use rust_decimal::Decimal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rust_decimal_macros::dec` [INFO] [stderr] --> src/bin/dashboard.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | use rust_decimal_macros::dec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing_subscriber::EnvFilter` [INFO] [stderr] --> src/bin/dashboard.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | use tracing_subscriber::EnvFilter; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio_stream::StreamExt` [INFO] [stderr] --> src/bin/dashboard.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | use tokio_stream::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/bin/dashboard.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | let d = &app.data; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `liq_pct` [INFO] [stderr] --> src/bin/dashboard.rs:368:9 [INFO] [stderr] | [INFO] [stderr] 368 | let liq_pct = (d.liq_score * 100.0) as u16; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_liq_pct` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cvd_pct` [INFO] [stderr] --> src/bin/dashboard.rs:369:9 [INFO] [stderr] | [INFO] [stderr] 369 | let cvd_pct = (d.cvd_score * 100.0) as u16; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cvd_pct` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ob_pct` [INFO] [stderr] --> src/bin/dashboard.rs:370:9 [INFO] [stderr] | [INFO] [stderr] 370 | let ob_pct = (d.ob_score * 100.0) as u16; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ob_pct` [INFO] [stderr] [INFO] [stderr] warning: `liquidity_vacuum_bot` (bin "scanner" test) generated 4 warnings (run `cargo fix --bin "scanner" -p liquidity_vacuum_bot --tests` to apply 2 suggestions) [INFO] [stderr] warning: `liquidity_vacuum_bot` (bin "bot" test) generated 78 warnings (23 duplicates) (run `cargo fix --bin "bot" -p liquidity_vacuum_bot --tests` to apply 12 suggestions) [INFO] [stderr] warning: `liquidity_vacuum_bot` (bin "dashboard" test) generated 11 warnings (run `cargo fix --bin "dashboard" -p liquidity_vacuum_bot --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/liquidity_vacuum_bot-ba1515fb6c92fbbe) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/backtest.rs (/opt/rustwide/target/debug/deps/backtest-fe384c6b11982a84) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bot-54bbe82545bdd01c) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/dashboard.rs (/opt/rustwide/target/debug/deps/dashboard-074dbe1a3d51acd1) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/bin/optimize.rs (/opt/rustwide/target/debug/deps/optimize-82efbfe226dcd142) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/scanner.rs (/opt/rustwide/target/debug/deps/scanner-a8872ba1e5ca0c73) [INFO] [stdout] [INFO] [stderr] Doc-tests liquidity_vacuum_bot [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfa5d4118a4fad474c23665e29524d69b9c8af22799cef72d8879bb7f9bf1ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa5d4118a4fad474c23665e29524d69b9c8af22799cef72d8879bb7f9bf1ed7", kill_on_drop: false }` [INFO] [stdout] dfa5d4118a4fad474c23665e29524d69b9c8af22799cef72d8879bb7f9bf1ed7