[INFO] cloning repository https://github.com/lealbt/orderflow-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lealbt/orderflow-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flealbt%2Forderflow-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flealbt%2Forderflow-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b280ed732c920b74b98e23a360a3dfa4609ba723 [INFO] building lealbt/orderflow-rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flealbt%2Forderflow-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 57% (1850/3228) Updating files: 58% (1873/3228) Updating files: 59% (1905/3228) Updating files: 60% (1937/3228) Updating files: 61% (1970/3228) Updating files: 62% (2002/3228) Updating files: 63% (2034/3228) Updating files: 64% (2066/3228) Updating files: 64% (2091/3228) Updating files: 65% (2099/3228) Updating files: 66% (2131/3228) Updating files: 67% (2163/3228) Updating files: 68% (2196/3228) Updating files: 69% (2228/3228) Updating files: 70% (2260/3228) Updating files: 71% (2292/3228) Updating files: 72% (2325/3228) Updating files: 73% (2357/3228) Updating files: 74% (2389/3228) Updating files: 75% (2421/3228) Updating files: 76% (2454/3228) Updating files: 77% (2486/3228) Updating files: 78% (2518/3228) Updating files: 79% (2551/3228) Updating files: 80% (2583/3228) Updating files: 81% (2615/3228) Updating files: 81% (2619/3228) Updating files: 82% (2647/3228) Updating files: 83% (2680/3228) Updating files: 84% (2712/3228) Updating files: 85% (2744/3228) Updating files: 86% (2777/3228) Updating files: 87% (2809/3228) Updating files: 88% (2841/3228) Updating files: 89% (2873/3228) Updating files: 90% (2906/3228) Updating files: 91% (2938/3228) Updating files: 92% (2970/3228) Updating files: 93% (3003/3228) Updating files: 94% (3035/3228) Updating files: 95% (3067/3228) Updating files: 96% (3099/3228) Updating files: 97% (3132/3228) Updating files: 98% (3164/3228) Updating files: 99% (3196/3228) Updating files: 100% (3228/3228) Updating files: 100% (3228/3228), done. [INFO] started tweaking git repo https://github.com/lealbt/orderflow-rs [INFO] finished tweaking git repo https://github.com/lealbt/orderflow-rs [INFO] tweaked toml for git repo https://github.com/lealbt/orderflow-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lealbt/orderflow-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lealbt/orderflow-rs 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abcf0a7c5de8544eac0bbbdf8c71aaa1b4702b2e5b7ae5e8096cd502c27b8271 [INFO] running `Command { std: "docker" "start" "-a" "abcf0a7c5de8544eac0bbbdf8c71aaa1b4702b2e5b7ae5e8096cd502c27b8271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abcf0a7c5de8544eac0bbbdf8c71aaa1b4702b2e5b7ae5e8096cd502c27b8271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abcf0a7c5de8544eac0bbbdf8c71aaa1b4702b2e5b7ae5e8096cd502c27b8271", kill_on_drop: false }` [INFO] [stdout] abcf0a7c5de8544eac0bbbdf8c71aaa1b4702b2e5b7ae5e8096cd502c27b8271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e02352293719aaafdba03e2a861e6599d67e18e58d63a04fb8ab53a5eb474c96 [INFO] running `Command { std: "docker" "start" "-a" "e02352293719aaafdba03e2a861e6599d67e18e58d63a04fb8ab53a5eb474c96", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling orderflow-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/order_book.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` 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: fields `base_asset_precision`, `quote_precision`, `quantity_precision`, and `filters` are never read [INFO] [stdout] --> src/binance.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SymbolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub base_asset_precision: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | #[serde(skip)] [INFO] [stdout] 26 | pub quote_precision: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[serde(skip)] [INFO] [stdout] 28 | pub quantity_precision: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[serde(skip)] [INFO] [stdout] 30 | pub filters: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `health_check` and `get_stats` are never used [INFO] [stdout] --> src/websocket.rs:271:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl WebSocketManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub async fn health_check(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn get_stats(&self) -> ConnectionStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionStats` is never constructed [INFO] [stdout] --> src/websocket.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct ConnectionStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_update_id` is never read [INFO] [stdout] --> src/order_book.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct OrderBookUpdate { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBookUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamConfig` is never constructed [INFO] [stdout] --> src/binance.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct StreamConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_server_time` and `get_orderbook_stream_url` are never used [INFO] [stdout] --> src/binance.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 58 | impl BinanceClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn get_server_time(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_orderbook_stream_url(&self, symbol: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_max_depth`, `get_mid_price`, and `get_spread` are never used [INFO] [stdout] --> src/order_book.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl OrderBookManager { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn with_max_depth(max_depth: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn get_mid_price(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn get_spread(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/fair_price.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FairPriceResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairPriceResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weighted_bid_price`, `weighted_ask_price`, and `depth_ratio` are never read [INFO] [stdout] --> src/fair_price.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FairPriceMetadata { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub weighted_bid_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub weighted_ask_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub order_flow_imbalance: f64, // -1.0 to 1.0 (negative = sell pressure) [INFO] [stdout] 27 | pub depth_ratio: f64, // bid_depth / ask_depth [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairPriceMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_price_volatility`, `get_price_trend`, and `set_method` are never used [INFO] [stdout] --> src/fair_price.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl FairPriceCalculator { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn get_price_volatility(&self, window: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn get_price_trend(&self, window: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn set_method(&mut self, method: FairPriceMethod) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `summary` is never used [INFO] [stdout] --> src/fair_price.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 307 | impl FairPriceResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 308 | /// Get human-readable summary [INFO] [stdout] 309 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.53s [INFO] running `Command { std: "docker" "inspect" "e02352293719aaafdba03e2a861e6599d67e18e58d63a04fb8ab53a5eb474c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02352293719aaafdba03e2a861e6599d67e18e58d63a04fb8ab53a5eb474c96", kill_on_drop: false }` [INFO] [stdout] e02352293719aaafdba03e2a861e6599d67e18e58d63a04fb8ab53a5eb474c96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbff4bb371f7bc7d4cca4ea8b2c3c7369577a31ea43ae6ec332c1c5291809cf9 [INFO] running `Command { std: "docker" "start" "-a" "dbff4bb371f7bc7d4cca4ea8b2c3c7369577a31ea43ae6ec332c1c5291809cf9", kill_on_drop: false }` [INFO] [stderr] Compiling orderflow-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/fair_price.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FairPriceResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairPriceResult` 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: fields `weighted_bid_price`, `weighted_ask_price`, and `depth_ratio` are never read [INFO] [stdout] --> src/fair_price.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FairPriceMetadata { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub weighted_bid_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub weighted_ask_price: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub order_flow_imbalance: f64, // -1.0 to 1.0 (negative = sell pressure) [INFO] [stdout] 27 | pub depth_ratio: f64, // bid_depth / ask_depth [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FairPriceMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_price_volatility`, `get_price_trend`, and `set_method` are never used [INFO] [stdout] --> src/fair_price.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl FairPriceCalculator { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn get_price_volatility(&self, window: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn get_price_trend(&self, window: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn set_method(&mut self, method: FairPriceMethod) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `summary` is never used [INFO] [stdout] --> src/fair_price.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 307 | impl FairPriceResult { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 308 | /// Get human-readable summary [INFO] [stdout] 309 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbol` is never read [INFO] [stdout] --> src/order_book.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct OrderBook { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBook` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_update_id` is never read [INFO] [stdout] --> src/order_book.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct OrderBookUpdate { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub first_update_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderBookUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_max_depth` is never used [INFO] [stdout] --> src/order_book.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl OrderBookManager { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn with_max_depth(max_depth: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_asset_precision`, `quote_precision`, `quantity_precision`, and `filters` are never read [INFO] [stdout] --> src/binance.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SymbolInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub base_asset_precision: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | #[serde(skip)] [INFO] [stdout] 26 | pub quote_precision: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[serde(skip)] [INFO] [stdout] 28 | pub quantity_precision: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[serde(skip)] [INFO] [stdout] 30 | pub filters: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamConfig` is never constructed [INFO] [stdout] --> src/binance.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct StreamConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "dbff4bb371f7bc7d4cca4ea8b2c3c7369577a31ea43ae6ec332c1c5291809cf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbff4bb371f7bc7d4cca4ea8b2c3c7369577a31ea43ae6ec332c1c5291809cf9", kill_on_drop: false }` [INFO] [stdout] dbff4bb371f7bc7d4cca4ea8b2c3c7369577a31ea43ae6ec332c1c5291809cf9