[INFO] cloning repository https://github.com/suwandre/tv-trading-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suwandre/tv-trading-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuwandre%2Ftv-trading-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuwandre%2Ftv-trading-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4cb65b24171da8889db5d875b4bb4ffc58299369
[INFO] checking suwandre/tv-trading-bot against master#656ccbe796ff98def9b555c118e1620c5389e3b2 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuwandre%2Ftv-trading-bot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/suwandre/tv-trading-bot
[INFO] finished tweaking git repo https://github.com/suwandre/tv-trading-bot
[INFO] tweaked toml for git repo https://github.com/suwandre/tv-trading-bot written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/suwandre/tv-trading-bot on toolchain 656ccbe796ff98def9b555c118e1620c5389e3b2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/suwandre/tv-trading-bot 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" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-tungstenite v0.26.1
[INFO] [stderr]   Downloaded thiserror-impl v2.0.8
[INFO] [stderr]   Downloaded thiserror v2.0.8
[INFO] [stderr]   Downloaded tungstenite v0.26.1
[INFO] [stderr]   Downloaded mongodb-internal-macros v3.1.0
[INFO] [stderr]   Downloaded hickory-resolver v0.24.2
[INFO] [stderr]   Downloaded bson v2.13.0
[INFO] [stderr]   Downloaded mongodb v3.1.0
[INFO] [stderr]   Downloaded hickory-proto v0.24.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816
[INFO] running `Command { std: "docker" "start" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking data-encoding v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror v2.0.8
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.8
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking resolv-conf v0.7.0
[INFO] [stderr]     Checking rustc_version v0.4.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]    Compiling mongodb-internal-macros v3.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.11.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking hyper v1.5.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking hickory-proto v0.24.2
[INFO] [stderr]     Checking tower v0.5.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]     Checking chrono v0.4.39
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v3.11.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tungstenite v0.26.1
[INFO] [stderr]     Checking bson v2.13.0
[INFO] [stderr]     Checking tokio-tungstenite v0.26.1
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking hickory-resolver v0.24.2
[INFO] [stderr]     Checking mongodb v3.1.0
[INFO] [stderr]     Checking tv-trading-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `TradeLeverage` and `TradeSignal`
[INFO] [stdout]  --> src/api/trade.rs:9:317
[INFO] [stdout]   |
[INFO] [stdout] 9 | ...se, AppState, ClosedTrade, MongoDBState, TradeKind, TradeLeverage, TradeSignal}};
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/api/websocket.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::mpsc::{self, Receiver};
[INFO] [stdout]   |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/api/websocket.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{from_str, json, Value};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::ACCEPTED_SYMBOLS`
[INFO] [stdout]  --> src/api/websocket.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::constants::ACCEPTED_SYMBOLS;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WsCommand`
[INFO] [stdout]  --> src/api/websocket.rs:9:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::models::{ActiveTrade, AppState, CoinbaseTickerUpdate, WsCommand};
[INFO] [stdout]   |                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/api/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ActiveTrade`
[INFO] [stdout]  --> src/api/state.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{ActiveTrade, AppState, MongoDBState};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state::*`
[INFO] [stdout]  --> src/api/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use state::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/tests/trade.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dotenvy::dotenv`
[INFO] [stdout]  --> src/tests/trade.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use dotenvy::dotenv;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Client`, `bson::oid::ObjectId`, and `options::ClientOptions`
[INFO] [stdout]  --> src/tests/trade.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::{bson::oid::ObjectId, options::ClientOptions, Client};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ActiveTrade`, `MongoDBState`, `TradeDirection`, `TradeKind`, and `TradeLeverage`
[INFO] [stdout]  --> src/tests/trade.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{ActiveTrade, MongoDBState, TradeDirection, TradeKind, TradeLeverage};
[INFO] [stdout]   |                     ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trade::*`
[INFO] [stdout]  --> src/tests/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use trade::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/server.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | mod tests;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `websocket`
[INFO] [stdout]  --> src/server.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | use api::{start_price_listener, websocket};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc`
[INFO] [stdout]   --> src/server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tokio::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TradeLeverage` and `TradeSignal`
[INFO] [stdout]  --> src/api/trade.rs:9:317
[INFO] [stdout]   |
[INFO] [stdout] 9 | ...se, AppState, ClosedTrade, MongoDBState, TradeKind, TradeLeverage, TradeSignal}};
[INFO] [stdout]   |                                                        ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Receiver`
[INFO] [stdout]  --> src/api/websocket.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::mpsc::{self, Receiver};
[INFO] [stdout]   |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]  --> src/api/websocket.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{from_str, json, Value};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::ACCEPTED_SYMBOLS`
[INFO] [stdout]  --> src/api/websocket.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::constants::ACCEPTED_SYMBOLS;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WsCommand`
[INFO] [stdout]  --> src/api/websocket.rs:9:66
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::models::{ActiveTrade, AppState, CoinbaseTickerUpdate, WsCommand};
[INFO] [stdout]   |                                                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId`
[INFO] [stdout]  --> src/api/state.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ActiveTrade`
[INFO] [stdout]  --> src/api/state.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::{ActiveTrade, AppState, MongoDBState};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `state::*`
[INFO] [stdout]  --> src/api/mod.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use state::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]  --> src/tests/trade.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trade::*`
[INFO] [stdout]  --> src/tests/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use trade::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `websocket`
[INFO] [stdout]  --> src/server.rs:9:33
[INFO] [stdout]   |
[INFO] [stdout] 9 | use api::{start_price_listener, websocket};
[INFO] [stdout]   |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::mpsc`
[INFO] [stdout]   --> src/server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use tokio::sync::mpsc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TradeStatus` is never used
[INFO] [stdout]    --> src/models/trade.rs:144:10
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub enum TradeStatus {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WsCommand` is never used
[INFO] [stdout]  --> src/models/websocket.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum WsCommand {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/models/websocket.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct CoinbaseTickerUpdate {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub sequence: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub open_24h: Option<String>,    // "95393.55"
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 23 |     pub volume_24h: Option<String>,  // "11941.80121342"
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 24 |     pub low_24h: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 25 |     pub high_24h: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub volume_30d: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 27 |     pub best_bid: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 28 |     pub best_bid_size: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub best_ask: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 30 |     pub best_ask_size: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 31 |     pub side: Option<String>,        // "buy" or "sell" in coinbase feed
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 32 |     pub time: Option<String>,        // "2024-12-27T10:50:33.372945Z"
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |     pub trade_id: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 34 |     pub last_size: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinbaseTickerUpdate` 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 `mongo_state` is never read
[INFO] [stdout]   --> src/models/state.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AppState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout]  9 |     /// The MongoDB data-access object.
[INFO] [stdout] 10 |     pub mongo_state: Arc<MongoDBState>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_active_trade`, `update_active_trade`, `fetch_closed_trades`, `fetch_closed_trade`, `update_closed_trade`, and `delete_closed_trade` are never used
[INFO] [stdout]    --> src/api/trade.rs:51:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl MongoDBState {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub async fn fetch_active_trade(&self, id: ObjectId) -> Result<Option<ActiveTrade>, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub async fn update_active_trade(&self, id: ObjectId, update: Document) -> Result<UpdateResult, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub async fn fetch_closed_trades(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub async fn fetch_closed_trade(&self, id: ObjectId) -> Result<Option<ClosedTrade>, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub async fn update_closed_trade(&self, id: ObjectId, update: Document) -> Result<UpdateResult, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub async fn delete_closed_trade(&self, id: ObjectId) -> Result<DeleteResult, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TAKE_PROFIT_PERCENTAGE` is never used
[INFO] [stdout]   --> src/constants/trade.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub const DEFAULT_TAKE_PROFIT_PERCENTAGE: f64 = 5.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_STOP_LOSS_PERCENTAGE` is never used
[INFO] [stdout]   --> src/constants/trade.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const DEFAULT_STOP_LOSS_PERCENTAGE: f64 = 2.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TradeStatus` is never used
[INFO] [stdout]    --> src/models/trade.rs:144:10
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub enum TradeStatus {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WsCommand` is never used
[INFO] [stdout]  --> src/models/websocket.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum WsCommand {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/models/websocket.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct CoinbaseTickerUpdate {
[INFO] [stdout]    |            -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub sequence: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub open_24h: Option<String>,    // "95393.55"
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 23 |     pub volume_24h: Option<String>,  // "11941.80121342"
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 24 |     pub low_24h: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 25 |     pub high_24h: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 26 |     pub volume_30d: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 27 |     pub best_bid: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 28 |     pub best_bid_size: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 29 |     pub best_ask: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 30 |     pub best_ask_size: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 31 |     pub side: Option<String>,        // "buy" or "sell" in coinbase feed
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 32 |     pub time: Option<String>,        // "2024-12-27T10:50:33.372945Z"
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 33 |     pub trade_id: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 34 |     pub last_size: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CoinbaseTickerUpdate` 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 `mongo_state` is never read
[INFO] [stdout]   --> src/models/state.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct AppState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout]  9 |     /// The MongoDB data-access object.
[INFO] [stdout] 10 |     pub mongo_state: Arc<MongoDBState>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `fetch_active_trade`, `update_active_trade`, `fetch_closed_trades`, `fetch_closed_trade`, `update_closed_trade`, and `delete_closed_trade` are never used
[INFO] [stdout]    --> src/api/trade.rs:51:18
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl MongoDBState {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub async fn fetch_active_trade(&self, id: ObjectId) -> Result<Option<ActiveTrade>, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub async fn update_active_trade(&self, id: ObjectId, update: Document) -> Result<UpdateResult, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub async fn fetch_closed_trades(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub async fn fetch_closed_trade(&self, id: ObjectId) -> Result<Option<ClosedTrade>, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub async fn update_closed_trade(&self, id: ObjectId, update: Document) -> Result<UpdateResult, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub async fn delete_closed_trade(&self, id: ObjectId) -> Result<DeleteResult, mongodb::error::Error> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TAKE_PROFIT_PERCENTAGE` is never used
[INFO] [stdout]   --> src/constants/trade.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub const DEFAULT_TAKE_PROFIT_PERCENTAGE: f64 = 5.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_STOP_LOSS_PERCENTAGE` is never used
[INFO] [stdout]   --> src/constants/trade.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const DEFAULT_STOP_LOSS_PERCENTAGE: f64 = 2.0;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.64s
[INFO] running `Command { std: "docker" "inspect" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816", kill_on_drop: false }`
[INFO] [stdout] 3181cfda6f527a631c96da86127c7b9785a968013ecc971384d169730d505816
