[INFO] cloning repository https://github.com/nohypelabs/signalflow-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nohypelabs/signalflow-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohypelabs%2Fsignalflow-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohypelabs%2Fsignalflow-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e15577509bd466d71516177beb227db2f844bad6
[INFO] checking nohypelabs/signalflow-bot against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnohypelabs%2Fsignalflow-bot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nohypelabs/signalflow-bot
[INFO] finished tweaking git repo https://github.com/nohypelabs/signalflow-bot
[INFO] tweaked toml for git repo https://github.com/nohypelabs/signalflow-bot written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nohypelabs/signalflow-bot on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nohypelabs/signalflow-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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3
[INFO] running `Command { std: "docker" "start" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking log v0.4.30
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling memchr v2.8.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling socket2 v0.6.4
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling zerocopy v0.8.50
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling rust_decimal v1.42.0
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking jiff v0.2.28
[INFO] [stderr]     Checking keccak v0.1.6
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking sha3 v0.10.9
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking env_filter v1.0.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.4
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking env_logger v0.11.10
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking signalflow-bot v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `market::*`
[INFO] [stdout]   --> src/domain/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use market::*;
[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: `order::*`
[INFO] [stdout]   --> src/domain/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use order::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `position::*`
[INFO] [stdout]   --> src/domain/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use position::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `signal::*`
[INFO] [stdout]   --> src/domain/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use signal::*;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `store::*`
[INFO] [stdout]   --> src/domain/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use store::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `market::*`
[INFO] [stdout]   --> src/domain/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use market::*;
[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: `order::*`
[INFO] [stdout]   --> src/domain/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use order::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `position::*`
[INFO] [stdout]   --> src/domain/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub use position::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `signal::*`
[INFO] [stdout]   --> src/domain/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use signal::*;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `store::*`
[INFO] [stdout]   --> src/domain/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use store::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ohlcv_poll_secs` is never read
[INFO] [stdout]   --> src/config.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct TradingConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub ohlcv_poll_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradingConfig` 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 `WebSocket` is never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum BotError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     WebSocket(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BotError` 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 `get_all_mids` and `fetch_recent_trades` are never used
[INFO] [stdout]    --> src/hl_rest.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl HyperliquidRest {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn get_all_mids(&self) -> Result<HashMap<String, String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub async fn fetch_recent_trades(&self, coin: &str) -> Result<Vec<TradeRaw>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeRaw` is never constructed
[INFO] [stdout]    --> src/hl_rest.rs:380:12
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub struct TradeRaw {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]    --> src/hl_rest.rs:401:9
[INFO] [stdout]     |
[INFO] [stdout] 399 | pub struct AssetInfo {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 400 |     pub name: String,
[INFO] [stdout] 401 |     pub index: u32,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AssetInfo` 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: variant `AllMids` is never constructed
[INFO] [stdout]    --> src/hl_ws.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub enum WsSubscription {
[INFO] [stdout]     |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 141 |     AllMids,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsSubscription` 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 `timestamp` is never read
[INFO] [stdout]   --> src/orderbook.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct OrderbookSnapshot {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderbookSnapshot` 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 `snapshot`, `depth_usd_levels`, and `mid_price` are never used
[INFO] [stdout]    --> src/orderbook.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl OrderbookAnalyzer {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn snapshot(&self) -> Option<&OrderbookSnapshot> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn depth_usd_levels(&self) -> Option<Vec<(usize, f64)>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn mid_price(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `trade_count` is never used
[INFO] [stdout]    --> src/orderflow.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl CvdTracker {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn trade_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `poll_secs` is never read
[INFO] [stdout]   --> src/funding.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct FundingMonitor {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     poll_secs: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `poll_secs` is never used
[INFO] [stdout]   --> src/funding.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl FundingMonitor {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn poll_secs(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `candle_count_1m`, `candle_count_5m`, `candles_1m`, and `candles_5m` are never used
[INFO] [stdout]    --> src/ta.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl TaEngine {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn candle_count_1m(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn candle_count_5m(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn candles_1m(&self) -> &[Candle] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub fn candles_5m(&self) -> &[Candle] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `size_usd`, `stop_loss`, `take_profit`, `entry_price`, and `risk_usd` are never read
[INFO] [stdout]   --> src/risk.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PositionPlan {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub size_usd: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub stop_loss: f64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 16 |     pub take_profit: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 17 |     pub entry_price: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     pub risk_usd: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PositionPlan` 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 `oid` is never read
[INFO] [stdout]   --> src/execution.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OrderResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 25 |     pub success: bool,
[INFO] [stdout] 26 |     pub oid: Option<u64>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderResult` 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 `actual`, `estimate`, and `prev` are never read
[INFO] [stdout]   --> src/macro_filter.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct EconomicEvent {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub actual: Option<f64>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     #[serde(rename = "estimate")]
[INFO] [stdout] 18 |     pub estimate: Option<f64>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 19 |     #[serde(rename = "prev")]
[INFO] [stdout] 20 |     pub prev: Option<f64>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EconomicEvent` 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 `as_str` is never used
[INFO] [stdout]    --> src/domain/lesson.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl WinCause {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 134 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MidPrice` is never constructed
[INFO] [stdout]  --> src/domain/market.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MidPrice {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookLevel` is never constructed
[INFO] [stdout]   --> src/domain/market.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BookLevel {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]   --> src/domain/market.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `age_ms` is never used
[INFO] [stdout]   --> src/domain/market.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl MarketData {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn age_ms(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderStatus` is never used
[INFO] [stdout]   --> src/domain/order.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum OrderStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderResult` is never constructed
[INFO] [stdout]   --> src/domain/order.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct OrderResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `coin` is never read
[INFO] [stdout]   --> src/domain/position.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Position {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 16 |     pub coin: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Position` 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 `last_reset_day` is never read
[INFO] [stdout]   --> src/domain/position.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct PositionTracker {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     last_reset_day: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `update_pnl`, `maybe_reset_daily`, `load_positions`, and `calc_pnl_static` are never used
[INFO] [stdout]    --> src/domain/position.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl PositionTracker {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn update_pnl(&mut self, prices: &HashMap<String, f64>) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn maybe_reset_daily(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn load_positions(&mut self, positions: Vec<Position>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn calc_pnl_static(pos: &Position, current_price: f64, size: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SignalFlow` and `Custom` are never constructed
[INFO] [stdout]  --> src/domain/signal.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum SignalSource {
[INFO] [stdout]   |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     SignalFlow,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 9 |     Custom(String),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `SignalSource` 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/domain/signal.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Signal {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 24 |     pub source: SignalSource,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 25 |     pub coin: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 26 |     pub action: SignalAction,
[INFO] [stdout] 27 |     pub confidence: f64, // 0.0 - 1.0
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 28 |     pub entry_price: Option<f64>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 29 |     pub stop_loss: Option<f64>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 30 |     pub take_profit: Option<f64>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 31 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Signal` 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 `TradeRecord` is never constructed
[INFO] [stdout]   --> src/domain/store.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TradeRecord {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/domain/store.rs:35:14
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub trait TradeStore: Send + Sync {
[INFO] [stdout]     |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  35 |     async fn log_trade(
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     async fn update_trade_pnl(&self, coin: &str, pnl: f64) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     async fn get_trades(&self, limit: i64) -> Result<Vec<TradeRecord>>;
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     async fn get_trades_by_coin(&self, coin: &str, limit: i64) -> Result<Vec<TradeRecord>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     async fn get_daily_pnl(&self) -> Result<f64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     async fn get_total_pnl(&self) -> Result<f64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     async fn get_trade_count(&self) -> Result<i64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     async fn get_lessons(&self, limit: i64) -> Result<Vec<Lesson>>;
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     async fn get_lessons_by_outcome(&self, outcome: Outcome, limit: i64) -> Result<Vec<Lesson>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     async fn increment_rule_hits(&self, rule_id: i64) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     async fn deactivate_rule(&self, rule_id: i64) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     async fn get_rule_count_by_source(&self, source: &str) -> Result<i64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reasons` is never read
[INFO] [stdout]   --> src/domain/strategy.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct StrategyParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub reasons: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StrategyParams` 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 `add_reason` and `reasons_summary` are never used
[INFO] [stdout]    --> src/domain/strategy.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl StrategyParams {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn add_reason(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn reasons_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_signals` and `get_signal_stats` are never used
[INFO] [stdout]    --> src/store.rs:589:18
[INFO] [stdout]     |
[INFO] [stdout] 517 | impl SqliteStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 589 |     pub async fn get_signals(&self, limit: i64) -> Result<Vec<SignalRecord>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     pub async fn get_signal_stats(&self) -> Result<SignalStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalRecord` is never constructed
[INFO] [stdout]    --> src/store.rs:640:12
[INFO] [stdout]     |
[INFO] [stdout] 640 | pub struct SignalRecord {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalStats` is never constructed
[INFO] [stdout]    --> src/store.rs:663:12
[INFO] [stdout]     |
[INFO] [stdout] 663 | pub struct SignalStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalRow` is never constructed
[INFO] [stdout]    --> src/store.rs:689:8
[INFO] [stdout]     |
[INFO] [stdout] 689 | struct SignalRow {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_record` is never used
[INFO] [stdout]    --> src/store.rs:711:8
[INFO] [stdout]     |
[INFO] [stdout] 710 | impl SignalRow {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 711 |     fn into_record(self) -> SignalRecord {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeRow` is never constructed
[INFO] [stdout]    --> src/store.rs:738:8
[INFO] [stdout]     |
[INFO] [stdout] 738 | struct TradeRow {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_record` is never used
[INFO] [stdout]    --> src/store.rs:754:8
[INFO] [stdout]     |
[INFO] [stdout] 753 | impl TradeRow {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 754 |     fn into_record(self) -> TradeRecord {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LessonRow` is never constructed
[INFO] [stdout]    --> src/store.rs:773:8
[INFO] [stdout]     |
[INFO] [stdout] 773 | struct LessonRow {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_lesson` is never used
[INFO] [stdout]    --> src/store.rs:789:8
[INFO] [stdout]     |
[INFO] [stdout] 788 | impl LessonRow {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 789 |     fn into_lesson(self) -> Result<Lesson> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `atr_sl_mult` and `tp_mult` are never read
[INFO] [stdout]   --> src/lesson.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct LessonEngine {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     atr_sl_mult: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     /// TP multiplier from config
[INFO] [stdout] 20 |     tp_mult: f64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/lesson.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct TradeResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub size: f64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradeResult` 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 `analyze_patterns` is never used
[INFO] [stdout]    --> src/lesson.rs:311:18
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl LessonEngine {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 311 |     pub async fn analyze_patterns(&self) -> Result<Vec<Lesson>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ohlcv_poll_secs` is never read
[INFO] [stdout]   --> src/config.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct TradingConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub ohlcv_poll_secs: u64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradingConfig` 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 `WebSocket` is never constructed
[INFO] [stdout]   --> src/error.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum BotError {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     WebSocket(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BotError` 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 `get_all_mids` and `fetch_recent_trades` are never used
[INFO] [stdout]    --> src/hl_rest.rs:120:18
[INFO] [stdout]     |
[INFO] [stdout]  41 | impl HyperliquidRest {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn get_all_mids(&self) -> Result<HashMap<String, String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub async fn fetch_recent_trades(&self, coin: &str) -> Result<Vec<TradeRaw>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeRaw` is never constructed
[INFO] [stdout]    --> src/hl_rest.rs:380:12
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub struct TradeRaw {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]    --> src/hl_rest.rs:401:9
[INFO] [stdout]     |
[INFO] [stdout] 399 | pub struct AssetInfo {
[INFO] [stdout]     |            --------- field in this struct
[INFO] [stdout] 400 |     pub name: String,
[INFO] [stdout] 401 |     pub index: u32,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AssetInfo` 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: variant `AllMids` is never constructed
[INFO] [stdout]    --> src/hl_ws.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub enum WsSubscription {
[INFO] [stdout]     |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 141 |     AllMids,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsSubscription` 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 `timestamp` is never read
[INFO] [stdout]   --> src/orderbook.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct OrderbookSnapshot {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub timestamp: u64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderbookSnapshot` 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 `snapshot`, `depth_usd_levels`, and `mid_price` are never used
[INFO] [stdout]    --> src/orderbook.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl OrderbookAnalyzer {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn snapshot(&self) -> Option<&OrderbookSnapshot> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn depth_usd_levels(&self) -> Option<Vec<(usize, f64)>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn mid_price(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `trade_count` is never used
[INFO] [stdout]    --> src/orderflow.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl CvdTracker {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn trade_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `poll_secs` is never read
[INFO] [stdout]   --> src/funding.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct FundingMonitor {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     poll_secs: u64,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `poll_secs` is never used
[INFO] [stdout]   --> src/funding.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl FundingMonitor {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn poll_secs(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `candle_count_1m`, `candle_count_5m`, `candles_1m`, and `candles_5m` are never used
[INFO] [stdout]    --> src/ta.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl TaEngine {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn candle_count_1m(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn candle_count_5m(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub fn candles_1m(&self) -> &[Candle] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     pub fn candles_5m(&self) -> &[Candle] {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `size_usd`, `stop_loss`, `take_profit`, `entry_price`, and `risk_usd` are never read
[INFO] [stdout]   --> src/risk.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct PositionPlan {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub size_usd: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub stop_loss: f64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 16 |     pub take_profit: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 17 |     pub entry_price: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 18 |     pub risk_usd: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PositionPlan` 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 `oid` is never read
[INFO] [stdout]   --> src/execution.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OrderResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 25 |     pub success: bool,
[INFO] [stdout] 26 |     pub oid: Option<u64>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderResult` 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 `actual`, `estimate`, and `prev` are never read
[INFO] [stdout]   --> src/macro_filter.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct EconomicEvent {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub actual: Option<f64>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     #[serde(rename = "estimate")]
[INFO] [stdout] 18 |     pub estimate: Option<f64>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 19 |     #[serde(rename = "prev")]
[INFO] [stdout] 20 |     pub prev: Option<f64>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EconomicEvent` 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 `as_str` is never used
[INFO] [stdout]   --> src/domain/lesson.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl LossCause {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 80 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]    --> src/domain/lesson.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl WinCause {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 134 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_DATA_AGE_MS` is never used
[INFO] [stdout]  --> src/domain/market.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const MAX_DATA_AGE_MS: u64 = 60_000;
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MidPrice` is never constructed
[INFO] [stdout]  --> src/domain/market.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MidPrice {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookLevel` is never constructed
[INFO] [stdout]   --> src/domain/market.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BookLevel {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]   --> src/domain/market.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketData` is never constructed
[INFO] [stdout]   --> src/domain/market.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct MarketData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/domain/market.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl MarketData {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn update_mid(&mut self, coin: String, price: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_price(&self, coin: &str) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get_price_unchecked(&self, coin: &str) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn is_stale(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn age_ms(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     fn now_millis() -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Side` is never used
[INFO] [stdout]  --> src/domain/order.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Side {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderType` is never used
[INFO] [stdout]   --> src/domain/order.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum OrderType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TimeInForce` is never used
[INFO] [stdout]   --> src/domain/order.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum TimeInForce {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/domain/order.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderStatus` is never used
[INFO] [stdout]   --> src/domain/order.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum OrderStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderResult` is never constructed
[INFO] [stdout]   --> src/domain/order.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct OrderResult {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `limit`, `validate`, and `with_leverage` are never used
[INFO] [stdout]    --> src/domain/order.rs:73:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl Order {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  72 |     /// Create a limit order
[INFO] [stdout]  73 |     pub fn limit(coin: impl Into<String>, side: Side, size: f64, price: f64) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn validate(&self) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn with_leverage(mut self, leverage: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PositionSide` is never used
[INFO] [stdout]  --> src/domain/position.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum PositionSide {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]   --> src/domain/position.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Position {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PositionTracker` is never constructed
[INFO] [stdout]   --> src/domain/position.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct PositionTracker {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/domain/position.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl PositionTracker {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout]  32 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     pub fn has_position(&self, coin: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     pub fn get(&self, coin: &str) -> Option<&Position> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn total_exposure(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     pub fn daily_pnl(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn update(&mut self, coin: &str, side: Side, size: f64, price: f64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn update_pnl(&mut self, prices: &HashMap<String, f64>) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn maybe_reset_daily(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn load_positions(&mut self, positions: Vec<Position>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     fn calc_pnl(pos: &Position, current_price: f64, size: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn calc_pnl_static(pos: &Position, current_price: f64, size: f64) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn current_day() -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     fn now_millis() -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SignalSource` is never used
[INFO] [stdout]  --> src/domain/signal.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum SignalSource {
[INFO] [stdout]   |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SignalAction` is never used
[INFO] [stdout]   --> src/domain/signal.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum SignalAction {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Signal` is never constructed
[INFO] [stdout]   --> src/domain/signal.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Signal {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_side`, `is_open`, and `is_close` are never used
[INFO] [stdout]   --> src/domain/signal.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl Signal {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 35 |     /// Convert signal action to order side
[INFO] [stdout] 36 |     pub fn to_side(&self) -> Side {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn is_open(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn is_close(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeRecord` is never constructed
[INFO] [stdout]   --> src/domain/store.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct TradeRecord {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/domain/store.rs:35:14
[INFO] [stdout]     |
[INFO] [stdout]  28 | pub trait TradeStore: Send + Sync {
[INFO] [stdout]     |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  35 |     async fn log_trade(
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     async fn update_trade_pnl(&self, coin: &str, pnl: f64) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  49 |     async fn get_trades(&self, limit: i64) -> Result<Vec<TradeRecord>>;
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  52 |     async fn get_trades_by_coin(&self, coin: &str, limit: i64) -> Result<Vec<TradeRecord>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     async fn get_daily_pnl(&self) -> Result<f64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  58 |     async fn get_total_pnl(&self) -> Result<f64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     async fn get_trade_count(&self) -> Result<i64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     async fn get_lessons(&self, limit: i64) -> Result<Vec<Lesson>>;
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     async fn get_lessons_by_outcome(&self, outcome: Outcome, limit: i64) -> Result<Vec<Lesson>>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     async fn increment_rule_hits(&self, rule_id: i64) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     async fn deactivate_rule(&self, rule_id: i64) -> Result<()>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     async fn get_rule_count_by_source(&self, source: &str) -> Result<i64>;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MarketRegime` is never used
[INFO] [stdout]   --> src/domain/strategy.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum MarketRegime {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TradingSession` is never used
[INFO] [stdout]   --> src/domain/strategy.rs:33:10
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub enum TradingSession {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `current` and `as_str` are never used
[INFO] [stdout]   --> src/domain/strategy.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl TradingSession {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 40 |     pub fn current() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StrategyParams` is never constructed
[INFO] [stdout]   --> src/domain/strategy.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct StrategyParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_config`, `add_reason`, and `reasons_summary` are never used
[INFO] [stdout]    --> src/domain/strategy.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl StrategyParams {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  98 |     /// Default params from config (no adjustments)
[INFO] [stdout]  99 |     pub fn from_config(
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn add_reason(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn reasons_summary(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_sma` is never used
[INFO] [stdout]    --> src/domain/strategy.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn calc_sma(prices: &[f64]) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_atr_pct` is never used
[INFO] [stdout]    --> src/domain/strategy.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub fn calc_atr_pct(prices: &[f64]) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_regime` is never used
[INFO] [stdout]    --> src/domain/strategy.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub fn detect_regime(prices: &[f64]) -> MarketRegime {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_signals` and `get_signal_stats` are never used
[INFO] [stdout]    --> src/store.rs:589:18
[INFO] [stdout]     |
[INFO] [stdout] 517 | impl SqliteStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 589 |     pub async fn get_signals(&self, limit: i64) -> Result<Vec<SignalRecord>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     pub async fn get_signal_stats(&self) -> Result<SignalStats> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalRecord` is never constructed
[INFO] [stdout]    --> src/store.rs:640:12
[INFO] [stdout]     |
[INFO] [stdout] 640 | pub struct SignalRecord {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalStats` is never constructed
[INFO] [stdout]    --> src/store.rs:663:12
[INFO] [stdout]     |
[INFO] [stdout] 663 | pub struct SignalStats {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalRow` is never constructed
[INFO] [stdout]    --> src/store.rs:689:8
[INFO] [stdout]     |
[INFO] [stdout] 689 | struct SignalRow {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_record` is never used
[INFO] [stdout]    --> src/store.rs:711:8
[INFO] [stdout]     |
[INFO] [stdout] 710 | impl SignalRow {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 711 |     fn into_record(self) -> SignalRecord {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeRow` is never constructed
[INFO] [stdout]    --> src/store.rs:738:8
[INFO] [stdout]     |
[INFO] [stdout] 738 | struct TradeRow {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_record` is never used
[INFO] [stdout]    --> src/store.rs:754:8
[INFO] [stdout]     |
[INFO] [stdout] 753 | impl TradeRow {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] 754 |     fn into_record(self) -> TradeRecord {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LessonRow` is never constructed
[INFO] [stdout]    --> src/store.rs:773:8
[INFO] [stdout]     |
[INFO] [stdout] 773 | struct LessonRow {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_lesson` is never used
[INFO] [stdout]    --> src/store.rs:789:8
[INFO] [stdout]     |
[INFO] [stdout] 788 | impl LessonRow {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] 789 |     fn into_lesson(self) -> Result<Lesson> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `atr_sl_mult` and `tp_mult` are never read
[INFO] [stdout]   --> src/lesson.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct LessonEngine {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     atr_sl_mult: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 19 |     /// TP multiplier from config
[INFO] [stdout] 20 |     tp_mult: f64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `size` is never read
[INFO] [stdout]   --> src/lesson.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct TradeResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub size: f64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradeResult` 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 `analyze_patterns` is never used
[INFO] [stdout]    --> src/lesson.rs:311:18
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl LessonEngine {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 311 |     pub async fn analyze_patterns(&self) -> Result<Vec<Lesson>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3", kill_on_drop: false }`
[INFO] [stdout] 912ea69ac16b6980c009e5f7dd2282f1a4ea9ef5e27d30e4164f48e7651825e3
