[INFO] cloning repository https://github.com/germain85ok/BaconAlgo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/germain85ok/BaconAlgo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgermain85ok%2FBaconAlgo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgermain85ok%2FBaconAlgo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6568d639255cdb84523c92473c8ae6d8d27fb183 [INFO] checking germain85ok/BaconAlgo against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgermain85ok%2FBaconAlgo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/germain85ok/BaconAlgo [INFO] finished tweaking git repo https://github.com/germain85ok/BaconAlgo [INFO] tweaked toml for git repo https://github.com/germain85ok/BaconAlgo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/germain85ok/BaconAlgo on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/germain85ok/BaconAlgo 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mimalloc v0.1.48 [INFO] [stderr] Downloaded zerocopy-derive v0.8.38 [INFO] [stderr] Downloaded redis v0.27.6 [INFO] [stderr] Downloaded zerocopy v0.8.38 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.44 [INFO] [stderr] Downloaded arc-swap v1.8.1 [INFO] [stderr] Downloaded feed-rs v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3bbb8c8eb87d62091c2c013ac0ae1edfb50454a969bb209509bd02685582b60 [INFO] running `Command { std: "docker" "start" "-a" "d3bbb8c8eb87d62091c2c013ac0ae1edfb50454a969bb209509bd02685582b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3bbb8c8eb87d62091c2c013ac0ae1edfb50454a969bb209509bd02685582b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3bbb8c8eb87d62091c2c013ac0ae1edfb50454a969bb209509bd02685582b60", kill_on_drop: false }` [INFO] [stdout] d3bbb8c8eb87d62091c2c013ac0ae1edfb50454a969bb209509bd02685582b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c8a8853e3fdabf093447dd576f387e800e2236d9ca6e7c8db7767b3fd7db0c3 [INFO] running `Command { std: "docker" "start" "-a" "7c8a8853e3fdabf093447dd576f387e800e2236d9ca6e7c8db7767b3fd7db0c3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rkyv v0.7.46 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking backon v1.6.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking arc-swap v1.8.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libmimalloc-sys v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling execution v0.1.0 (/opt/rustwide/workdir/execution) [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking mimalloc v0.1.48 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.46 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking compression-codecs v0.4.36 [INFO] [stderr] Checking feed-rs v1.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking async-compression v0.4.37 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking redis v0.27.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stdout] warning: unused imports: `BusError`, `QuantumBus`, and `TopicMessage` [INFO] [stdout] --> execution/src/bus/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quantum_bus::{QuantumBus, TopicMessage, BusError}; [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: `serde_json::json` [INFO] [stdout] --> execution/src/api/chart.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> execution/src/market/providers/yahoo.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> execution/src/market/providers/binance.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MarketAdapter` and `MarketEvent` [INFO] [stdout] --> execution/src/market/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub use adapter::{MarketAdapter, MarketEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MarketType` and `SymbolMetadata` [INFO] [stdout] --> execution/src/market/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub use universe::{SymbolUniverse, SymbolMetadata, MarketType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Candle as ProviderCandle` and `Quote` [INFO] [stdout] --> execution/src/market/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub use providers::{Candle as ProviderCandle, Quote}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EngineError`, `EngineMessage`, `EngineMetrics`, `MessageHandler`, and `QuantumEngine` [INFO] [stdout] --> execution/src/engine/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quantum_engine::{QuantumEngine, EngineMessage, EngineMetrics, EngineError, MessageHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExchangeRoute`, `OrderRouter`, `OrderSide`, `OrderState`, `OrderType`, `Order`, and `RouterError` [INFO] [stdout] --> execution/src/engine/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use order_router::{OrderRouter, Order, OrderType, OrderSide, OrderState, ExchangeRoute, RouterError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CircuitBreakerState`, `PortfolioMetrics`, `Position`, `RiskError`, `RiskLimits`, and `RiskManager` [INFO] [stdout] --> execution/src/engine/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use risk_manager::{RiskManager, Position, PortfolioMetrics, RiskLimits, CircuitBreakerState, RiskError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BacktestConfig`, `BacktestEngine`, `BacktestMetrics`, `BacktestTrade`, `MonteCarloResult`, and `TradeSide` [INFO] [stdout] --> execution/src/backtest/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BacktestEngine, BacktestConfig, BacktestTrade, BacktestMetrics, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | MonteCarloResult, TradeSide, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FairValueGap`, `FvgDetector`, and `FvgType` [INFO] [stdout] --> execution/src/smc/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub use fvg::{FairValueGap, FvgDetector, FvgType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OrderBlockDetector`, `OrderBlockType`, and `OrderBlock` [INFO] [stdout] --> execution/src/smc/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub use order_blocks::{OrderBlock, OrderBlockDetector, OrderBlockType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BosDetector`, `BosType`, `BreakOfStructure`, and `SwingPoint` [INFO] [stdout] --> execution/src/smc/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub use bos::{BreakOfStructure, BosDetector, BosType, SwingPoint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LiquidityDetector`, `LiquidityType`, and `LiquidityZone` [INFO] [stdout] --> execution/src/smc/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub use liquidity::{LiquidityZone, LiquidityDetector, LiquidityType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> execution/src/signal/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BusError`, `QuantumBus`, and `TopicMessage` [INFO] [stdout] --> execution/src/bus/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quantum_bus::{QuantumBus, TopicMessage, BusError}; [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: `serde_json::json` [INFO] [stdout] --> execution/src/api/chart.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> execution/src/market/providers/yahoo.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> execution/src/market/providers/binance.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MarketAdapter` and `MarketEvent` [INFO] [stdout] --> execution/src/market/mod.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub use adapter::{MarketAdapter, MarketEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MarketType` and `SymbolMetadata` [INFO] [stdout] --> execution/src/market/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | pub use universe::{SymbolUniverse, SymbolMetadata, MarketType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Candle as ProviderCandle` and `Quote` [INFO] [stdout] --> execution/src/market/mod.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub use providers::{Candle as ProviderCandle, Quote}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EngineError`, `EngineMessage`, `EngineMetrics`, `MessageHandler`, and `QuantumEngine` [INFO] [stdout] --> execution/src/engine/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub use quantum_engine::{QuantumEngine, EngineMessage, EngineMetrics, EngineError, MessageHandler}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExchangeRoute`, `OrderRouter`, `OrderSide`, `OrderState`, `OrderType`, `Order`, and `RouterError` [INFO] [stdout] --> execution/src/engine/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use order_router::{OrderRouter, Order, OrderType, OrderSide, OrderState, ExchangeRoute, RouterError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CircuitBreakerState`, `PortfolioMetrics`, `Position`, `RiskError`, `RiskLimits`, and `RiskManager` [INFO] [stdout] --> execution/src/engine/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use risk_manager::{RiskManager, Position, PortfolioMetrics, RiskLimits, CircuitBreakerState, RiskError}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BacktestConfig`, `BacktestEngine`, `BacktestMetrics`, `BacktestTrade`, `MonteCarloResult`, and `TradeSide` [INFO] [stdout] --> execution/src/backtest/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | BacktestEngine, BacktestConfig, BacktestTrade, BacktestMetrics, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | MonteCarloResult, TradeSide, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnhancedSignal` [INFO] [stdout] --> execution/src/smc/integration_example.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::signal::{EnhancedSignal, SignalBuilder, SignalDirection, SmcTags}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FairValueGap` and `FvgType` [INFO] [stdout] --> execution/src/smc/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub use fvg::{FairValueGap, FvgDetector, FvgType}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OrderBlockType` and `OrderBlock` [INFO] [stdout] --> execution/src/smc/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | pub use order_blocks::{OrderBlock, OrderBlockDetector, OrderBlockType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BosType`, `BreakOfStructure`, and `SwingPoint` [INFO] [stdout] --> execution/src/smc/mod.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub use bos::{BreakOfStructure, BosDetector, BosType, SwingPoint}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LiquidityType` and `LiquidityZone` [INFO] [stdout] --> execution/src/smc/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub use liquidity::{LiquidityZone, LiquidityDetector, LiquidityType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> execution/src/signal/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `note` [INFO] [stdout] --> execution/src/market/providers/alphavantage.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(note) = data.get("Note") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_note` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> execution/src/market/providers/alphavantage.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | symbol: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `note` [INFO] [stdout] --> execution/src/market/providers/alphavantage.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(note) = data.get("Note") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_note` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> execution/src/market/providers/alphavantage.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | symbol: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_close_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_close` [INFO] [stdout] --> execution/src/smc/bos.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | let (_, current_high, current_low, current_close, current_ts) = candles[candles.len() - 1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> execution/src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut scanner = Scanner::new(scanner_bus.sender(), scanner_provider); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish` is never used [INFO] [stdout] --> execution/src/bus/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SignalBus { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn publish(&self, msg: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopicMessage` is never constructed [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TopicMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuantumBus` is never constructed [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct QuantumBus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl QuantumBus { [INFO] [stdout] | --------------------------------------------- associated items in this implementation [INFO] [stdout] 28 | /// Create a new quantum bus with specified capacity [INFO] [stdout] 29 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn publish(&self, topic: String, payload: T) -> Result<(), BusError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn subscribe(&self, topic: String) -> Receiver> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn clear_topic(&self, topic: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn subscriber_count(&self, topic: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn start_dispatcher(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn avg_latency_ns(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn messages_sent(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn queue_utilization(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BusError` is never used [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub enum BusError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SseStream` is never used [INFO] [stdout] --> execution/src/api/sse.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SseStream = Pin> + Send>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_event` is never used [INFO] [stdout] --> execution/src/api/sse.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_event(data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_named_event` is never used [INFO] [stdout] --> execution/src/api/sse.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_named_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heartbeat_event` is never used [INFO] [stdout] --> execution/src/api/sse.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn heartbeat_event() -> Event { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_indicator` is never used [INFO] [stdout] --> execution/src/scanner/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Scanner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_indicator(&mut self, indicator: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Timeframe` is never used [INFO] [stdout] --> execution/src/scanner/timeframe.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Timeframe { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> execution/src/scanner/timeframe.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Timeframe { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 7 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> execution/src/scanner/context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> execution/src/scanner/context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScannerEngine` is never constructed [INFO] [stdout] --> execution/src/scanner/engine.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ScannerEngine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `ready` are never used [INFO] [stdout] --> execution/src/scanner/engine.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ScannerEngine { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn update(&mut self, ctx: Context) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn ready(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PatternType` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PatternType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pattern` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instrument` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Instrument { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScanResult` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ScanResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuantumScanner` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct QuantumScanner { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PatternDetector` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait PatternDetector: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_detector`, `scan_parallel`, `clear_cache`, and `cache_size` are never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl QuantumScanner { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 63 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_detector(&mut self, detector: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn scan_parallel(&self, instruments: &[Instrument]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn cache_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BreakoutDetector` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BreakoutDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl BreakoutDetector { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(lookback_periods: usize, volume_threshold: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VolumeAnomalyDetector` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub struct VolumeAnomalyDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl VolumeAnomalyDetector { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 191 | pub fn new(threshold_multiplier: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FairValueGapDetector` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct FairValueGapDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl FairValueGapDetector { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 230 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Timeframe` is never used [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Timeframe { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all` and `as_str` are never used [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Timeframe { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignalType` is never used [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum SignalType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorSignal` is never constructed [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct IndicatorSignal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FusedSignal` is never constructed [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct FusedSignal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignalEngine` is never constructed [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct SignalEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl SignalEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new(min_confidence: f64, min_consensus: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn fuse_signals(&self, symbol: &str, signals: Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn calculate_rsi_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn calculate_macd_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn calculate_ma_crossover_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn calculate_bollinger_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn calculate_stochastic_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderBookLevel` is never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OrderBookLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderBook` is never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct OrderBook { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `best_bid`, `best_ask`, `spread`, and `mid_price` are never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl OrderBook { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(symbol: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn best_bid(&self) -> Option<&OrderBookLevel> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn best_ask(&self) -> Option<&OrderBookLevel> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn spread(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn mid_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trade` is never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Trade { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TradeSide` is never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum TradeSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketDataEvent` is never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum MarketDataEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarketDataProcessor` is never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct MarketDataProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl MarketDataProcessor { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 90 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn update_order_book(&self, mut book: OrderBook) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn process_trade(&self, trade: Trade) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn process_quote(&self, symbol: String, bid: f64, ask: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_order_book(&self, symbol: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn subscribe(&self) -> mpsc::UnboundedSender { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn calculate_vwap(&self, symbol: &str, depth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn calculate_imbalance(&self, symbol: &str, depth: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketMultiplexer` is never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct WebSocketMultiplexer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `subscribe`, `unsubscribe`, `get_subscriptions`, and `handle_message` are never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl WebSocketMultiplexer { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 205 | pub fn new(processor: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub async fn subscribe(&self, symbol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub async fn unsubscribe(&self, symbol: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_subscriptions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn handle_message(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candle` is never constructed [INFO] [stdout] --> execution/src/market/candle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Candle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketEvent` is never used [INFO] [stdout] --> execution/src/market/adapter.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MarketEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MarketAdapter` is never used [INFO] [stdout] --> execution/src/market/adapter.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait MarketAdapter: Send { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinanceAdapter` is never constructed [INFO] [stdout] --> execution/src/market/binance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BinanceAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/market/binance.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BinanceAdapter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(symbol: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `all`, `by_market_type`, and `symbols_only` are never used [INFO] [stdout] --> execution/src/market/universe.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SymbolUniverse { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 25 | /// Get all symbols in the universe [INFO] [stdout] 26 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn by_market_type(market_type: MarketType) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn symbols_only() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `is_available` are never used [INFO] [stdout] --> execution/src/market/providers/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait MarketDataProvider: Send + Sync { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 65 | /// Get the provider name [INFO] [stdout] 66 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> execution/src/market/providers/yahoo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct YahooMeta { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 37 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YahooMeta` 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 `api_key` and `api_secret` are never read [INFO] [stdout] --> execution/src/market/providers/binance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BinanceProvider { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 7 | client: reqwest::Client, [INFO] [stdout] 8 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | api_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinanceKline` is never constructed [INFO] [stdout] --> execution/src/market/providers/binance.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct BinanceKline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `api_key` are never read [INFO] [stdout] --> execution/src/market/providers/coingecko.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CoinGeckoProvider { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `api_key` are never read [INFO] [stdout] --> execution/src/market/providers/polygon.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PolygonProvider { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `polygon` is never read [INFO] [stdout] --> execution/src/market/provider_manager.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ProviderManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | polygon: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewsItem` is never constructed [INFO] [stdout] --> execution/src/news.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NewsItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_ms` is never used [INFO] [stdout] --> execution/src/news.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn now_ms() -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_feed` is never used [INFO] [stdout] --> execution/src/news.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn fetch_feed(url: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_live_news` is never used [INFO] [stdout] --> execution/src/news.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn get_live_news() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alpaca_secret`, `alpaca_base_url`, `redis_url`, and `rate_limit_per_min` are never read [INFO] [stdout] --> execution/src/config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub alpaca_secret: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub alpaca_base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub redis_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub rate_limit_per_min: u32, [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: methods `name` and `category` are never used [INFO] [stdout] --> execution/src/families/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait Indicator: Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn category(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockTechnicalIndicator` is never constructed [INFO] [stdout] --> execution/src/families/technical/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MockTechnicalIndicator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockFundamentalIndicator` is never constructed [INFO] [stdout] --> execution/src/families/fundamental/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MockFundamentalIndicator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineMessage` is never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum EngineMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderRequest` is never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OrderRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderSide` is never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum OrderSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderType` is never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum OrderType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarketUpdate` is never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct MarketUpdate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EngineMetrics` is never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct EngineMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_latency`, and `get_avg_latency_ns` are never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl EngineMetrics { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 67 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn record_latency(&self, latency_ns: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_avg_latency_ns(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuantumEngine` is never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct QuantumEngine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MessageHandler` is never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub trait MessageHandler: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineError` is never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum EngineError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl QuantumEngine { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 159 | /// Create a new quantum engine with specified capacity [INFO] [stdout] 160 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn add_handler(&self, handler: Arc) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn submit(&self, msg: EngineMessage) -> Result<(), EngineError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn process_messages(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn metrics(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn queue_utilization(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderType` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OrderType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderSide` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OrderSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderState` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum OrderState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Order` is never constructed [INFO] [stdout] --> execution/src/engine/order_router.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `remaining_quantity`, and `is_active` are never used [INFO] [stdout] --> execution/src/engine/order_router.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Order { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 62 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn remaining_quantity(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExchangeRoute` is never constructed [INFO] [stdout] --> execution/src/engine/order_router.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct ExchangeRoute { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_handle` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl ExchangeRoute { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 118 | pub fn can_handle(&self, order: &Order) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValidationResult` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum ValidationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderRouter` is never constructed [INFO] [stdout] --> execution/src/engine/order_router.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct OrderRouter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/engine/order_router.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl OrderRouter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn add_route(&self, route: ExchangeRoute) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn next_order_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn validate_order(&self, order: &Order) -> ValidationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn route_order(&self, mut order: Order) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn update_order_state(&self, order_id: u64, state: OrderState) -> Result<(), RouterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn fill_order(&self, order_id: u64, quantity: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn cancel_order(&self, order_id: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn get_order(&self, order_id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn get_active_orders(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_orders_by_symbol(&self, symbol: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RouterError` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum RouterError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> execution/src/engine/risk_manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `market_value` and `update_pnl` are never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 17 | pub fn market_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_pnl(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortfolioMetrics` is never constructed [INFO] [stdout] --> execution/src/engine/risk_manager.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PortfolioMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RiskLimits` is never constructed [INFO] [stdout] --> execution/src/engine/risk_manager.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct RiskLimits { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CircuitBreakerState` is never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum CircuitBreakerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RiskManager` is never constructed [INFO] [stdout] --> execution/src/engine/risk_manager.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct RiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TradeRecord` is never constructed [INFO] [stdout] --> execution/src/engine/risk_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct TradeRecord { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl RiskManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 119 | pub fn new(initial_capital: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn calculate_kelly_position_size( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn check_order_risk(&self, _symbol: &str, quantity: f64, price: f64) -> Result<(), RiskError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn update_position(&self, symbol: String, quantity: f64, price: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn calculate_var(&self, confidence: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn calculate_sharpe(&self, risk_free_rate: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn calculate_sortino(&self, risk_free_rate: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn calculate_calmar(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn calculate_max_drawdown(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn update_equity(&self, current_equity: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn calculate_metrics(&self) -> PortfolioMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn reset_circuit_breaker(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn get_circuit_breaker_state(&self) -> CircuitBreakerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RiskError` is never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | pub enum RiskError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestConfig` is never constructed [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BacktestConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestTrade` is never constructed [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct BacktestTrade { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TradeSide` is never used [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TradeSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestMetrics` is never constructed [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct BacktestMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonteCarloResult` is never constructed [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct MonteCarloResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestEngine` is never constructed [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct BacktestEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl BacktestEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 114 | pub fn new(config: BacktestConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn execute_trade( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn calculate_metrics(&self) -> BacktestMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn calculate_max_drawdown(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn monte_carlo_simulation(&self, num_simulations: usize) -> MonteCarloResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn run_simulation_iteration(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn get_equity_curve(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn get_trades(&self) -> &[BacktestTrade] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FvgType` is never used [INFO] [stdout] --> execution/src/smc/fvg.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum FvgType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FairValueGap` is never constructed [INFO] [stdout] --> execution/src/smc/fvg.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct FairValueGap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_mitigation`, `is_near`, and `size` are never used [INFO] [stdout] --> execution/src/smc/fvg.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl FairValueGap { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | /// Create a new FVG [INFO] [stdout] 26 | pub fn new(fvg_type: FvgType, top: f64, bottom: f64, timestamp: i64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn check_mitigation(&mut self, price: f64, timestamp: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_near(&self, price: f64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FvgDetector` is never constructed [INFO] [stdout] --> execution/src/smc/fvg.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FvgDetector { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `detect` are never used [INFO] [stdout] --> execution/src/smc/fvg.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl FvgDetector { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 75 | pub fn new(min_gap_pct: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn detect( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderBlockType` is never used [INFO] [stdout] --> execution/src/smc/order_blocks.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OrderBlockType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderBlock` is never constructed [INFO] [stdout] --> execution/src/smc/order_blocks.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct OrderBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_mitigation`, `is_near`, and `size` are never used [INFO] [stdout] --> execution/src/smc/order_blocks.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OrderBlock { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(ob_type: OrderBlockType, top: f64, bottom: f64, timestamp: i64, strength: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn check_mitigation(&mut self, price: f64, timestamp: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_near(&self, price: f64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderBlockDetector` is never constructed [INFO] [stdout] --> execution/src/smc/order_blocks.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct OrderBlockDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `detect`, and `get_unmitigated` are never used [INFO] [stdout] --> execution/src/smc/order_blocks.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl OrderBlockDetector { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 76 | pub fn new(min_move_pct: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn detect( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_unmitigated(&self, order_blocks: &[OrderBlock]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BosType` is never used [INFO] [stdout] --> execution/src/smc/bos.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum BosType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BreakOfStructure` is never constructed [INFO] [stdout] --> execution/src/smc/bos.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BreakOfStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/smc/bos.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BreakOfStructure { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(bos_type: BosType, break_level: f64, timestamp: i64, strength: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwingPoint` is never constructed [INFO] [stdout] --> execution/src/smc/bos.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SwingPoint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BosDetector` is never constructed [INFO] [stdout] --> execution/src/smc/bos.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BosDetector { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find_swing_points`, `detect`, and `is_bos_confirmed` are never used [INFO] [stdout] --> execution/src/smc/bos.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl BosDetector { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new(lookback_period: usize, min_break_pct: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn find_swing_points( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn detect( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_bos_confirmed(&self, candles: &[(f64, f64, f64, f64, i64)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LiquidityType` is never used [INFO] [stdout] --> execution/src/smc/liquidity.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum LiquidityType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LiquidityZone` is never constructed [INFO] [stdout] --> execution/src/smc/liquidity.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LiquidityZone { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `check_sweep`, and `is_near` are never used [INFO] [stdout] --> execution/src/smc/liquidity.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl LiquidityZone { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new(liquidity_type: LiquidityType, price_level: f64, timestamp: i64, strength: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn check_sweep(&mut self, high: f64, low: f64, timestamp: i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn is_near(&self, price: f64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LiquidityDetector` is never constructed [INFO] [stdout] --> execution/src/smc/liquidity.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct LiquidityDetector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `find_equal_highs`, `find_equal_lows`, `detect`, and `detect_sweeps` are never used [INFO] [stdout] --> execution/src/smc/liquidity.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl LiquidityDetector { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 69 | pub fn new(equal_threshold_pct: f64, min_touches: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn find_equal_highs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn find_equal_lows( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn detect( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn detect_sweeps( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignalDirection` is never used [INFO] [stdout] --> execution/src/signal/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum SignalDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignalGrade` is never used [INFO] [stdout] --> execution/src/signal/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum SignalGrade { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_score` is never used [INFO] [stdout] --> execution/src/signal/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl SignalGrade { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 32 | pub fn from_score(score: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignalTargets` is never constructed [INFO] [stdout] --> execution/src/signal/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SignalTargets { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/signal/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl SignalTargets { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 60 | /// Generate targets based on entry and stop loss [INFO] [stdout] 61 | pub fn new(entry: f64, stop_loss: f64, direction: &SignalDirection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmcTags` is never constructed [INFO] [stdout] --> execution/src/signal/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SmcTags { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bonus_score` is never used [INFO] [stdout] --> execution/src/signal/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl SmcTags { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 115 | /// Calculate SMC bonus score [INFO] [stdout] 116 | pub fn bonus_score(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnhancedSignal` is never constructed [INFO] [stdout] --> execution/src/signal/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct EnhancedSignal { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/signal/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl EnhancedSignal { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 154 | /// Create a new enhanced signal [INFO] [stdout] 155 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_indicator(&mut self, indicator: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn calculate_confluence_score(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn calculate_score(&mut self, indicator_strength: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn set_power_score(&mut self, power: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn set_whale_score(&mut self, whale: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn set_smc_tags(&mut self, tags: SmcTags) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn set_reason(&mut self, reason: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn is_high_quality(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn has_smc_confirmation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SignalBuilder` is never constructed [INFO] [stdout] --> execution/src/signal/mod.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct SignalBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> execution/src/signal/mod.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 259 | impl SignalBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 260 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn add_indicator(mut self, indicator: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn power_score(mut self, score: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn whale_score(mut self, score: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn smc_tags(mut self, tags: SmcTags) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn reason(mut self, reason: String) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn build(mut self, indicator_strength: f64) -> EnhancedSignal { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `low_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_low_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close_prev` [INFO] [stdout] --> execution/src/smc/order_blocks.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | let (open_prev, high_prev, low_prev, close_prev, _) = candles[i - 1]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_close_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_close` [INFO] [stdout] --> execution/src/smc/bos.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 104 | let (_, current_high, current_low, current_close, current_ts) = candles[candles.len() - 1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> execution/src/smc/integration_example.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut candles = vec![ [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> execution/src/main.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut scanner = Scanner::new(scanner_bus.sender(), scanner_provider); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish` is never used [INFO] [stdout] --> execution/src/bus/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SignalBus { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn publish(&self, msg: T) { [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 `payload` and `timestamp` are never read [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TopicMessage { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub topic: String, [INFO] [stdout] 12 | pub payload: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopicMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_topic` and `avg_latency_ns` are never used [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl QuantumBus { [INFO] [stdout] | --------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn clear_topic(&self, topic: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn avg_latency_ns(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoSubscribers` is never constructed [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub enum BusError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 146 | QueueFull, [INFO] [stdout] 147 | NoSubscribers, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BusError` 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 `data` is never read [INFO] [stdout] --> execution/src/bus/quantum_bus.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 167 | struct TestMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 168 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SseStream` is never used [INFO] [stdout] --> execution/src/api/sse.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SseStream = Pin> + Send>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_event` is never used [INFO] [stdout] --> execution/src/api/sse.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_event(data: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_named_event` is never used [INFO] [stdout] --> execution/src/api/sse.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_named_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `heartbeat_event` is never used [INFO] [stdout] --> execution/src/api/sse.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn heartbeat_event() -> Event { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_indicator` is never used [INFO] [stdout] --> execution/src/scanner/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Scanner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_indicator(&mut self, indicator: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Timeframe` is never used [INFO] [stdout] --> execution/src/scanner/timeframe.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Timeframe { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> execution/src/scanner/timeframe.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Timeframe { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 7 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Context` is never constructed [INFO] [stdout] --> execution/src/scanner/context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> execution/src/scanner/context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 12 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScannerEngine` is never constructed [INFO] [stdout] --> execution/src/scanner/engine.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ScannerEngine { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `ready` are never used [INFO] [stdout] --> execution/src/scanner/engine.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ScannerEngine { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn update(&mut self, ctx: Context) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn ready(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FairValueGap`, `OrderBlock`, `LiquiditySweep`, `ChochBos`, and `Imbalance` are never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PatternType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | FairValueGap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | OrderBlock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | LiquiditySweep, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | ChochBos, // Change of Character / Break of Structure [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | Imbalance, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatternType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `timeframe`, `confidence`, `price_level`, `timestamp`, and `metadata` are never read [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Pattern { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 21 | pub pattern_type: PatternType, [INFO] [stdout] 22 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pub timeframe: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub confidence: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub price_level: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | pub metadata: Vec<(String, String)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `patterns`, and `scan_time_us` are never read [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ScanResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 43 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | pub patterns: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | pub scan_time_us: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub trait PatternDetector: Send + Sync { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 58 | fn detect(&self, instrument: &Instrument) -> Vec; [INFO] [stdout] 59 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cache` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl QuantumScanner { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn clear_cache(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookback_periods` is never read [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct BreakoutDetector { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 139 | lookback_periods: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FairValueGapDetector` is never constructed [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct FairValueGapDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/scanner/quantum_scanner.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl FairValueGapDetector { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 230 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Timeframe { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 6 | Tick, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | M1, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | M5, [INFO] [stdout] | ^^ [INFO] [stdout] 9 | M15, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | M30, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | H1, [INFO] [stdout] 12 | H4, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | D1, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | W1, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Timeframe` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all` and `as_str` are never used [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Timeframe { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub fn all() -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct IndicatorSignal { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub metadata: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorSignal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `timeframes`, `indicators`, and `timestamp` are never read [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct FusedSignal { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub timeframes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | pub indicators: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FusedSignal` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_macd_signal`, `calculate_ma_crossover_signal`, `calculate_bollinger_signal`, and `calculate_stochastic_signal` are never used [INFO] [stdout] --> execution/src/scanner/signal_engine.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl SignalEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn calculate_macd_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn calculate_ma_crossover_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn calculate_bollinger_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn calculate_stochastic_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `price`, `quantity`, `side`, and `timestamp` are never read [INFO] [stdout] --> execution/src/scanner/market_data.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Trade { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 58 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 60 | pub quantity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub side: TradeSide, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Trade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Buy` and `Sell` are never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum TradeSide { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 67 | Buy, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | Sell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeSide` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> execution/src/scanner/market_data.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | OrderBook(OrderBook), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MarketDataEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - OrderBook(OrderBook), [INFO] [stdout] 74 + OrderBook(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Trade`, `QuoteUpdate`, and `Heartbeat` are never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum MarketDataEvent { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 74 | OrderBook(OrderBook), [INFO] [stdout] 75 | Trade(Trade), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | QuoteUpdate { symbol: String, bid: f64, ask: f64, timestamp: u64 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 77 | Heartbeat, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketDataEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event_rx` is never read [INFO] [stdout] --> execution/src/scanner/market_data.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct MarketDataProcessor { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 86 | event_rx: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_trade`, `process_quote`, and `subscribe` are never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl MarketDataProcessor { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn process_trade(&self, trade: Trade) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn process_quote(&self, symbol: String, bid: f64, ask: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn subscribe(&self) -> mpsc::UnboundedSender { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketMultiplexer` is never constructed [INFO] [stdout] --> execution/src/scanner/market_data.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct WebSocketMultiplexer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `subscribe`, `unsubscribe`, `get_subscriptions`, and `handle_message` are never used [INFO] [stdout] --> execution/src/scanner/market_data.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 204 | impl WebSocketMultiplexer { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 205 | pub fn new(processor: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub async fn subscribe(&self, symbol: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub async fn unsubscribe(&self, symbol: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_subscriptions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub async fn handle_message(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candle` is never constructed [INFO] [stdout] --> execution/src/market/candle.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Candle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketEvent` is never used [INFO] [stdout] --> execution/src/market/adapter.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum MarketEvent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MarketAdapter` is never used [INFO] [stdout] --> execution/src/market/adapter.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait MarketAdapter: Send { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinanceAdapter` is never constructed [INFO] [stdout] --> execution/src/market/binance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BinanceAdapter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> execution/src/market/binance.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BinanceAdapter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(symbol: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `symbols_only` is never used [INFO] [stdout] --> execution/src/market/universe.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SymbolUniverse { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn symbols_only() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `is_available` are never used [INFO] [stdout] --> execution/src/market/providers/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait MarketDataProvider: Send + Sync { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 65 | /// Get the provider name [INFO] [stdout] 66 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn is_available(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> execution/src/market/providers/yahoo.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct YahooMeta { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 37 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YahooMeta` 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 `api_key` and `api_secret` are never read [INFO] [stdout] --> execution/src/market/providers/binance.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BinanceProvider { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 7 | client: reqwest::Client, [INFO] [stdout] 8 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | api_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinanceKline` is never constructed [INFO] [stdout] --> execution/src/market/providers/binance.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct BinanceKline { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `api_key` are never read [INFO] [stdout] --> execution/src/market/providers/coingecko.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CoinGeckoProvider { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 6 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `api_key` are never read [INFO] [stdout] --> execution/src/market/providers/polygon.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PolygonProvider { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | client: reqwest::Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | api_key: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `polygon` is never read [INFO] [stdout] --> execution/src/market/provider_manager.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ProviderManager { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | polygon: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewsItem` is never constructed [INFO] [stdout] --> execution/src/news.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NewsItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_ms` is never used [INFO] [stdout] --> execution/src/news.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn now_ms() -> i64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_feed` is never used [INFO] [stdout] --> execution/src/news.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn fetch_feed(url: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_live_news` is never used [INFO] [stdout] --> execution/src/news.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn get_live_news() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alpaca_secret` and `rate_limit_per_min` are never read [INFO] [stdout] --> execution/src/config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub alpaca_secret: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub rate_limit_per_min: u32, [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: methods `name` and `category` are never used [INFO] [stdout] --> execution/src/families/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait Indicator: Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn category(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockTechnicalIndicator` is never constructed [INFO] [stdout] --> execution/src/families/technical/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MockTechnicalIndicator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockFundamentalIndicator` is never constructed [INFO] [stdout] --> execution/src/families/fundamental/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MockFundamentalIndicator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | NewOrder(OrderRequest), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EngineMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - NewOrder(OrderRequest), [INFO] [stdout] 15 + NewOrder(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CancelOrder`, `ModifyOrder`, and `MarketData` are never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum EngineMessage { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 15 | NewOrder(OrderRequest), [INFO] [stdout] 16 | CancelOrder(u64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | ModifyOrder(u64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | MarketData(MarketUpdate), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct OrderRequest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 25 | pub order_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | pub side: OrderSide, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub order_type: OrderType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub quantity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub price: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderRequest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sell` is never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum OrderSide { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 36 | Buy, [INFO] [stdout] 37 | Sell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderSide` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Limit`, `Stop`, and `StopLimit` are never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum OrderType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | Market, [INFO] [stdout] 43 | Limit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | StopLimit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `price`, `volume`, and `timestamp` are never read [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct MarketUpdate { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 51 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | pub price: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | pub volume: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketUpdate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `orders_processed`, `messages_received`, `total_latency_ns`, `max_latency_ns`, and `min_latency_ns` are never read [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct EngineMetrics { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 59 | pub orders_processed: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub messages_received: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub total_latency_ns: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub max_latency_ns: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub min_latency_ns: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_latency` and `get_avg_latency_ns` are never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl EngineMetrics { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn record_latency(&self, latency_ns: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_avg_latency_ns(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metrics` and `handlers` are never read [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct QuantumEngine { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 127 | metrics: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | handlers: Arc; 8]>>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle` is never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub trait MessageHandler: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 136 | fn handle(&self, msg: &EngineMessage) -> Result<(), EngineError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMessage` and `ProcessingError` are never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum EngineError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 141 | QueueFull, [INFO] [stdout] 142 | InvalidMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | ProcessingError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EngineError` 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_handler`, `start`, `stop`, `process_messages`, and `metrics` are never used [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl QuantumEngine { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn add_handler(&self, handler: Arc) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn process_messages(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn metrics(&self) -> &Arc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestHandler` is never constructed [INFO] [stdout] --> execution/src/engine/quantum_engine.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | struct TestHandler; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Limit`, `Stop`, `StopLimit`, `VWAP`, and `PostOnly` are never constructed [INFO] [stdout] --> execution/src/engine/order_router.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum OrderType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Market, [INFO] [stdout] 10 | Limit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | StopLimit, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | TWAP, [INFO] [stdout] 14 | VWAP, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Iceberg, [INFO] [stdout] 16 | PostOnly, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sell` is never constructed [INFO] [stdout] --> execution/src/engine/order_router.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OrderSide { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 22 | Buy, [INFO] [stdout] 23 | Sell, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderSide` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PartiallyFilled`, `Filled`, `Cancelled`, `Rejected`, and `Expired` are never constructed [INFO] [stdout] --> execution/src/engine/order_router.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum OrderState { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 29 | New, [INFO] [stdout] 30 | PartiallyFilled, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | Filled, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | Cancelled, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | Rejected, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `symbol`, `side`, `exchange`, `timestamp`, and `updated_at` are never read [INFO] [stdout] --> execution/src/engine/order_router.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Order { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 40 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub side: OrderSide, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub exchange: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | pub updated_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_active` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Order { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `priority`, `fee_rate`, `min_order_size`, `max_order_size`, and `supports_order_types` are never read [INFO] [stdout] --> execution/src/engine/order_router.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct ExchangeRoute { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 110 | pub priority: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 111 | pub fee_rate: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 112 | pub min_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 113 | pub max_order_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 114 | pub supports_order_types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExchangeRoute` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_handle` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl ExchangeRoute { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 118 | pub fn can_handle(&self, order: &Order) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> execution/src/engine/order_router.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | Invalid(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValidationResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 129 - Invalid(String), [INFO] [stdout] 129 + Invalid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `next_order_id`, `orders`, and `routes` are never read [INFO] [stdout] --> execution/src/engine/order_router.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct OrderRouter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 134 | /// Next order ID [INFO] [stdout] 135 | next_order_id: AtomicU64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 136 | /// Active orders [INFO] [stdout] 137 | orders: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 138 | /// Exchange routes [INFO] [stdout] 139 | routes: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> execution/src/engine/order_router.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl OrderRouter { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn add_route(&self, route: ExchangeRoute) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn next_order_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn route_order(&self, mut order: Order) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn update_order_state(&self, order_id: u64, state: OrderState) -> Result<(), RouterError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn fill_order(&self, order_id: u64, quantity: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn cancel_order(&self, order_id: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn get_order(&self, order_id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn get_active_orders(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | pub fn get_orders_by_symbol(&self, symbol: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RouterError` is never used [INFO] [stdout] --> execution/src/engine/order_router.rs:328:10 [INFO] [stdout] | [INFO] [stdout] 328 | pub enum RouterError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `quantity`, `avg_price`, `current_price`, `unrealized_pnl`, and `realized_pnl` are never read [INFO] [stdout] --> execution/src/engine/risk_manager.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub quantity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub avg_price: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub current_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub unrealized_pnl: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub realized_pnl: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `market_value` and `update_pnl` are never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Position { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 17 | pub fn market_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_pnl(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PortfolioMetrics` is never constructed [INFO] [stdout] --> execution/src/engine/risk_manager.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PortfolioMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_position_size`, `max_portfolio_leverage`, `max_daily_loss`, `max_concentration`, and `min_sharpe_ratio` are never read [INFO] [stdout] --> execution/src/engine/risk_manager.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct RiskLimits { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 63 | pub max_position_size: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | pub max_portfolio_leverage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub max_drawdown_pct: f64, [INFO] [stdout] 66 | pub max_daily_loss: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub max_concentration: f64, // Max % in single position [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 68 | pub min_sharpe_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskLimits` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `positions` and `trade_history` are never read [INFO] [stdout] --> execution/src/engine/risk_manager.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct RiskManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 94 | /// Current positions [INFO] [stdout] 95 | positions: Arc>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | trade_history: Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol`, `pnl`, `return_pct`, and `timestamp` are never read [INFO] [stdout] --> execution/src/engine/risk_manager.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct TradeRecord { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 112 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 113 | pub pnl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 114 | pub return_pct: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 115 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl RiskManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn check_order_risk(&self, _symbol: &str, quantity: f64, price: f64) -> Result<(), RiskError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn update_position(&self, symbol: String, quantity: f64, price: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn calculate_var(&self, confidence: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn calculate_sharpe(&self, risk_free_rate: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn calculate_sortino(&self, risk_free_rate: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn calculate_calmar(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn calculate_max_drawdown(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn calculate_metrics(&self) -> PortfolioMetrics { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn reset_circuit_breaker(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RiskError` is never used [INFO] [stdout] --> execution/src/engine/risk_manager.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | pub enum RiskError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_positions` is never read [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BacktestConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub max_positions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BacktestConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct BacktestTrade { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 29 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub entry_price: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | pub exit_price: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | pub quantity: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub side: TradeSide, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub commission: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub slippage: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BacktestTrade` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Short` is never constructed [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum TradeSide { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 44 | Long, [INFO] [stdout] 45 | Short, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeSide` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct BacktestMetrics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 51 | pub total_return: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | pub annual_return: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub sharpe_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 54 | pub sortino_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub calmar_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 56 | pub max_drawdown: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | pub win_rate: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | pub profit_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub total_trades: usize, [INFO] [stdout] 60 | pub winning_trades: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub losing_trades: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub avg_win: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | pub avg_loss: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | pub largest_win: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 65 | pub largest_loss: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 66 | pub avg_trade_duration_hours: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BacktestMetrics` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mean_return`, `median_return`, `std_return`, `var_95`, `best_case`, and `worst_case` are never read [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct MonteCarloResult { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 97 | pub mean_return: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | pub median_return: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 99 | pub std_return: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | pub var_95: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 101 | pub best_case: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 102 | pub worst_case: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MonteCarloResult` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_equity_curve` and `get_trades` are never used [INFO] [stdout] --> execution/src/backtest/backtest_engine.rs:382:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl BacktestEngine { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn get_equity_curve(&self) -> &[f64] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn get_trades(&self) -> &[BacktestTrade] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> execution/src/smc/fvg.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl FairValueGap { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> execution/src/smc/order_blocks.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl OrderBlock { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_unmitigated` is never used [INFO] [stdout] --> execution/src/smc/order_blocks.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl OrderBlockDetector { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_unmitigated(&self, order_blocks: &[OrderBlock]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> execution/src/smc/bos.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SwingPoint { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 36 | pub price: f64, [INFO] [stdout] 37 | pub timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwingPoint` 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 `is_bos_confirmed` is never used [INFO] [stdout] --> execution/src/smc/bos.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl BosDetector { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_bos_confirmed(&self, candles: &[(f64, f64, f64, f64, i64)]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `detect_sweeps` is never used [INFO] [stdout] --> execution/src/smc/liquidity.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl LiquidityDetector { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn detect_sweeps( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "7c8a8853e3fdabf093447dd576f387e800e2236d9ca6e7c8db7767b3fd7db0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8a8853e3fdabf093447dd576f387e800e2236d9ca6e7c8db7767b3fd7db0c3", kill_on_drop: false }` [INFO] [stdout] 7c8a8853e3fdabf093447dd576f387e800e2236d9ca6e7c8db7767b3fd7db0c3