[INFO] cloning repository https://github.com/Heraldixh/market-data-server-v1.0
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Heraldixh/market-data-server-v1.0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeraldixh%2Fmarket-data-server-v1.0", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeraldixh%2Fmarket-data-server-v1.0'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9dff7e365c81addd118c8492a62b22c6e023c411
[INFO] testing Heraldixh/market-data-server-v1.0 against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeraldixh%2Fmarket-data-server-v1.0" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Heraldixh/market-data-server-v1.0
[INFO] finished tweaking git repo https://github.com/Heraldixh/market-data-server-v1.0
[INFO] tweaked toml for git repo https://github.com/Heraldixh/market-data-server-v1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Heraldixh/market-data-server-v1.0 on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Heraldixh/market-data-server-v1.0 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml_edit v0.25.4+spec-1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3f2313e4f16bbe707ffeada71037224a6a7e9d9e2252b2020ed3daf77f1beb6f
[INFO] running `Command { std: "docker" "start" "-a" "3f2313e4f16bbe707ffeada71037224a6a7e9d9e2252b2020ed3daf77f1beb6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f2313e4f16bbe707ffeada71037224a6a7e9d9e2252b2020ed3daf77f1beb6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f2313e4f16bbe707ffeada71037224a6a7e9d9e2252b2020ed3daf77f1beb6f", kill_on_drop: false }`
[INFO] [stdout] 3f2313e4f16bbe707ffeada71037224a6a7e9d9e2252b2020ed3daf77f1beb6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d53a267fd9c5c2b8802d2c1bc5e5b22e6a603137f047c22c88fc63da7d9e171
[INFO] running `Command { std: "docker" "start" "-a" "7d53a267fd9c5c2b8802d2c1bc5e5b22e6a603137f047c22c88fc63da7d9e171", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling compression-core v0.4.31
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling compression-codecs v0.4.37
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling rmp v0.8.15
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling rmp-serde v1.3.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling async-compression v0.4.41
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling axum-extra v0.9.6
[INFO] [stderr]    Compiling market-data-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `topic`
[INFO] [stdout]    --> src/exchange/bybit.rs:207:42
[INFO] [stdout]     |
[INFO] [stdout] 207 |     async fn handle_orderbook(&mut self, topic: &str, data: serde_json::Value, msg_type: &str, ts: u64) -> Result<()> {
[INFO] [stdout]     |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_topic`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `limits` is never read
[INFO] [stdout]   --> src/config.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub limits: LimitsConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `admin_bind` is never read
[INFO] [stdout]   --> src/config.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ServerConfig {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 16 |     pub bind: String,
[INFO] [stdout] 17 |     pub admin_bind: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerConfig` 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 `max_symbols_per_exchange`, `max_api_keys`, and `default_rate_limit` are never read
[INFO] [stdout]   --> src/config.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct LimitsConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 50 |     pub max_symbols_per_exchange: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub max_api_keys: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 52 |     pub default_rate_limit: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LimitsConfig` 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: enum `AppError` is never used
[INFO] [stdout]  --> src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum AppError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/error.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub type Result<T> = std::result::Result<T, AppError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `e`, `E`, `f`, and `l` are never read
[INFO] [stdout]    --> src/exchange/binance.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 332 | struct AggTradeEvent {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 333 |     e: String,      // Event type
[INFO] [stdout]     |     ^
[INFO] [stdout] 334 |     E: u64,         // Event time
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 339 |     f: u64,         // First trade ID
[INFO] [stdout]     |     ^
[INFO] [stdout] 340 |     l: u64,         // Last trade ID
[INFO] [stdout]     |     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AggTradeEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `e`, `T`, and `pu` are never read
[INFO] [stdout]    --> src/exchange/binance.rs:347:5
[INFO] [stdout]     |
[INFO] [stdout] 346 | struct DepthUpdateEvent {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] 347 |     e: String,              // Event type
[INFO] [stdout]     |     ^
[INFO] [stdout] 348 |     E: u64,                 // Event time
[INFO] [stdout] 349 |     T: u64,                 // Transaction time
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 353 |     pu: u64,                // Previous final update ID
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DepthUpdateEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `E` and `T` are never read
[INFO] [stdout]    --> src/exchange/binance.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 359 | struct DepthResponse {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 360 |     lastUpdateId: u64,
[INFO] [stdout] 361 |     E: Option<u64>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 362 |     T: Option<u64>,
[INFO] [stdout]     |     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DepthResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n` is never read
[INFO] [stdout]    --> src/exchange/hyperliquid.rs:275:5
[INFO] [stdout]     |
[INFO] [stdout] 272 | struct HyperliquidLevel {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 275 |     n: u32,  // Number of orders
[INFO] [stdout]     |     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HyperliquidLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionStatus` is never used
[INFO] [stdout]  --> src/exchange/traits.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ConnectionStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_connected` is never used
[INFO] [stdout]   --> src/exchange/traits.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionStatus {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 18 |     pub fn is_connected(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExchangeEvent` is never used
[INFO] [stdout]   --> src/exchange/traits.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum ExchangeEvent {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExchangeConnector` is never used
[INFO] [stdout]   --> src/exchange/traits.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait ExchangeConnector: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/normalize/trade.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Side {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_symbol` and `timestamp_ms` are never used
[INFO] [stdout]   --> src/normalize/trade.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl NormalizedTrade {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn with_symbol(mut self, symbol: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn timestamp_ms(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradesBatch` is never constructed
[INFO] [stdout]   --> src/normalize/trade.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct TradesBatch {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `len`, and `is_empty` are never used
[INFO] [stdout]    --> src/normalize/trade.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl TradesBatch {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  95 |     pub fn new(exchange: u8, symbol_id: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn push(&mut self, trade: NormalizedTrade) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn len(&self) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_levels`, `best_bid`, `best_ask`, `mid_price`, and `spread` are never used
[INFO] [stdout]   --> src/normalize/orderbook.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl OrderBookSnapshot {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 40 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_levels(mut self, bids: Vec<PriceLevel>, asks: Vec<PriceLevel>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn best_bid(&self) -> Option<&PriceLevel> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn best_ask(&self) -> Option<&PriceLevel> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn mid_price(&self) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_bid` and `best_ask` are never used
[INFO] [stdout]    --> src/normalize/orderbook.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl LocalOrderBook {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn best_bid(&self) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn best_ask(&self) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ChecksumMismatch` is never constructed
[INFO] [stdout]    --> src/normalize/orderbook.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub enum OrderBookError {
[INFO] [stdout]     |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 224 |     ChecksumMismatch { expected: u32, computed: u32 },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderBookError` 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: associated function `from_str` is never used
[INFO] [stdout]   --> src/normalize/symbol.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ExchangeId {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `exchange_id`, `to_binance_symbol`, `to_bybit_symbol`, `to_okx_symbol`, and `to_hyperliquid_symbol` are never used
[INFO] [stdout]   --> src/normalize/symbol.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl UnifiedSymbol {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn exchange_id(&self) -> Option<ExchangeId> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn to_binance_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn to_bybit_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn to_okx_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     pub fn to_hyperliquid_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/storage/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Storage {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     config: StorageConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Storage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `store_trades` is never used
[INFO] [stdout]   --> src/storage/mod.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Storage {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn store_trades(&self, trades: &[NormalizedTrade], symbol: &str, exchange: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_symbol_enabled` and `get_recent_health_events` are never used
[INFO] [stdout]    --> src/storage/sqlite.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn set_symbol_enabled(&self, exchange: &str, symbol: &str, enabled: bool) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn get_recent_health_events(&self, exchange: &str, limit: usize) -> Result<Vec<HealthEvent>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthEvent` is never constructed
[INFO] [stdout]    --> src/storage/sqlite.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub struct HealthEvent {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `enabled` is never read
[INFO] [stdout]    --> src/storage/sqlite.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct ApiKeyRecord {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 356 |     pub enabled: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ApiKeyRecord` 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 `append_trades` and `rotate_files` are never used
[INFO] [stdout]    --> src/storage/trades.rs:79:18
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl TradeStorage {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub async fn append_trades(&self, exchange: &str, symbol: &str, trades: &[NormalizedTrade]) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn rotate_files(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `rotate_files` is never used
[INFO] [stdout]    --> src/storage/orderbook.rs:171:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl OrderBookStorage {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn rotate_files(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `storage` and `auth` are never read
[INFO] [stdout]   --> src/api/routes.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 19 |     pub storage: Storage,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |     pub auth: ApiKeyAuth,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthResponse` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:305:8
[INFO] [stdout]     |
[INFO] [stdout] 305 | struct HealthResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExchangeHealth` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:313:8
[INFO] [stdout]     |
[INFO] [stdout] 313 | struct ExchangeHealth {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthEvent` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | struct HealthEvent {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorageHealth` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:326:8
[INFO] [stdout]     |
[INFO] [stdout] 326 | struct StorageHealth {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/api/auth.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ApiKeyInfo {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 17 |     pub id: String,
[INFO] [stdout] 18 |     pub name: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiKeyInfo` 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 `cleanup_old_entries` is never used
[INFO] [stdout]    --> src/api/auth.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl RateLimiter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn cleanup_old_entries(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inc_trades`, `inc_orderbook_updates`, `inc_api_requests`, `inc_api_errors`, `inc_exchange_errors`, and `set_active_connections` are never used
[INFO] [stdout]   --> src/metrics.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Metrics {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn inc_trades(&self, exchange: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn inc_orderbook_updates(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn inc_api_requests(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn inc_api_errors(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn inc_exchange_errors(&self, exchange: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn set_active_connections(&self, count: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShutdownSignal` is never constructed
[INFO] [stdout]  --> src/shutdown.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ShutdownSignal {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `subscribe`, and `trigger` are never used
[INFO] [stdout]   --> src/shutdown.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ShutdownSignal {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn subscribe(&self) -> broadcast::Receiver<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn trigger(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `E` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:334:5
[INFO] [stdout]     |
[INFO] [stdout] 334 |     E: u64,         // Event time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:341:5
[INFO] [stdout]     |
[INFO] [stdout] 341 |     T: u64,         // Trade time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `E` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:348:5
[INFO] [stdout]     |
[INFO] [stdout] 348 |     E: u64,                 // Event time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:349:5
[INFO] [stdout]     |
[INFO] [stdout] 349 |     T: u64,                 // Transaction time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `U` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:351:5
[INFO] [stdout]     |
[INFO] [stdout] 351 |     U: u64,                 // First update ID
[INFO] [stdout]     |     ^ help: convert the identifier to snake case (notice the capitalization): `u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `lastUpdateId` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:360:5
[INFO] [stdout]     |
[INFO] [stdout] 360 |     lastUpdateId: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_update_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `E` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 361 |     E: Option<u64>,
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 362 |     T: Option<u64>,
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `S` should have a snake case name
[INFO] [stdout]    --> src/exchange/bybit.rs:297:5
[INFO] [stdout]     |
[INFO] [stdout] 297 |     S: String,      // Side: Buy/Sell
[INFO] [stdout]     |     ^ help: convert the identifier to snake case (notice the capitalization): `s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/bybit.rs:300:5
[INFO] [stdout]     |
[INFO] [stdout] 300 |     T: u64,         // Timestamp ms
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `instId` should have a snake case name
[INFO] [stdout]    --> src/exchange/okx.rs:332:5
[INFO] [stdout]     |
[INFO] [stdout] 332 |     instId: Option<String>,
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `inst_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.68s
[INFO] running `Command { std: "docker" "inspect" "7d53a267fd9c5c2b8802d2c1bc5e5b22e6a603137f047c22c88fc63da7d9e171", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d53a267fd9c5c2b8802d2c1bc5e5b22e6a603137f047c22c88fc63da7d9e171", kill_on_drop: false }`
[INFO] [stdout] 7d53a267fd9c5c2b8802d2c1bc5e5b22e6a603137f047c22c88fc63da7d9e171
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4df2a780eacedcee5e7abacf89e3d8f1b33da8cf316a5db6aea713d55f57dbe
[INFO] running `Command { std: "docker" "start" "-a" "a4df2a780eacedcee5e7abacf89e3d8f1b33da8cf316a5db6aea713d55f57dbe", kill_on_drop: false }`
[INFO] [stderr]    Compiling market-data-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `topic`
[INFO] [stdout]    --> src/exchange/bybit.rs:207:42
[INFO] [stdout]     |
[INFO] [stdout] 207 |     async fn handle_orderbook(&mut self, topic: &str, data: serde_json::Value, msg_type: &str, ts: u64) -> Result<()> {
[INFO] [stdout]     |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_topic`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `limits` is never read
[INFO] [stdout]   --> src/config.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Config {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub limits: LimitsConfig,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `admin_bind` is never read
[INFO] [stdout]   --> src/config.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ServerConfig {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 16 |     pub bind: String,
[INFO] [stdout] 17 |     pub admin_bind: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerConfig` 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 `max_symbols_per_exchange`, `max_api_keys`, and `default_rate_limit` are never read
[INFO] [stdout]   --> src/config.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct LimitsConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 50 |     pub max_symbols_per_exchange: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub max_api_keys: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 52 |     pub default_rate_limit: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LimitsConfig` 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: enum `AppError` is never used
[INFO] [stdout]  --> src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum AppError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/error.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub type Result<T> = std::result::Result<T, AppError>;
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `e`, `E`, `f`, and `l` are never read
[INFO] [stdout]    --> src/exchange/binance.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 332 | struct AggTradeEvent {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 333 |     e: String,      // Event type
[INFO] [stdout]     |     ^
[INFO] [stdout] 334 |     E: u64,         // Event time
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 339 |     f: u64,         // First trade ID
[INFO] [stdout]     |     ^
[INFO] [stdout] 340 |     l: u64,         // Last trade ID
[INFO] [stdout]     |     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AggTradeEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `e`, `T`, and `pu` are never read
[INFO] [stdout]    --> src/exchange/binance.rs:347:5
[INFO] [stdout]     |
[INFO] [stdout] 346 | struct DepthUpdateEvent {
[INFO] [stdout]     |        ---------------- fields in this struct
[INFO] [stdout] 347 |     e: String,              // Event type
[INFO] [stdout]     |     ^
[INFO] [stdout] 348 |     E: u64,                 // Event time
[INFO] [stdout] 349 |     T: u64,                 // Transaction time
[INFO] [stdout]     |     ^
[INFO] [stdout] ...
[INFO] [stdout] 353 |     pu: u64,                // Previous final update ID
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DepthUpdateEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `E` and `T` are never read
[INFO] [stdout]    --> src/exchange/binance.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 359 | struct DepthResponse {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 360 |     lastUpdateId: u64,
[INFO] [stdout] 361 |     E: Option<u64>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 362 |     T: Option<u64>,
[INFO] [stdout]     |     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DepthResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n` is never read
[INFO] [stdout]    --> src/exchange/hyperliquid.rs:275:5
[INFO] [stdout]     |
[INFO] [stdout] 272 | struct HyperliquidLevel {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 275 |     n: u32,  // Number of orders
[INFO] [stdout]     |     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HyperliquidLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConnectionStatus` is never used
[INFO] [stdout]  --> src/exchange/traits.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ConnectionStatus {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_connected` is never used
[INFO] [stdout]   --> src/exchange/traits.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl ConnectionStatus {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 18 |     pub fn is_connected(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExchangeEvent` is never used
[INFO] [stdout]   --> src/exchange/traits.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum ExchangeEvent {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExchangeConnector` is never used
[INFO] [stdout]   --> src/exchange/traits.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait ExchangeConnector: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/normalize/trade.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Side {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     pub fn as_str(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_symbol` and `timestamp_ms` are never used
[INFO] [stdout]   --> src/normalize/trade.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl NormalizedTrade {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn with_symbol(mut self, symbol: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn timestamp_ms(&self) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradesBatch` is never constructed
[INFO] [stdout]   --> src/normalize/trade.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct TradesBatch {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, `len`, and `is_empty` are never used
[INFO] [stdout]    --> src/normalize/trade.rs:95:12
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl TradesBatch {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  95 |     pub fn new(exchange: u8, symbol_id: u32) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn push(&mut self, trade: NormalizedTrade) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn len(&self) -> usize {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn is_empty(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_levels`, `best_bid`, `best_ask`, `mid_price`, and `spread` are never used
[INFO] [stdout]   --> src/normalize/orderbook.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl OrderBookSnapshot {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 40 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_levels(mut self, bids: Vec<PriceLevel>, asks: Vec<PriceLevel>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn best_bid(&self) -> Option<&PriceLevel> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn best_ask(&self) -> Option<&PriceLevel> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn mid_price(&self) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_bid` and `best_ask` are never used
[INFO] [stdout]    --> src/normalize/orderbook.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl LocalOrderBook {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn best_bid(&self) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     pub fn best_ask(&self) -> Option<(i64, i64)> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ChecksumMismatch` is never constructed
[INFO] [stdout]    --> src/normalize/orderbook.rs:224:5
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub enum OrderBookError {
[INFO] [stdout]     |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 224 |     ChecksumMismatch { expected: u32, computed: u32 },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderBookError` 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: associated function `from_str` is never used
[INFO] [stdout]   --> src/normalize/symbol.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl ExchangeId {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `exchange_id`, `to_binance_symbol`, `to_bybit_symbol`, `to_okx_symbol`, and `to_hyperliquid_symbol` are never used
[INFO] [stdout]   --> src/normalize/symbol.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl UnifiedSymbol {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn exchange_id(&self) -> Option<ExchangeId> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     pub fn to_binance_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub fn to_bybit_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn to_okx_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98 |     pub fn to_hyperliquid_symbol(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/storage/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Storage {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     config: StorageConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Storage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `store_trades` is never used
[INFO] [stdout]   --> src/storage/mod.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Storage {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn store_trades(&self, trades: &[NormalizedTrade], symbol: &str, exchange: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_symbol_enabled` and `get_recent_health_events` are never used
[INFO] [stdout]    --> src/storage/sqlite.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl Database {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 207 |     pub fn set_symbol_enabled(&self, exchange: &str, symbol: &str, enabled: bool) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     pub fn get_recent_health_events(&self, exchange: &str, limit: usize) -> Result<Vec<HealthEvent>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthEvent` is never constructed
[INFO] [stdout]    --> src/storage/sqlite.rs:345:12
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub struct HealthEvent {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `enabled` is never read
[INFO] [stdout]    --> src/storage/sqlite.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub struct ApiKeyRecord {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 356 |     pub enabled: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ApiKeyRecord` 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 `append_trades` and `rotate_files` are never used
[INFO] [stdout]    --> src/storage/trades.rs:79:18
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl TradeStorage {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub async fn append_trades(&self, exchange: &str, symbol: &str, trades: &[NormalizedTrade]) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn rotate_files(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `rotate_files` is never used
[INFO] [stdout]    --> src/storage/orderbook.rs:171:12
[INFO] [stdout]     |
[INFO] [stdout]  19 | impl OrderBookStorage {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn rotate_files(&self) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `storage` and `auth` are never read
[INFO] [stdout]   --> src/api/routes.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct AppState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 19 |     pub storage: Storage,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |     pub auth: ApiKeyAuth,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthResponse` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:305:8
[INFO] [stdout]     |
[INFO] [stdout] 305 | struct HealthResponse {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExchangeHealth` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:313:8
[INFO] [stdout]     |
[INFO] [stdout] 313 | struct ExchangeHealth {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HealthEvent` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | struct HealthEvent {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StorageHealth` is never constructed
[INFO] [stdout]    --> src/api/routes.rs:326:8
[INFO] [stdout]     |
[INFO] [stdout] 326 | struct StorageHealth {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/api/auth.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ApiKeyInfo {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 17 |     pub id: String,
[INFO] [stdout] 18 |     pub name: Option<String>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiKeyInfo` 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 `cleanup_old_entries` is never used
[INFO] [stdout]    --> src/api/auth.rs:168:12
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl RateLimiter {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn cleanup_old_entries(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inc_trades`, `inc_orderbook_updates`, `inc_api_requests`, `inc_api_errors`, `inc_exchange_errors`, and `set_active_connections` are never used
[INFO] [stdout]   --> src/metrics.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Metrics {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn inc_trades(&self, exchange: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn inc_orderbook_updates(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn inc_api_requests(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn inc_api_errors(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn inc_exchange_errors(&self, exchange: &str) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn set_active_connections(&self, count: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShutdownSignal` is never constructed
[INFO] [stdout]  --> src/shutdown.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ShutdownSignal {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `subscribe`, and `trigger` are never used
[INFO] [stdout]   --> src/shutdown.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ShutdownSignal {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn subscribe(&self) -> broadcast::Receiver<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn trigger(&self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `E` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:334:5
[INFO] [stdout]     |
[INFO] [stdout] 334 |     E: u64,         // Event time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:341:5
[INFO] [stdout]     |
[INFO] [stdout] 341 |     T: u64,         // Trade time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `E` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:348:5
[INFO] [stdout]     |
[INFO] [stdout] 348 |     E: u64,                 // Event time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:349:5
[INFO] [stdout]     |
[INFO] [stdout] 349 |     T: u64,                 // Transaction time
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `U` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:351:5
[INFO] [stdout]     |
[INFO] [stdout] 351 |     U: u64,                 // First update ID
[INFO] [stdout]     |     ^ help: convert the identifier to snake case (notice the capitalization): `u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `lastUpdateId` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:360:5
[INFO] [stdout]     |
[INFO] [stdout] 360 |     lastUpdateId: u64,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_update_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `E` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:361:5
[INFO] [stdout]     |
[INFO] [stdout] 361 |     E: Option<u64>,
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/binance.rs:362:5
[INFO] [stdout]     |
[INFO] [stdout] 362 |     T: Option<u64>,
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `S` should have a snake case name
[INFO] [stdout]    --> src/exchange/bybit.rs:297:5
[INFO] [stdout]     |
[INFO] [stdout] 297 |     S: String,      // Side: Buy/Sell
[INFO] [stdout]     |     ^ help: convert the identifier to snake case (notice the capitalization): `s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T` should have a snake case name
[INFO] [stdout]    --> src/exchange/bybit.rs:300:5
[INFO] [stdout]     |
[INFO] [stdout] 300 |     T: u64,         // Timestamp ms
[INFO] [stdout]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `instId` should have a snake case name
[INFO] [stdout]    --> src/exchange/okx.rs:332:5
[INFO] [stdout]     |
[INFO] [stdout] 332 |     instId: Option<String>,
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to snake case: `inst_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.89s
[INFO] running `Command { std: "docker" "inspect" "a4df2a780eacedcee5e7abacf89e3d8f1b33da8cf316a5db6aea713d55f57dbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4df2a780eacedcee5e7abacf89e3d8f1b33da8cf316a5db6aea713d55f57dbe", kill_on_drop: false }`
[INFO] [stdout] a4df2a780eacedcee5e7abacf89e3d8f1b33da8cf316a5db6aea713d55f57dbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8c9bf691cf90b512f48b02dd7c48d20ef14f102a2be5387691b3e4e5a5480cc9
[INFO] running `Command { std: "docker" "start" "-a" "8c9bf691cf90b512f48b02dd7c48d20ef14f102a2be5387691b3e4e5a5480cc9", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `topic`
[INFO] [stderr]    --> src/exchange/bybit.rs:207:42
[INFO] [stderr]     |
[INFO] [stderr] 207 |     async fn handle_orderbook(&mut self, topic: &str, data: serde_json::Value, msg_type: &str, ts: u64) -> Result<()> {
[INFO] [stderr]     |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_topic`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `limits` is never read
[INFO] [stderr]   --> src/config.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub struct Config {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 11 |     pub limits: LimitsConfig,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `admin_bind` is never read
[INFO] [stderr]   --> src/config.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct ServerConfig {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 16 |     pub bind: String,
[INFO] [stderr] 17 |     pub admin_bind: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `max_symbols_per_exchange`, `max_api_keys`, and `default_rate_limit` are never read
[INFO] [stderr]   --> src/config.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub struct LimitsConfig {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 50 |     pub max_symbols_per_exchange: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 51 |     pub max_api_keys: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 52 |     pub default_rate_limit: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `LimitsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `AppError` is never used
[INFO] [stderr]  --> src/error.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub enum AppError {
[INFO] [stderr]   |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Result` is never used
[INFO] [stderr]   --> src/error.rs:42:10
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub type Result<T> = std::result::Result<T, AppError>;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `e`, `E`, `f`, and `l` are never read
[INFO] [stderr]    --> src/exchange/binance.rs:333:5
[INFO] [stderr]     |
[INFO] [stderr] 332 | struct AggTradeEvent {
[INFO] [stderr]     |        ------------- fields in this struct
[INFO] [stderr] 333 |     e: String,      // Event type
[INFO] [stderr]     |     ^
[INFO] [stderr] 334 |     E: u64,         // Event time
[INFO] [stderr]     |     ^
[INFO] [stderr] ...
[INFO] [stderr] 339 |     f: u64,         // First trade ID
[INFO] [stderr]     |     ^
[INFO] [stderr] 340 |     l: u64,         // Last trade ID
[INFO] [stderr]     |     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `AggTradeEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `e`, `T`, and `pu` are never read
[INFO] [stderr]    --> src/exchange/binance.rs:347:5
[INFO] [stderr]     |
[INFO] [stderr] 346 | struct DepthUpdateEvent {
[INFO] [stderr]     |        ---------------- fields in this struct
[INFO] [stderr] 347 |     e: String,              // Event type
[INFO] [stderr]     |     ^
[INFO] [stderr] 348 |     E: u64,                 // Event time
[INFO] [stderr] 349 |     T: u64,                 // Transaction time
[INFO] [stderr]     |     ^
[INFO] [stderr] ...
[INFO] [stderr] 353 |     pu: u64,                // Previous final update ID
[INFO] [stderr]     |     ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DepthUpdateEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `E` and `T` are never read
[INFO] [stderr]    --> src/exchange/binance.rs:361:5
[INFO] [stderr]     |
[INFO] [stderr] 359 | struct DepthResponse {
[INFO] [stderr]     |        ------------- fields in this struct
[INFO] [stderr] 360 |     lastUpdateId: u64,
[INFO] [stderr] 361 |     E: Option<u64>,
[INFO] [stderr]     |     ^
[INFO] [stderr] 362 |     T: Option<u64>,
[INFO] [stderr]     |     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `DepthResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `n` is never read
[INFO] [stderr]    --> src/exchange/hyperliquid.rs:275:5
[INFO] [stderr]     |
[INFO] [stderr] 272 | struct HyperliquidLevel {
[INFO] [stderr]     |        ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 275 |     n: u32,  // Number of orders
[INFO] [stderr]     |     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `HyperliquidLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ConnectionStatus` is never used
[INFO] [stderr]  --> src/exchange/traits.rs:5:10
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub enum ConnectionStatus {
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_connected` is never used
[INFO] [stderr]   --> src/exchange/traits.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl ConnectionStatus {
[INFO] [stderr]    | --------------------- method in this implementation
[INFO] [stderr] 18 |     pub fn is_connected(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ExchangeEvent` is never used
[INFO] [stderr]   --> src/exchange/traits.rs:24:10
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub enum ExchangeEvent {
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ExchangeConnector` is never used
[INFO] [stderr]   --> src/exchange/traits.rs:35:11
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub trait ExchangeConnector: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `as_str` is never used
[INFO] [stderr]   --> src/normalize/trade.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Side {
[INFO] [stderr]    | --------- method in this implementation
[INFO] [stderr] 11 |     pub fn as_str(&self) -> &'static str {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `with_symbol` and `timestamp_ms` are never used
[INFO] [stderr]   --> src/normalize/trade.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | impl NormalizedTrade {
[INFO] [stderr]    | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub fn with_symbol(mut self, symbol: String) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 82 |     pub fn timestamp_ms(&self) -> u64 {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TradesBatch` is never constructed
[INFO] [stderr]   --> src/normalize/trade.rs:88:12
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub struct TradesBatch {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `push`, `len`, and `is_empty` are never used
[INFO] [stderr]    --> src/normalize/trade.rs:95:12
[INFO] [stderr]     |
[INFO] [stderr]  94 | impl TradesBatch {
[INFO] [stderr]     | ---------------- associated items in this implementation
[INFO] [stderr]  95 |     pub fn new(exchange: u8, symbol_id: u32) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub fn push(&mut self, trade: NormalizedTrade) {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub fn len(&self) -> usize {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn is_empty(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_levels`, `best_bid`, `best_ask`, `mid_price`, and `spread` are never used
[INFO] [stderr]   --> src/normalize/orderbook.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | impl OrderBookSnapshot {
[INFO] [stderr]    | ---------------------- associated items in this implementation
[INFO] [stderr] 40 |     pub fn new(
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     pub fn with_levels(mut self, bids: Vec<PriceLevel>, asks: Vec<PriceLevel>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub fn best_bid(&self) -> Option<&PriceLevel> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 66 |     pub fn best_ask(&self) -> Option<&PriceLevel> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 70 |     pub fn mid_price(&self) -> Option<f64> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     pub fn spread(&self) -> Option<f64> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `best_bid` and `best_ask` are never used
[INFO] [stderr]    --> src/normalize/orderbook.rs:211:12
[INFO] [stderr]     |
[INFO] [stderr] 111 | impl LocalOrderBook {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 211 |     pub fn best_bid(&self) -> Option<(i64, i64)> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 215 |     pub fn best_ask(&self) -> Option<(i64, i64)> {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `ChecksumMismatch` is never constructed
[INFO] [stderr]    --> src/normalize/orderbook.rs:224:5
[INFO] [stderr]     |
[INFO] [stderr] 221 | pub enum OrderBookError {
[INFO] [stderr]     |          -------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 224 |     ChecksumMismatch { expected: u32, computed: u32 },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `OrderBookError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_str` is never used
[INFO] [stderr]   --> src/normalize/symbol.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl ExchangeId {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn from_str(s: &str) -> Option<Self> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `exchange_id`, `to_binance_symbol`, `to_bybit_symbol`, `to_okx_symbol`, and `to_hyperliquid_symbol` are never used
[INFO] [stderr]   --> src/normalize/symbol.rs:82:12
[INFO] [stderr]    |
[INFO] [stderr] 48 | impl UnifiedSymbol {
[INFO] [stderr]    | ------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 82 |     pub fn exchange_id(&self) -> Option<ExchangeId> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 86 |     pub fn to_binance_symbol(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 90 |     pub fn to_bybit_symbol(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 94 |     pub fn to_okx_symbol(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 98 |     pub fn to_hyperliquid_symbol(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `config` is never read
[INFO] [stderr]   --> src/storage/mod.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Storage {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     config: StorageConfig,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Storage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `store_trades` is never used
[INFO] [stderr]   --> src/storage/mod.rs:54:18
[INFO] [stderr]    |
[INFO] [stderr] 23 | impl Storage {
[INFO] [stderr]    | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub async fn store_trades(&self, trades: &[NormalizedTrade], symbol: &str, exchange: &str) -> Result<()> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `set_symbol_enabled` and `get_recent_health_events` are never used
[INFO] [stderr]    --> src/storage/sqlite.rs:207:12
[INFO] [stderr]     |
[INFO] [stderr]  12 | impl Database {
[INFO] [stderr]     | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 207 |     pub fn set_symbol_enabled(&self, exchange: &str, symbol: &str, enabled: bool) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 218 |     pub fn get_recent_health_events(&self, exchange: &str, limit: usize) -> Result<Vec<HealthEvent>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HealthEvent` is never constructed
[INFO] [stderr]    --> src/storage/sqlite.rs:345:12
[INFO] [stderr]     |
[INFO] [stderr] 345 | pub struct HealthEvent {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `enabled` is never read
[INFO] [stderr]    --> src/storage/sqlite.rs:356:9
[INFO] [stderr]     |
[INFO] [stderr] 352 | pub struct ApiKeyRecord {
[INFO] [stderr]     |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 356 |     pub enabled: bool,
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ApiKeyRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `append_trades` and `rotate_files` are never used
[INFO] [stderr]    --> src/storage/trades.rs:79:18
[INFO] [stderr]     |
[INFO] [stderr]  17 | impl TradeStorage {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  79 |     pub async fn append_trades(&self, exchange: &str, symbol: &str, trades: &[NormalizedTrade]) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub fn rotate_files(&self) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `rotate_files` is never used
[INFO] [stderr]    --> src/storage/orderbook.rs:171:12
[INFO] [stderr]     |
[INFO] [stderr]  19 | impl OrderBookStorage {
[INFO] [stderr]     | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 171 |     pub fn rotate_files(&self) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `storage` and `auth` are never read
[INFO] [stderr]   --> src/api/routes.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct AppState {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] 19 |     pub storage: Storage,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 20 |     pub auth: ApiKeyAuth,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HealthResponse` is never constructed
[INFO] [stderr]    --> src/api/routes.rs:305:8
[INFO] [stderr]     |
[INFO] [stderr] 305 | struct HealthResponse {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ExchangeHealth` is never constructed
[INFO] [stderr]    --> src/api/routes.rs:313:8
[INFO] [stderr]     |
[INFO] [stderr] 313 | struct ExchangeHealth {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HealthEvent` is never constructed
[INFO] [stderr]    --> src/api/routes.rs:319:8
[INFO] [stderr]     |
[INFO] [stderr] 319 | struct HealthEvent {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `StorageHealth` is never constructed
[INFO] [stderr]    --> src/api/routes.rs:326:8
[INFO] [stderr]     |
[INFO] [stderr] 326 | struct StorageHealth {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/api/auth.rs:18:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct ApiKeyInfo {
[INFO] [stderr]    |            ---------- field in this struct
[INFO] [stderr] 17 |     pub id: String,
[INFO] [stderr] 18 |     pub name: Option<String>,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ApiKeyInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `cleanup_old_entries` is never used
[INFO] [stderr]    --> src/api/auth.rs:168:12
[INFO] [stderr]     |
[INFO] [stderr] 132 | impl RateLimiter {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 168 |     pub fn cleanup_old_entries(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `inc_trades`, `inc_orderbook_updates`, `inc_api_requests`, `inc_api_errors`, `inc_exchange_errors`, and `set_active_connections` are never used
[INFO] [stderr]   --> src/metrics.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl Metrics {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub fn inc_trades(&self, exchange: &str) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     pub fn inc_orderbook_updates(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn inc_api_requests(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     pub fn inc_api_errors(&self) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub fn inc_exchange_errors(&self, exchange: &str) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 75 |     pub fn set_active_connections(&self, count: u64) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ShutdownSignal` is never constructed
[INFO] [stderr]  --> src/shutdown.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct ShutdownSignal {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `subscribe`, and `trigger` are never used
[INFO] [stderr]   --> src/shutdown.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl ShutdownSignal {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 11 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     pub fn subscribe(&self) -> broadcast::Receiver<()> {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn trigger(&self) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `E` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:334:5
[INFO] [stderr]     |
[INFO] [stderr] 334 |     E: u64,         // Event time
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `T` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:341:5
[INFO] [stderr]     |
[INFO] [stderr] 341 |     T: u64,         // Trade time
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `E` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:348:5
[INFO] [stderr]     |
[INFO] [stderr] 348 |     E: u64,                 // Event time
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `T` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:349:5
[INFO] [stderr]     |
[INFO] [stderr] 349 |     T: u64,                 // Transaction time
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `U` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:351:5
[INFO] [stderr]     |
[INFO] [stderr] 351 |     U: u64,                 // First update ID
[INFO] [stderr]     |     ^ help: convert the identifier to snake case (notice the capitalization): `u`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `lastUpdateId` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:360:5
[INFO] [stderr]     |
[INFO] [stderr] 360 |     lastUpdateId: u64,
[INFO] [stderr]     |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_update_id`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `E` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:361:5
[INFO] [stderr]     |
[INFO] [stderr] 361 |     E: Option<u64>,
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `e`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `T` should have a snake case name
[INFO] [stderr]    --> src/exchange/binance.rs:362:5
[INFO] [stderr]     |
[INFO] [stderr] 362 |     T: Option<u64>,
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `S` should have a snake case name
[INFO] [stderr]    --> src/exchange/bybit.rs:297:5
[INFO] [stderr]     |
[INFO] [stderr] 297 |     S: String,      // Side: Buy/Sell
[INFO] [stderr]     |     ^ help: convert the identifier to snake case (notice the capitalization): `s`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `T` should have a snake case name
[INFO] [stderr]    --> src/exchange/bybit.rs:300:5
[INFO] [stderr]     |
[INFO] [stderr] 300 |     T: u64,         // Timestamp ms
[INFO] [stderr]     |     ^ help: convert the identifier to snake case: `t`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `instId` should have a snake case name
[INFO] [stderr]    --> src/exchange/okx.rs:332:5
[INFO] [stderr]     |
[INFO] [stderr] 332 |     instId: Option<String>,
[INFO] [stderr]     |     ^^^^^^ help: convert the identifier to snake case: `inst_id`
[INFO] [stderr] 
[INFO] [stderr] warning: `market-data-server` (bin "market-data-server" test) generated 51 warnings (run `cargo fix --bin "market-data-server" -p market-data-server --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/market_data_server-2cfe65562a7e546b)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test retention::tests::test_extract_date_from_filename ... ok
[INFO] [stdout] test normalize::symbol::tests::test_parse_symbol ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8c9bf691cf90b512f48b02dd7c48d20ef14f102a2be5387691b3e4e5a5480cc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c9bf691cf90b512f48b02dd7c48d20ef14f102a2be5387691b3e4e5a5480cc9", kill_on_drop: false }`
[INFO] [stdout] 8c9bf691cf90b512f48b02dd7c48d20ef14f102a2be5387691b3e4e5a5480cc9
