[INFO] cloning repository https://github.com/guangyu-coder/trade [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/trade" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Ftrade", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Ftrade'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2bd4c1ab513af03fa8f9f7e077d50babb1dd2b0 [INFO] checking guangyu-coder/trade against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguangyu-coder%2Ftrade" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guangyu-coder/trade [INFO] finished tweaking git repo https://github.com/guangyu-coder/trade [INFO] tweaked toml for git repo https://github.com/guangyu-coder/trade written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guangyu-coder/trade on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guangyu-coder/trade 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 266cb92f2559101f11594b6077559e6e376c5ad4ffec432822dac1aa9303a043 [INFO] running `Command { std: "docker" "start" "-a" "266cb92f2559101f11594b6077559e6e376c5ad4ffec432822dac1aa9303a043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "266cb92f2559101f11594b6077559e6e376c5ad4ffec432822dac1aa9303a043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266cb92f2559101f11594b6077559e6e376c5ad4ffec432822dac1aa9303a043", kill_on_drop: false }` [INFO] [stdout] 266cb92f2559101f11594b6077559e6e376c5ad4ffec432822dac1aa9303a043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 400b6e162e9e854d70369649174ba4b59d4381d6bcd52a439fb59237b8b67eb0 [INFO] running `Command { std: "docker" "start" "-a" "400b6e162e9e854d70369649174ba4b59d4381d6bcd52a439fb59237b8b67eb0", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking proptest v1.9.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [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: 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: 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 { [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: 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: 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 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn best_ask(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn spread(&self) -> Option { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [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 1` [INFO] running `Command { std: "docker" "inspect" "400b6e162e9e854d70369649174ba4b59d4381d6bcd52a439fb59237b8b67eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400b6e162e9e854d70369649174ba4b59d4381d6bcd52a439fb59237b8b67eb0", kill_on_drop: false }` [INFO] [stdout] 400b6e162e9e854d70369649174ba4b59d4381d6bcd52a439fb59237b8b67eb0