[INFO] cloning repository https://github.com/guangyu-coder/hk-us-quant-platform
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guangyu-coder/hk-us-quant-platform" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Fhk-us-quant-platform", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Fhk-us-quant-platform'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 94c014f2e311d9e8cb9204a3dbd1ea5233ce5eec
[INFO] testing guangyu-coder/hk-us-quant-platform against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Fhk-us-quant-platform" "/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/guangyu-coder/hk-us-quant-platform
[INFO] finished tweaking git repo https://github.com/guangyu-coder/hk-us-quant-platform
[INFO] tweaked toml for git repo https://github.com/guangyu-coder/hk-us-quant-platform written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/guangyu-coder/hk-us-quant-platform on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/guangyu-coder/hk-us-quant-platform 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-test v0.4.5
[INFO] [stderr]   Downloaded pest_generator v2.8.5
[INFO] [stderr]   Downloaded base64ct v1.8.2
[INFO] [stderr]   Downloaded pest_meta v2.8.5
[INFO] [stderr]   Downloaded pest_derive v2.8.5
[INFO] [stderr]   Downloaded rust_decimal v1.39.0
[INFO] [stderr]   Downloaded rust-ini v0.20.0
[INFO] [stderr]   Downloaded pest v2.8.5
[INFO] [stderr]   Downloaded webpki-roots v1.0.5
[INFO] [stderr]   Downloaded redis v0.24.0
[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" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55496359033c9437a1fe3fdf18b0330c6835fd07aecf71030ae1e6c8a4658847
[INFO] running `Command { std: "docker" "start" "-a" "55496359033c9437a1fe3fdf18b0330c6835fd07aecf71030ae1e6c8a4658847", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55496359033c9437a1fe3fdf18b0330c6835fd07aecf71030ae1e6c8a4658847", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55496359033c9437a1fe3fdf18b0330c6835fd07aecf71030ae1e6c8a4658847", kill_on_drop: false }`
[INFO] [stdout] 55496359033c9437a1fe3fdf18b0330c6835fd07aecf71030ae1e6c8a4658847
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f9da220f84e0386a7880502da05a9b413569bb1d56a22ce375e52fa9d05811b5
[INFO] running `Command { std: "docker" "start" "-a" "f9da220f84e0386a7880502da05a9b413569bb1d56a22ce375e52fa9d05811b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling webpki-roots v1.0.5
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling redis v0.24.0
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling hk-us-quant-platform v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `name`, `tick_size`, `min_order_size`, and `max_order_size` are never read
[INFO] [stdout]   --> src/data/validators.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ExchangeConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 22 |     pub trading_hours: TradingHours,
[INFO] [stdout] 23 |     pub tick_size: Decimal,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 24 |     pub min_order_size: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub max_order_size: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExchangeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timezone` is never read
[INFO] [stdout]   --> src/data/validators.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct TradingHours {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub timezone: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradingHours` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/data/validators.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl DataValidator {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn validate_candlestick(&self, data: &CandlestickData) -> ValidationResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn validate_order_book(&self, order_book: &OrderBook) -> ValidationResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub fn add_valid_symbol(&mut self, symbol: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub fn remove_valid_symbol(&mut self, symbol: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub fn update_price_thresholds(&mut self, min_price: Decimal, max_price: Decimal) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 452 |     pub fn update_volume_threshold(&mut self, max_volume: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     pub fn update_spread_threshold(&mut self, max_spread_percent: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 462 |     pub fn add_exchange_config(&mut self, exchange: String, config: ExchangeConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventMetrics` is never constructed
[INFO] [stdout]    --> src/events.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub struct EventMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventStore` is never constructed
[INFO] [stdout]    --> src/events.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct EventStore {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_events`, and `replay_events` are never used
[INFO] [stdout]    --> src/events.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl EventStore {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 342 |     pub fn new(redis_client: RedisClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn get_events(
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 387 |     pub async fn replay_events(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bandwidth` is never read
[INFO] [stdout]    --> src/strategy/indicators.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct BollingerBandsResult {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub bandwidth: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BollingerBandsResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ATR` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct ATR {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/strategy/indicators.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl ATR {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 232 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn calculate(&self, ohlc: &[(Decimal, Decimal, Decimal)]) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stochastic` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub struct Stochastic {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StochasticResult` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct StochasticResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/strategy/indicators.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl Stochastic {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 275 |     pub fn new(k_period: usize, d_period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn calculate(&self, highs: &[Decimal], lows: &[Decimal], closes: &[Decimal]) -> Option<StochasticResult> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataEvent` is never constructed
[INFO] [stdout]    --> src/types.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct DataEvent {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DataEventType` is never used
[INFO] [stdout]    --> src/types.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub enum DataEventType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_metadata` are never used
[INFO] [stdout]    --> src/types.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl DataEvent {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 159 |     pub fn new(event_type: DataEventType, data: MarketData) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn with_metadata(mut self, key: String, value: serde_json::Value) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CandlestickData` is never constructed
[INFO] [stdout]    --> src/types.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct CandlestickData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/types.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | impl CandlestickData {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 191 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn with_vwap(mut self, vwap: Decimal, trades_count: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn price_range(&self) -> Decimal {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn body_size(&self) -> Decimal {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn is_bullish(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn is_bearish(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub fn is_doji(&self, threshold_percent: f64) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookLevel` is never constructed
[INFO] [stdout]    --> src/types.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub struct OrderBookLevel {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]    --> src/types.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub struct OrderBook {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/types.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl OrderBook {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 269 |     pub fn new(symbol: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn best_bid(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub fn best_ask(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub fn spread(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn total_bid_volume(&self) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn total_ask_volume(&self) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn imbalance(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Broker` is never used
[INFO] [stdout]   --> src/broker/mod.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Broker: Send + Sync {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerAccount` is never constructed
[INFO] [stdout]   --> src/broker/mod.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct BrokerAccount {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerOrderResult` is never constructed
[INFO] [stdout]   --> src/broker/mod.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct BrokerOrderResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrokerOrderStatus` is never used
[INFO] [stdout]   --> src/broker/mod.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub enum BrokerOrderStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_order_status` is never used
[INFO] [stdout]   --> src/broker/mod.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl BrokerOrderStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 99 |     pub fn to_order_status(&self) -> OrderStatus {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerPosition` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct BrokerPosition {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerQuote` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct BrokerQuote {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerConfig` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct BrokerConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrokerProvider` is never used
[INFO] [stdout]    --> src/broker/mod.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum BrokerProvider {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_broker` is never used
[INFO] [stdout]    --> src/broker/mod.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn create_broker(config: &BrokerConfig) -> AppResult<Box<dyn Broker>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockBroker` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct MockBroker {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/broker/mod.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl MockBroker {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 198 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_PAPER_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ALPACA_PAPER_URL: &str = "https://paper-api.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_LIVE_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const ALPACA_LIVE_URL: &str = "https://api.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_DATA_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const ALPACA_DATA_URL: &str = "https://data.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaBroker` is never constructed
[INFO] [stdout]   --> src/broker/alpaca.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AlpacaBroker {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `auth_headers`, `api_get`, `api_post`, `api_delete`, and `data_get` are never used
[INFO] [stdout]    --> src/broker/alpaca.rs:28:18
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl AlpacaBroker {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  28 |     pub async fn new(config: &BrokerConfig) -> AppResult<Self> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     fn auth_headers(&self) -> reqwest::header::HeaderMap {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     async fn api_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     async fn api_post<T: for<'de> Deserialize<'de>, B: Serialize>(
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     async fn api_delete(&self, endpoint: &str) -> AppResult<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     async fn data_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaAccount` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | struct AlpacaAccount {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaOrderRequest` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:388:8
[INFO] [stdout]     |
[INFO] [stdout] 388 | struct AlpacaOrderRequest {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaOrder` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:409:8
[INFO] [stdout]     |
[INFO] [stdout] 409 | struct AlpacaOrder {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaPosition` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:430:8
[INFO] [stdout]     |
[INFO] [stdout] 430 | struct AlpacaPosition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaQuoteResponse` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:461:8
[INFO] [stdout]     |
[INFO] [stdout] 461 | struct AlpacaQuoteResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaMultiQuoteResponse` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:466:8
[INFO] [stdout]     |
[INFO] [stdout] 466 | struct AlpacaMultiQuoteResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaQuote` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout] 471 | struct AlpacaQuote {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_decimal` is never used
[INFO] [stdout]    --> src/broker/alpaca.rs:480:4
[INFO] [stdout]     |
[INFO] [stdout] 480 | fn parse_decimal(s: &str) -> Decimal {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_alpaca_status` is never used
[INFO] [stdout]    --> src/broker/alpaca.rs:484:4
[INFO] [stdout]     |
[INFO] [stdout] 484 | fn parse_alpaca_status(status: &str) -> BrokerOrderStatus {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MarketDataProvider` is never used
[INFO] [stdout]  --> src/market_data/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait MarketDataProvider: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WSMessage` is never used
[INFO] [stdout]   --> src/websocket.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum WSMessage {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketDataUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct MarketDataUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct SignalUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct OrderUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortfolioUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct PortfolioUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/websocket.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct ErrorMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSManager` is never constructed
[INFO] [stdout]   --> src/websocket.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct WSManager {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientSubscription` is never constructed
[INFO] [stdout]   --> src/websocket.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct ClientSubscription {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/websocket.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl WSManager {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  89 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn subscribe(&self) -> broadcast::Receiver<WSMessage> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn broadcast(&self, msg: WSMessage) -> Result<usize, broadcast::error::SendError<WSMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub async fn register(&self, conn_id: String) {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn unregister(&self, conn_id: &str) {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub async fn update_subscription(&self, conn_id: &str, channels: Vec<String>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn connection_count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn broadcast_event(&self, event: &PlatformEvent) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSState` is never constructed
[INFO] [stdout]    --> src/websocket.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct WSState {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ws_handler` is never used
[INFO] [stdout]    --> src/websocket.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn ws_handler(ws: WebSocketUpgrade, State(state): State<WSState>) -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_socket` is never used
[INFO] [stdout]    --> src/websocket.rs:197:10
[INFO] [stdout]     |
[INFO] [stdout] 197 | async fn handle_socket(socket: WebSocket, state: WSState) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_client_message` is never used
[INFO] [stdout]    --> src/websocket.rs:262:10
[INFO] [stdout]     |
[INFO] [stdout] 262 | async fn handle_client_message(manager: &WSManager, conn_id: &str, msg: WSMessage) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_heartbeat` is never used
[INFO] [stdout]    --> src/websocket.rs:284:8
[INFO] [stdout]     |
[INFO] [stdout] 284 | pub fn start_heartbeat(manager: Arc<WSManager>, interval_secs: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "f9da220f84e0386a7880502da05a9b413569bb1d56a22ce375e52fa9d05811b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9da220f84e0386a7880502da05a9b413569bb1d56a22ce375e52fa9d05811b5", kill_on_drop: false }`
[INFO] [stdout] f9da220f84e0386a7880502da05a9b413569bb1d56a22ce375e52fa9d05811b5
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e8bc22b05b07654cefb9ffe6e5bbf43978e66bbf427f1c8498b6ccdfc9ddd5ee
[INFO] running `Command { std: "docker" "start" "-a" "e8bc22b05b07654cefb9ffe6e5bbf43978e66bbf427f1c8498b6ccdfc9ddd5ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling rand_xorshift v0.4.0
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling rusty-fork v0.3.1
[INFO] [stderr]    Compiling proptest v1.9.0
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling redis v0.24.0
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling hk-us-quant-platform v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `name`, `tick_size`, `min_order_size`, and `max_order_size` are never read
[INFO] [stdout]   --> src/data/validators.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ExchangeConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 22 |     pub trading_hours: TradingHours,
[INFO] [stdout] 23 |     pub tick_size: Decimal,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 24 |     pub min_order_size: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub max_order_size: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExchangeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timezone` is never read
[INFO] [stdout]   --> src/data/validators.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct TradingHours {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub timezone: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradingHours` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/data/validators.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl DataValidator {
[INFO] [stdout]     | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn validate_candlestick(&self, data: &CandlestickData) -> ValidationResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn validate_order_book(&self, order_book: &OrderBook) -> ValidationResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub fn add_valid_symbol(&mut self, symbol: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 441 |     pub fn remove_valid_symbol(&mut self, symbol: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 446 |     pub fn update_price_thresholds(&mut self, min_price: Decimal, max_price: Decimal) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 452 |     pub fn update_volume_threshold(&mut self, max_volume: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 457 |     pub fn update_spread_threshold(&mut self, max_spread_percent: f64) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 462 |     pub fn add_exchange_config(&mut self, exchange: String, config: ExchangeConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventMetrics` is never constructed
[INFO] [stdout]    --> src/events.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub struct EventMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventStore` is never constructed
[INFO] [stdout]    --> src/events.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct EventStore {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_events`, and `replay_events` are never used
[INFO] [stdout]    --> src/events.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl EventStore {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 342 |     pub fn new(redis_client: RedisClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn get_events(
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 387 |     pub async fn replay_events(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bandwidth` is never read
[INFO] [stdout]    --> src/strategy/indicators.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct BollingerBandsResult {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub bandwidth: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BollingerBandsResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ATR` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct ATR {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/strategy/indicators.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl ATR {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 232 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn calculate(&self, ohlc: &[(Decimal, Decimal, Decimal)]) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stochastic` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub struct Stochastic {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StochasticResult` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct StochasticResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/strategy/indicators.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl Stochastic {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 275 |     pub fn new(k_period: usize, d_period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn calculate(&self, highs: &[Decimal], lows: &[Decimal], closes: &[Decimal]) -> Option<StochasticResult> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataEvent` is never constructed
[INFO] [stdout]    --> src/types.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct DataEvent {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DataEventType` is never used
[INFO] [stdout]    --> src/types.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub enum DataEventType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_metadata` are never used
[INFO] [stdout]    --> src/types.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl DataEvent {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 159 |     pub fn new(event_type: DataEventType, data: MarketData) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn with_metadata(mut self, key: String, value: serde_json::Value) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CandlestickData` is never constructed
[INFO] [stdout]    --> src/types.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct CandlestickData {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/types.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | impl CandlestickData {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 191 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn with_vwap(mut self, vwap: Decimal, trades_count: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn price_range(&self) -> Decimal {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn body_size(&self) -> Decimal {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn is_bullish(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn is_bearish(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub fn is_doji(&self, threshold_percent: f64) -> bool {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookLevel` is never constructed
[INFO] [stdout]    --> src/types.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub struct OrderBookLevel {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]    --> src/types.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 | pub struct OrderBook {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/types.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl OrderBook {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 269 |     pub fn new(symbol: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn best_bid(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 285 |     pub fn best_ask(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 290 |     pub fn spread(&self) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn total_bid_volume(&self) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn total_ask_volume(&self) -> i64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn imbalance(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Broker` is never used
[INFO] [stdout]   --> src/broker/mod.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Broker: Send + Sync {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerAccount` is never constructed
[INFO] [stdout]   --> src/broker/mod.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct BrokerAccount {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerOrderResult` is never constructed
[INFO] [stdout]   --> src/broker/mod.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct BrokerOrderResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrokerOrderStatus` is never used
[INFO] [stdout]   --> src/broker/mod.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub enum BrokerOrderStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_order_status` is never used
[INFO] [stdout]   --> src/broker/mod.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl BrokerOrderStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 99 |     pub fn to_order_status(&self) -> OrderStatus {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerPosition` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct BrokerPosition {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerQuote` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct BrokerQuote {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerConfig` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct BrokerConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrokerProvider` is never used
[INFO] [stdout]    --> src/broker/mod.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum BrokerProvider {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_broker` is never used
[INFO] [stdout]    --> src/broker/mod.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn create_broker(config: &BrokerConfig) -> AppResult<Box<dyn Broker>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockBroker` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct MockBroker {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/broker/mod.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl MockBroker {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 198 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_PAPER_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ALPACA_PAPER_URL: &str = "https://paper-api.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_LIVE_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const ALPACA_LIVE_URL: &str = "https://api.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_DATA_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const ALPACA_DATA_URL: &str = "https://data.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaBroker` is never constructed
[INFO] [stdout]   --> src/broker/alpaca.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AlpacaBroker {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `auth_headers`, `api_get`, `api_post`, `api_delete`, and `data_get` are never used
[INFO] [stdout]    --> src/broker/alpaca.rs:28:18
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl AlpacaBroker {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  28 |     pub async fn new(config: &BrokerConfig) -> AppResult<Self> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     fn auth_headers(&self) -> reqwest::header::HeaderMap {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     async fn api_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     async fn api_post<T: for<'de> Deserialize<'de>, B: Serialize>(
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     async fn api_delete(&self, endpoint: &str) -> AppResult<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     async fn data_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaAccount` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | struct AlpacaAccount {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaOrderRequest` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:388:8
[INFO] [stdout]     |
[INFO] [stdout] 388 | struct AlpacaOrderRequest {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaOrder` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:409:8
[INFO] [stdout]     |
[INFO] [stdout] 409 | struct AlpacaOrder {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaPosition` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:430:8
[INFO] [stdout]     |
[INFO] [stdout] 430 | struct AlpacaPosition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaQuoteResponse` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:461:8
[INFO] [stdout]     |
[INFO] [stdout] 461 | struct AlpacaQuoteResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaMultiQuoteResponse` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:466:8
[INFO] [stdout]     |
[INFO] [stdout] 466 | struct AlpacaMultiQuoteResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaQuote` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout] 471 | struct AlpacaQuote {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_decimal` is never used
[INFO] [stdout]    --> src/broker/alpaca.rs:480:4
[INFO] [stdout]     |
[INFO] [stdout] 480 | fn parse_decimal(s: &str) -> Decimal {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_alpaca_status` is never used
[INFO] [stdout]    --> src/broker/alpaca.rs:484:4
[INFO] [stdout]     |
[INFO] [stdout] 484 | fn parse_alpaca_status(status: &str) -> BrokerOrderStatus {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MarketDataProvider` is never used
[INFO] [stdout]  --> src/market_data/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait MarketDataProvider: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WSMessage` is never used
[INFO] [stdout]   --> src/websocket.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum WSMessage {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketDataUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct MarketDataUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct SignalUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct OrderUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortfolioUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct PortfolioUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/websocket.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct ErrorMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSManager` is never constructed
[INFO] [stdout]   --> src/websocket.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct WSManager {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientSubscription` is never constructed
[INFO] [stdout]   --> src/websocket.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct ClientSubscription {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/websocket.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl WSManager {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  89 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn subscribe(&self) -> broadcast::Receiver<WSMessage> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn broadcast(&self, msg: WSMessage) -> Result<usize, broadcast::error::SendError<WSMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub async fn register(&self, conn_id: String) {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn unregister(&self, conn_id: &str) {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub async fn update_subscription(&self, conn_id: &str, channels: Vec<String>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn connection_count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn broadcast_event(&self, event: &PlatformEvent) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSState` is never constructed
[INFO] [stdout]    --> src/websocket.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct WSState {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ws_handler` is never used
[INFO] [stdout]    --> src/websocket.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn ws_handler(ws: WebSocketUpgrade, State(state): State<WSState>) -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_socket` is never used
[INFO] [stdout]    --> src/websocket.rs:197:10
[INFO] [stdout]     |
[INFO] [stdout] 197 | async fn handle_socket(socket: WebSocket, state: WSState) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_client_message` is never used
[INFO] [stdout]    --> src/websocket.rs:262:10
[INFO] [stdout]     |
[INFO] [stdout] 262 | async fn handle_client_message(manager: &WSManager, conn_id: &str, msg: WSMessage) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_heartbeat` is never used
[INFO] [stdout]    --> src/websocket.rs:284:8
[INFO] [stdout]     |
[INFO] [stdout] 284 | pub fn start_heartbeat(manager: Arc<WSManager>, interval_secs: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `tick_size`, `min_order_size`, and `max_order_size` are never read
[INFO] [stdout]   --> src/data/validators.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ExchangeConfig {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 22 |     pub trading_hours: TradingHours,
[INFO] [stdout] 23 |     pub tick_size: Decimal,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 24 |     pub min_order_size: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub max_order_size: i64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExchangeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timezone` is never read
[INFO] [stdout]   --> src/data/validators.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct TradingHours {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub timezone: String,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradingHours` 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 `add_exchange_config` is never used
[INFO] [stdout]    --> src/data/validators.rs:462:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl DataValidator {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 462 |     pub fn add_exchange_config(&mut self, exchange: String, config: ExchangeConfig) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventMetrics` is never constructed
[INFO] [stdout]    --> src/events.rs:316:12
[INFO] [stdout]     |
[INFO] [stdout] 316 | pub struct EventMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventStore` is never constructed
[INFO] [stdout]    --> src/events.rs:337:12
[INFO] [stdout]     |
[INFO] [stdout] 337 | pub struct EventStore {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_events`, and `replay_events` are never used
[INFO] [stdout]    --> src/events.rs:342:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl EventStore {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 342 |     pub fn new(redis_client: RedisClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn get_events(
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 387 |     pub async fn replay_events(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bandwidth` is never read
[INFO] [stdout]    --> src/strategy/indicators.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct BollingerBandsResult {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub bandwidth: Decimal,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BollingerBandsResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ATR` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct ATR {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/strategy/indicators.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl ATR {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 232 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn calculate(&self, ohlc: &[(Decimal, Decimal, Decimal)]) -> Option<Decimal> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stochastic` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:263:12
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub struct Stochastic {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StochasticResult` is never constructed
[INFO] [stdout]    --> src/strategy/indicators.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct StochasticResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calculate` are never used
[INFO] [stdout]    --> src/strategy/indicators.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout] 274 | impl Stochastic {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 275 |     pub fn new(k_period: usize, d_period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn calculate(&self, highs: &[Decimal], lows: &[Decimal], closes: &[Decimal]) -> Option<StochasticResult> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataEvent` is never constructed
[INFO] [stdout]    --> src/types.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct DataEvent {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DataEventType` is never used
[INFO] [stdout]    --> src/types.rs:149:10
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub enum DataEventType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_metadata` are never used
[INFO] [stdout]    --> src/types.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | impl DataEvent {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 159 |     pub fn new(event_type: DataEventType, data: MarketData) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn with_metadata(mut self, key: String, value: serde_json::Value) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_vwap` and `body_size` are never used
[INFO] [stdout]    --> src/types.rs:212:12
[INFO] [stdout]     |
[INFO] [stdout] 190 | impl CandlestickData {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn with_vwap(mut self, vwap: Decimal, trades_count: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn body_size(&self) -> Decimal {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `imbalance` is never used
[INFO] [stdout]    --> src/types.rs:308:12
[INFO] [stdout]     |
[INFO] [stdout] 268 | impl OrderBook {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn imbalance(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Broker` is never used
[INFO] [stdout]   --> src/broker/mod.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Broker: Send + Sync {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerAccount` is never constructed
[INFO] [stdout]   --> src/broker/mod.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct BrokerAccount {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerOrderResult` is never constructed
[INFO] [stdout]   --> src/broker/mod.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct BrokerOrderResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_order_status` is never used
[INFO] [stdout]   --> src/broker/mod.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 98 | impl BrokerOrderStatus {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 99 |     pub fn to_order_status(&self) -> OrderStatus {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerPosition` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct BrokerPosition {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerQuote` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct BrokerQuote {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BrokerConfig` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct BrokerConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BrokerProvider` is never used
[INFO] [stdout]    --> src/broker/mod.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum BrokerProvider {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_broker` is never used
[INFO] [stdout]    --> src/broker/mod.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn create_broker(config: &BrokerConfig) -> AppResult<Box<dyn Broker>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockBroker` is never constructed
[INFO] [stdout]    --> src/broker/mod.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub struct MockBroker {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/broker/mod.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 197 | impl MockBroker {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 198 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_PAPER_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const ALPACA_PAPER_URL: &str = "https://paper-api.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_LIVE_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const ALPACA_LIVE_URL: &str = "https://api.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALPACA_DATA_URL` is never used
[INFO] [stdout]   --> src/broker/alpaca.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const ALPACA_DATA_URL: &str = "https://data.alpaca.markets";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaBroker` is never constructed
[INFO] [stdout]   --> src/broker/alpaca.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AlpacaBroker {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `auth_headers`, `api_get`, `api_post`, `api_delete`, and `data_get` are never used
[INFO] [stdout]    --> src/broker/alpaca.rs:28:18
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl AlpacaBroker {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  28 |     pub async fn new(config: &BrokerConfig) -> AppResult<Self> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     fn auth_headers(&self) -> reqwest::header::HeaderMap {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     async fn api_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     async fn api_post<T: for<'de> Deserialize<'de>, B: Serialize>(
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 144 |     async fn api_delete(&self, endpoint: &str) -> AppResult<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     async fn data_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaAccount` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 | struct AlpacaAccount {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaOrderRequest` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:388:8
[INFO] [stdout]     |
[INFO] [stdout] 388 | struct AlpacaOrderRequest {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaOrder` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:409:8
[INFO] [stdout]     |
[INFO] [stdout] 409 | struct AlpacaOrder {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaPosition` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:430:8
[INFO] [stdout]     |
[INFO] [stdout] 430 | struct AlpacaPosition {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaQuoteResponse` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:461:8
[INFO] [stdout]     |
[INFO] [stdout] 461 | struct AlpacaQuoteResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaMultiQuoteResponse` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:466:8
[INFO] [stdout]     |
[INFO] [stdout] 466 | struct AlpacaMultiQuoteResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlpacaQuote` is never constructed
[INFO] [stdout]    --> src/broker/alpaca.rs:471:8
[INFO] [stdout]     |
[INFO] [stdout] 471 | struct AlpacaQuote {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MarketDataProvider` is never used
[INFO] [stdout]  --> src/market_data/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait MarketDataProvider: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WSMessage` is never used
[INFO] [stdout]   --> src/websocket.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum WSMessage {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketDataUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct MarketDataUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct SignalUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct OrderUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortfolioUpdate` is never constructed
[INFO] [stdout]   --> src/websocket.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct PortfolioUpdate {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorMessage` is never constructed
[INFO] [stdout]   --> src/websocket.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct ErrorMessage {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSManager` is never constructed
[INFO] [stdout]   --> src/websocket.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct WSManager {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientSubscription` is never constructed
[INFO] [stdout]   --> src/websocket.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct ClientSubscription {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/websocket.rs:89:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl WSManager {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  89 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn subscribe(&self) -> broadcast::Receiver<WSMessage> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn broadcast(&self, msg: WSMessage) -> Result<usize, broadcast::error::SendError<WSMessage>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub async fn register(&self, conn_id: String) {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub async fn unregister(&self, conn_id: &str) {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub async fn update_subscription(&self, conn_id: &str, channels: Vec<String>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn connection_count(&self) -> usize {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn broadcast_event(&self, event: &PlatformEvent) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WSState` is never constructed
[INFO] [stdout]    --> src/websocket.rs:186:12
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct WSState {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ws_handler` is never used
[INFO] [stdout]    --> src/websocket.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn ws_handler(ws: WebSocketUpgrade, State(state): State<WSState>) -> impl IntoResponse {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_socket` is never used
[INFO] [stdout]    --> src/websocket.rs:197:10
[INFO] [stdout]     |
[INFO] [stdout] 197 | async fn handle_socket(socket: WebSocket, state: WSState) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_client_message` is never used
[INFO] [stdout]    --> src/websocket.rs:262:10
[INFO] [stdout]     |
[INFO] [stdout] 262 | async fn handle_client_message(manager: &WSManager, conn_id: &str, msg: WSMessage) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_heartbeat` is never used
[INFO] [stdout]    --> src/websocket.rs:284:8
[INFO] [stdout]     |
[INFO] [stdout] 284 | pub fn start_heartbeat(manager: Arc<WSManager>, interval_secs: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "e8bc22b05b07654cefb9ffe6e5bbf43978e66bbf427f1c8498b6ccdfc9ddd5ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8bc22b05b07654cefb9ffe6e5bbf43978e66bbf427f1c8498b6ccdfc9ddd5ee", kill_on_drop: false }`
[INFO] [stdout] e8bc22b05b07654cefb9ffe6e5bbf43978e66bbf427f1c8498b6ccdfc9ddd5ee
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5d4b85f169ef7312539d10a696e2cde3cb891829172bf39f0f0b372729eda2d1
[INFO] running `Command { std: "docker" "start" "-a" "5d4b85f169ef7312539d10a696e2cde3cb891829172bf39f0f0b372729eda2d1", kill_on_drop: false }`
[INFO] [stderr] warning: fields `name`, `tick_size`, `min_order_size`, and `max_order_size` are never read
[INFO] [stderr]   --> src/data/validators.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct ExchangeConfig {
[INFO] [stderr]    |            -------------- fields in this struct
[INFO] [stderr] 21 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 22 |     pub trading_hours: TradingHours,
[INFO] [stderr] 23 |     pub tick_size: Decimal,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 24 |     pub min_order_size: i64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr] 25 |     pub max_order_size: i64,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ExchangeConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `timezone` is never read
[INFO] [stderr]   --> src/data/validators.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub struct TradingHours {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub timezone: String,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TradingHours` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/data/validators.rs:142:12
[INFO] [stderr]     |
[INFO] [stderr]  35 | impl DataValidator {
[INFO] [stderr]     | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 142 |     pub fn validate_candlestick(&self, data: &CandlestickData) -> ValidationResult {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 193 |     pub fn validate_order_book(&self, order_book: &OrderBook) -> ValidationResult {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 436 |     pub fn add_valid_symbol(&mut self, symbol: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 441 |     pub fn remove_valid_symbol(&mut self, symbol: &str) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 446 |     pub fn update_price_thresholds(&mut self, min_price: Decimal, max_price: Decimal) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 452 |     pub fn update_volume_threshold(&mut self, max_volume: i64) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 457 |     pub fn update_spread_threshold(&mut self, max_spread_percent: f64) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 462 |     pub fn add_exchange_config(&mut self, exchange: String, config: ExchangeConfig) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventMetrics` is never constructed
[INFO] [stderr]    --> src/events.rs:316:12
[INFO] [stderr]     |
[INFO] [stderr] 316 | pub struct EventMetrics {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventStore` is never constructed
[INFO] [stderr]    --> src/events.rs:337:12
[INFO] [stderr]     |
[INFO] [stderr] 337 | pub struct EventStore {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `get_events`, and `replay_events` are never used
[INFO] [stderr]    --> src/events.rs:342:12
[INFO] [stderr]     |
[INFO] [stderr] 341 | impl EventStore {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] 342 |     pub fn new(redis_client: RedisClient) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 347 |     pub async fn get_events(
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 387 |     pub async fn replay_events(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `bandwidth` is never read
[INFO] [stderr]    --> src/strategy/indicators.rs:170:9
[INFO] [stderr]     |
[INFO] [stderr] 166 | pub struct BollingerBandsResult {
[INFO] [stderr]     |            -------------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 170 |     pub bandwidth: Decimal,
[INFO] [stderr]     |         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `BollingerBandsResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ATR` is never constructed
[INFO] [stderr]    --> src/strategy/indicators.rs:227:12
[INFO] [stderr]     |
[INFO] [stderr] 227 | pub struct ATR {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `calculate` are never used
[INFO] [stderr]    --> src/strategy/indicators.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 231 | impl ATR {
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr] 232 |     pub fn new(period: usize) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 238 |     pub fn calculate(&self, ohlc: &[(Decimal, Decimal, Decimal)]) -> Option<Decimal> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Stochastic` is never constructed
[INFO] [stderr]    --> src/strategy/indicators.rs:263:12
[INFO] [stderr]     |
[INFO] [stderr] 263 | pub struct Stochastic {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StochasticResult` is never constructed
[INFO] [stderr]    --> src/strategy/indicators.rs:269:12
[INFO] [stderr]     |
[INFO] [stderr] 269 | pub struct StochasticResult {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `calculate` are never used
[INFO] [stderr]    --> src/strategy/indicators.rs:275:12
[INFO] [stderr]     |
[INFO] [stderr] 274 | impl Stochastic {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] 275 |     pub fn new(k_period: usize, d_period: usize) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 280 |     pub fn calculate(&self, highs: &[Decimal], lows: &[Decimal], closes: &[Decimal]) -> Option<StochasticResult> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DataEvent` is never constructed
[INFO] [stderr]    --> src/types.rs:139:12
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub struct DataEvent {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `DataEventType` is never used
[INFO] [stderr]    --> src/types.rs:149:10
[INFO] [stderr]     |
[INFO] [stderr] 149 | pub enum DataEventType {
[INFO] [stderr]     |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `with_metadata` are never used
[INFO] [stderr]    --> src/types.rs:159:12
[INFO] [stderr]     |
[INFO] [stderr] 158 | impl DataEvent {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 159 |     pub fn new(event_type: DataEventType, data: MarketData) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 170 |     pub fn with_metadata(mut self, key: String, value: serde_json::Value) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CandlestickData` is never constructed
[INFO] [stderr]    --> src/types.rs:178:12
[INFO] [stderr]     |
[INFO] [stderr] 178 | pub struct CandlestickData {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/types.rs:191:12
[INFO] [stderr]     |
[INFO] [stderr] 190 | impl CandlestickData {
[INFO] [stderr]     | -------------------- associated items in this implementation
[INFO] [stderr] 191 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 212 |     pub fn with_vwap(mut self, vwap: Decimal, trades_count: i32) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 219 |     pub fn price_range(&self) -> Decimal {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 224 |     pub fn body_size(&self) -> Decimal {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 229 |     pub fn is_bullish(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 234 |     pub fn is_bearish(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 239 |     pub fn is_doji(&self, threshold_percent: f64) -> bool {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OrderBookLevel` is never constructed
[INFO] [stderr]    --> src/types.rs:252:12
[INFO] [stderr]     |
[INFO] [stderr] 252 | pub struct OrderBookLevel {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OrderBook` is never constructed
[INFO] [stderr]    --> src/types.rs:260:12
[INFO] [stderr]     |
[INFO] [stderr] 260 | pub struct OrderBook {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/types.rs:269:12
[INFO] [stderr]     |
[INFO] [stderr] 268 | impl OrderBook {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 269 |     pub fn new(symbol: String) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 280 |     pub fn best_bid(&self) -> Option<Decimal> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 285 |     pub fn best_ask(&self) -> Option<Decimal> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 290 |     pub fn spread(&self) -> Option<Decimal> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 298 |     pub fn total_bid_volume(&self) -> i64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 303 |     pub fn total_ask_volume(&self) -> i64 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 308 |     pub fn imbalance(&self) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Broker` is never used
[INFO] [stderr]   --> src/broker/mod.rs:13:11
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub trait Broker: Send + Sync {
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrokerAccount` is never constructed
[INFO] [stderr]   --> src/broker/mod.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub struct BrokerAccount {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrokerOrderResult` is never constructed
[INFO] [stderr]   --> src/broker/mod.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub struct BrokerOrderResult {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `BrokerOrderStatus` is never used
[INFO] [stderr]   --> src/broker/mod.rs:78:10
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub enum BrokerOrderStatus {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_order_status` is never used
[INFO] [stderr]   --> src/broker/mod.rs:99:12
[INFO] [stderr]    |
[INFO] [stderr] 98 | impl BrokerOrderStatus {
[INFO] [stderr]    | ---------------------- method in this implementation
[INFO] [stderr] 99 |     pub fn to_order_status(&self) -> OrderStatus {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrokerPosition` is never constructed
[INFO] [stderr]    --> src/broker/mod.rs:119:12
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub struct BrokerPosition {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrokerQuote` is never constructed
[INFO] [stderr]    --> src/broker/mod.rs:134:12
[INFO] [stderr]     |
[INFO] [stderr] 134 | pub struct BrokerQuote {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BrokerConfig` is never constructed
[INFO] [stderr]    --> src/broker/mod.rs:147:12
[INFO] [stderr]     |
[INFO] [stderr] 147 | pub struct BrokerConfig {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `BrokerProvider` is never used
[INFO] [stderr]    --> src/broker/mod.rs:156:10
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub enum BrokerProvider {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_broker` is never used
[INFO] [stderr]    --> src/broker/mod.rs:175:14
[INFO] [stderr]     |
[INFO] [stderr] 175 | pub async fn create_broker(config: &BrokerConfig) -> AppResult<Box<dyn Broker>> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MockBroker` is never constructed
[INFO] [stderr]    --> src/broker/mod.rs:192:12
[INFO] [stderr]     |
[INFO] [stderr] 192 | pub struct MockBroker {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/broker/mod.rs:198:12
[INFO] [stderr]     |
[INFO] [stderr] 197 | impl MockBroker {
[INFO] [stderr]     | --------------- associated function in this implementation
[INFO] [stderr] 198 |     pub fn new() -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ALPACA_PAPER_URL` is never used
[INFO] [stderr]   --> src/broker/alpaca.rs:13:7
[INFO] [stderr]    |
[INFO] [stderr] 13 | const ALPACA_PAPER_URL: &str = "https://paper-api.alpaca.markets";
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ALPACA_LIVE_URL` is never used
[INFO] [stderr]   --> src/broker/alpaca.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | const ALPACA_LIVE_URL: &str = "https://api.alpaca.markets";
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ALPACA_DATA_URL` is never used
[INFO] [stderr]   --> src/broker/alpaca.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | const ALPACA_DATA_URL: &str = "https://data.alpaca.markets";
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaBroker` is never constructed
[INFO] [stderr]   --> src/broker/alpaca.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct AlpacaBroker {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `auth_headers`, `api_get`, `api_post`, `api_delete`, and `data_get` are never used
[INFO] [stderr]    --> src/broker/alpaca.rs:28:18
[INFO] [stderr]     |
[INFO] [stderr]  27 | impl AlpacaBroker {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  28 |     pub async fn new(config: &BrokerConfig) -> AppResult<Self> {
[INFO] [stderr]     |                  ^^^
[INFO] [stderr] ...
[INFO] [stderr]  64 |     fn auth_headers(&self) -> reqwest::header::HeaderMap {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  81 |     async fn api_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stderr]     |              ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 110 |     async fn api_post<T: for<'de> Deserialize<'de>, B: Serialize>(
[INFO] [stderr]     |              ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 144 |     async fn api_delete(&self, endpoint: &str) -> AppResult<()> {
[INFO] [stderr]     |              ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 171 |     async fn data_get<T: for<'de> Deserialize<'de>>(&self, endpoint: &str) -> AppResult<T> {
[INFO] [stderr]     |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaAccount` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:343:8
[INFO] [stderr]     |
[INFO] [stderr] 343 | struct AlpacaAccount {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaOrderRequest` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:388:8
[INFO] [stderr]     |
[INFO] [stderr] 388 | struct AlpacaOrderRequest {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaOrder` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:409:8
[INFO] [stderr]     |
[INFO] [stderr] 409 | struct AlpacaOrder {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaPosition` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:430:8
[INFO] [stderr]     |
[INFO] [stderr] 430 | struct AlpacaPosition {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaQuoteResponse` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:461:8
[INFO] [stderr]     |
[INFO] [stderr] 461 | struct AlpacaQuoteResponse {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaMultiQuoteResponse` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:466:8
[INFO] [stderr]     |
[INFO] [stderr] 466 | struct AlpacaMultiQuoteResponse {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AlpacaQuote` is never constructed
[INFO] [stderr]    --> src/broker/alpaca.rs:471:8
[INFO] [stderr]     |
[INFO] [stderr] 471 | struct AlpacaQuote {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_decimal` is never used
[INFO] [stderr]    --> src/broker/alpaca.rs:480:4
[INFO] [stderr]     |
[INFO] [stderr] 480 | fn parse_decimal(s: &str) -> Decimal {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse_alpaca_status` is never used
[INFO] [stderr]    --> src/broker/alpaca.rs:484:4
[INFO] [stderr]     |
[INFO] [stderr] 484 | fn parse_alpaca_status(status: &str) -> BrokerOrderStatus {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `MarketDataProvider` is never used
[INFO] [stderr]  --> src/market_data/mod.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait MarketDataProvider: Send + Sync {
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `WSMessage` is never used
[INFO] [stderr]   --> src/websocket.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub enum WSMessage {
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MarketDataUpdate` is never constructed
[INFO] [stderr]   --> src/websocket.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct MarketDataUpdate {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SignalUpdate` is never constructed
[INFO] [stderr]   --> src/websocket.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct SignalUpdate {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OrderUpdate` is never constructed
[INFO] [stderr]   --> src/websocket.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct OrderUpdate {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PortfolioUpdate` is never constructed
[INFO] [stderr]   --> src/websocket.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub struct PortfolioUpdate {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ErrorMessage` is never constructed
[INFO] [stderr]   --> src/websocket.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct ErrorMessage {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WSManager` is never constructed
[INFO] [stderr]   --> src/websocket.rs:76:12
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub struct WSManager {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ClientSubscription` is never constructed
[INFO] [stderr]   --> src/websocket.rs:84:8
[INFO] [stderr]    |
[INFO] [stderr] 84 | struct ClientSubscription {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/websocket.rs:89:12
[INFO] [stderr]     |
[INFO] [stderr]  88 | impl WSManager {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr]  89 |     pub fn new(capacity: usize) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  98 |     pub fn subscribe(&self) -> broadcast::Receiver<WSMessage> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub fn broadcast(&self, msg: WSMessage) -> Result<usize, broadcast::error::SendError<WSMessage>> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 108 |     pub async fn register(&self, conn_id: String) {
[INFO] [stderr]     |                  ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub async fn unregister(&self, conn_id: &str) {
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 127 |     pub async fn update_subscription(&self, conn_id: &str, channels: Vec<String>) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 135 |     pub async fn connection_count(&self) -> usize {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 140 |     pub fn broadcast_event(&self, event: &PlatformEvent) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WSState` is never constructed
[INFO] [stderr]    --> src/websocket.rs:186:12
[INFO] [stderr]     |
[INFO] [stderr] 186 | pub struct WSState {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ws_handler` is never used
[INFO] [stderr]    --> src/websocket.rs:192:14
[INFO] [stderr]     |
[INFO] [stderr] 192 | pub async fn ws_handler(ws: WebSocketUpgrade, State(state): State<WSState>) -> impl IntoResponse {
[INFO] [stderr]     |              ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_socket` is never used
[INFO] [stderr]    --> src/websocket.rs:197:10
[INFO] [stderr]     |
[INFO] [stderr] 197 | async fn handle_socket(socket: WebSocket, state: WSState) {
[INFO] [stderr]     |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `handle_client_message` is never used
[INFO] [stderr]    --> src/websocket.rs:262:10
[INFO] [stderr]     |
[INFO] [stderr] 262 | async fn handle_client_message(manager: &WSManager, conn_id: &str, msg: WSMessage) {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `start_heartbeat` is never used
[INFO] [stderr]    --> src/websocket.rs:284:8
[INFO] [stderr]     |
[INFO] [stderr] 284 | pub fn start_heartbeat(manager: Arc<WSManager>, interval_secs: u64) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hk-us-quant-platform` (bin "hk-us-quant-platform") generated 61 warnings
[INFO] [stderr] warning: method `add_exchange_config` is never used
[INFO] [stderr]    --> src/data/validators.rs:462:12
[INFO] [stderr]     |
[INFO] [stderr]  35 | impl DataValidator {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 462 |     pub fn add_exchange_config(&mut self, exchange: String, config: ExchangeConfig) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `with_vwap` and `body_size` are never used
[INFO] [stderr]    --> src/types.rs:212:12
[INFO] [stderr]     |
[INFO] [stderr] 190 | impl CandlestickData {
[INFO] [stderr]     | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 212 |     pub fn with_vwap(mut self, vwap: Decimal, trades_count: i32) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 224 |     pub fn body_size(&self) -> Decimal {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `imbalance` is never used
[INFO] [stderr]    --> src/types.rs:308:12
[INFO] [stderr]     |
[INFO] [stderr] 268 | impl OrderBook {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 308 |     pub fn imbalance(&self) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hk-us-quant-platform` (bin "hk-us-quant-platform" test) generated 55 warnings (52 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0, sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hk_us_quant_platform-726cf5f4a4010c34)
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test data::validators::tests::test_crossed_order_book ... ok
[INFO] [stdout] test data::validators::tests::test_enhanced_market_data ... ok
[INFO] [stdout] test data::validators::tests::test_hk_symbol_format ... ok
[INFO] [stdout] test data::validators::tests::test_invalid_bid_ask_spread ... ok
[INFO] [stdout] test data::validators::tests::test_invalid_candlestick ... ok
[INFO] [stdout] test data::validators::tests::test_invalid_price ... ok
[INFO] [stdout] test data::validators::tests::test_price_change_calculations ... ok
[INFO] [stdout] test data::validators::tests::test_valid_market_data ... ok
[INFO] [stdout] test data::validators::tests::test_candlestick_validation ... ok
[INFO] [stdout] test data::validators::tests::test_validator_configuration ... ok
[INFO] [stdout] test strategy::indicators::tests::test_bollinger_bands ... ok
[INFO] [stdout] test strategy::indicators::tests::test_rsi ... ok
[INFO] [stdout] test strategy::indicators::tests::test_sma ... ok
[INFO] [stdout] test data::validators::tests::test_order_book_validation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hk_us_quant_platform-5e96612b88815a96)
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test broker::alpaca::tests::test_parse_decimal ... ok
[INFO] [stdout] test data::validators::tests::test_crossed_order_book ... ok
[INFO] [stdout] test data::validators::tests::test_enhanced_market_data ... ok
[INFO] [stdout] test broker::alpaca::tests::test_parse_status ... ok
[INFO] [stdout] test data::validators::tests::test_hk_symbol_format ... ok
[INFO] [stdout] test data::validators::tests::test_invalid_bid_ask_spread ... ok
[INFO] [stdout] test data::validators::tests::test_invalid_candlestick ... ok
[INFO] [stdout] test data::validators::tests::test_order_book_validation ... ok
[INFO] [stdout] test data::validators::tests::test_validator_configuration ... ok
[INFO] [stdout] test data::validators::tests::test_price_change_calculations ... ok
[INFO] [stdout] test data::validators::tests::test_valid_market_data ... ok
[INFO] [stdout] test strategy::indicators::tests::test_bollinger_bands ... ok
[INFO] [stdout] test strategy::indicators::tests::test_rsi ... ok
[INFO] [stdout] test strategy::indicators::tests::test_sma ... ok
[INFO] [stdout] test data::validators::tests::test_candlestick_validation ... ok
[INFO] [stdout] test http_e2e_tests::e2e_api_smoke ... ok
[INFO] [stdout] test data::validators::tests::test_invalid_price ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/test_data_service.rs (/opt/rustwide/target/debug/deps/test_data_service-09d46c7d775fae73)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/api_test.rs (/opt/rustwide/target/debug/deps/api_test-6391d4d2c8943873)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test test_risk_metrics_calculation ... ok
[INFO] [stdout] test test_order_types ... ok
[INFO] [stdout] test test_backtest_result_structure ... ok
[INFO] [stdout] test test_risk_alert_structure ... ok
[INFO] [stdout] test test_order_structure ... ok
[INFO] [stdout] test test_portfolio_value_calculation ... ok
[INFO] [stdout] test test_strategy_config_validation ... ok
[INFO] [stdout] test test_position_pnl_calculation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-2b58f257dd09ed6b)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test test_strategy_config_creation ... ok
[INFO] [stdout] test test_portfolio_creation ... ok
[INFO] [stdout] test test_order_creation ... ok
[INFO] [stdout] test test_signal_creation ... ok
[INFO] [stdout] test test_market_data_creation ... ok
[INFO] [stdout] test test_position_creation_and_update ... ok
[INFO] [stdout] test test_data_validator ... ok
[INFO] [stderr]      Running tests/property_tests.rs (/opt/rustwide/target/debug/deps/property_tests-6ad10eae46944bac)
[INFO] [stdout] test test_config_loading ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test integration_tests::test_data_validation_integration ... ok
[INFO] [stdout] test test_position_consistency ... ok
[INFO] [stdout] test test_market_data_serde_roundtrip ... ok
[INFO] [stdout] test test_data_validator_consistency ... ok
[INFO] [stdout] test test_order_consistency ... ok
[INFO] [stdout] test test_signal_consistency ... ok
[INFO] [stdout] test test_portfolio_consistency ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests hk_us_quant_platform
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5d4b85f169ef7312539d10a696e2cde3cb891829172bf39f0f0b372729eda2d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d4b85f169ef7312539d10a696e2cde3cb891829172bf39f0f0b372729eda2d1", kill_on_drop: false }`
[INFO] [stdout] 5d4b85f169ef7312539d10a696e2cde3cb891829172bf39f0f0b372729eda2d1
