[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] checking guangyu-coder/hk-us-quant-platform against master#eeb94be79adc9df7a09ad0b2421f16e60e6d932c for pr-152971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Fhk-us-quant-platform" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/guangyu-coder/hk-us-quant-platform on toolchain eeb94be79adc9df7a09ad0b2421f16e60e6d932c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "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" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-ini v0.20.0
[INFO] [stderr]   Downloaded base64ct v1.8.2
[INFO] [stderr]   Downloaded yaml-rust2 v0.8.1
[INFO] [stderr]   Downloaded redis v0.24.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d539d67353e7cbdee0a9ed923588d168821b56dbbe33d5513a47421041586e41
[INFO] running `Command { std: "docker" "start" "-a" "d539d67353e7cbdee0a9ed923588d168821b56dbbe33d5513a47421041586e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d539d67353e7cbdee0a9ed923588d168821b56dbbe33d5513a47421041586e41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d539d67353e7cbdee0a9ed923588d168821b56dbbe33d5513a47421041586e41", kill_on_drop: false }`
[INFO] [stdout] d539d67353e7cbdee0a9ed923588d168821b56dbbe33d5513a47421041586e41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0217026bf92edd8cdc46b845d1b808a6aae036aa92207c584f0d31a5404893d
[INFO] running `Command { std: "docker" "start" "-a" "a0217026bf92edd8cdc46b845d1b808a6aae036aa92207c584f0d31a5404893d", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking data-encoding v2.10.0
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]     Checking proptest v1.9.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking 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 `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s
[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 5`
[INFO] running `Command { std: "docker" "inspect" "a0217026bf92edd8cdc46b845d1b808a6aae036aa92207c584f0d31a5404893d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0217026bf92edd8cdc46b845d1b808a6aae036aa92207c584f0d31a5404893d", kill_on_drop: false }`
[INFO] [stdout] a0217026bf92edd8cdc46b845d1b808a6aae036aa92207c584f0d31a5404893d
