[INFO] cloning repository https://github.com/jkl221087/TRADINGBOT
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkl221087/TRADINGBOT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkl221087%2FTRADINGBOT", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkl221087%2FTRADINGBOT'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a9a41f0e232425601498f243c3ae830b2388f5d2
[INFO] checking jkl221087/TRADINGBOT against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkl221087%2FTRADINGBOT" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jkl221087/TRADINGBOT
[INFO] finished tweaking git repo https://github.com/jkl221087/TRADINGBOT
[INFO] tweaked toml for git repo https://github.com/jkl221087/TRADINGBOT written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkl221087/TRADINGBOT on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jkl221087/TRADINGBOT 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.3
[INFO] [stderr]   Downloaded security-framework-sys v2.12.1
[INFO] [stderr]   Downloaded fastrand v2.2.0
[INFO] [stderr]   Downloaded serde_derive v1.0.215
[INFO] [stderr]   Downloaded serde v1.0.215
[INFO] [stderr]   Downloaded hyper v0.14.31
[INFO] [stderr]   Downloaded rustix v0.38.41
[INFO] [stderr]   Downloaded libc v0.2.167
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6117e01f743b409781c84661f58e1a5d8f7e0d256606f683fae249c488ab9020
[INFO] running `Command { std: "docker" "start" "-a" "6117e01f743b409781c84661f58e1a5d8f7e0d256606f683fae249c488ab9020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6117e01f743b409781c84661f58e1a5d8f7e0d256606f683fae249c488ab9020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6117e01f743b409781c84661f58e1a5d8f7e0d256606f683fae249c488ab9020", kill_on_drop: false }`
[INFO] [stdout] 6117e01f743b409781c84661f58e1a5d8f7e0d256606f683fae249c488ab9020
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a30dcb80520bc8332b027941a0bb70d2a6dad3cbf680a03ecb6deff48dcd9968
[INFO] running `Command { std: "docker" "start" "-a" "a30dcb80520bc8332b027941a0bb70d2a6dad3cbf680a03ecb6deff48dcd9968", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking litemap v0.7.4
[INFO] [stderr]    Compiling cc v1.2.3
[INFO] [stderr]     Checking bytes v1.9.0
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking ipnet v2.10.1
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper v0.14.31
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking crypto_trading_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `NON_ALPHANUMERIC` and `utf8_percent_encode`
[INFO] [stdout]   --> src/exchange/bingx.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use percent_encoding::{utf8_percent_encode, NON_ALPHANUMERIC};
[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: `Duration`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{Duration, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Interval`, `OrderRequest`, and `OrderType`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use types::{Interval, OrderType, OrderSide, OrderRequest, CurrencyConfig};
[INFO] [stdout]    |             ^^^^^^^^  ^^^^^^^^^             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration as TokioDuration` and `sleep`
[INFO] [stdout]   --> src/main.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::time::{sleep, Duration as TokioDuration};
[INFO] [stdout]    |                   ^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NON_ALPHANUMERIC` and `utf8_percent_encode`
[INFO] [stdout]   --> src/exchange/bingx.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use percent_encoding::{utf8_percent_encode, NON_ALPHANUMERIC};
[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: `Duration`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{Duration, TimeZone, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Interval`, `OrderRequest`, and `OrderType`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use types::{Interval, OrderType, OrderSide, OrderRequest, CurrencyConfig};
[INFO] [stdout]    |             ^^^^^^^^  ^^^^^^^^^             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration as TokioDuration` and `sleep`
[INFO] [stdout]   --> src/main.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::time::{sleep, Duration as TokioDuration};
[INFO] [stdout]    |                   ^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde_json;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/config.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Config {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `open_price`, `open_time`, and `close_time` are never read
[INFO] [stdout]   --> src/exchange/bingx.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct TickerData {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub open_price: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 79 |     #[serde(rename = "openTime")]
[INFO] [stdout] 80 |     pub open_time: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 81 |     #[serde(rename = "closeTime")]
[INFO] [stdout] 82 |     pub close_time: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TickerData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign` is never used
[INFO] [stdout]    --> src/exchange/bingx.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl BingXClient {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn sign(&self, params: &mut BTreeMap<String, String>) -> String {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `timestamp` are never read
[INFO] [stdout]    --> src/exchange/bingx.rs:295:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |         struct PriceData {
[INFO] [stdout]     |                --------- fields in this struct
[INFO] [stdout] 295 |             symbol: String,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |             timestamp: i64,
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PriceData` 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 `volume` is never read
[INFO] [stdout]   --> src/strategy/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MarketTicker {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub volume: f64,                // 24小时成交量
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketTicker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]   --> src/types.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trade` is never constructed
[INFO] [stdout]   --> src/types.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Trade {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Limit`, `StopMarket`, and `TakeProfitMarket` are never constructed
[INFO] [stdout]   --> src/types.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum OrderType {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 46 |     #[serde(rename = "LIMIT")]
[INFO] [stdout] 47 |     Limit,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     StopMarket,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 52 |     #[serde(rename = "TAKE_PROFIT_MARKET")]
[INFO] [stdout] 53 |     TakeProfitMarket,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderType` 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 `PositionSide` is never used
[INFO] [stdout]   --> src/types.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub enum PositionSide {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/types.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct OrderData {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub order_id_2: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 111 |     pub symbol: String,
[INFO] [stdout] 112 |     pub position_side: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub order_type: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 116 |     pub price: f64,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 117 |     pub quantity: f64,
[INFO] [stdout] 118 |     pub stop_price: f64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 119 |     pub working_type: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 120 |     #[serde(rename = "clientOrderID")]
[INFO] [stdout] 121 |     pub client_order_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 122 |     pub time_in_force: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 123 |     pub price_rate: f64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 124 |     pub stop_loss: String,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 125 |     pub take_profit: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 126 |     pub reduce_only: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 127 |     pub activation_price: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 128 |     pub close_position: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 129 |     pub stop_guaranteed: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderData` 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 `base_currency` and `quote_currency` are never read
[INFO] [stdout]    --> src/types.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct CurrencyConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 141 |     pub symbol: String,
[INFO] [stdout] 142 |     pub base_currency: String,    // 基础货币 (e.g., "BTC")
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 143 |     pub quote_currency: String,   // 计价货币 (e.g., "USDT")
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CurrencyConfig` 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: variant `Error` is never constructed
[INFO] [stdout]    --> src/types.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub enum TradingStatus {
[INFO] [stdout]     |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 180 |     Error(String),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TradingStatus` 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 `symbol` is never read
[INFO] [stdout]    --> src/types.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub struct Position {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 195 |     pub symbol: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Position` 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 `remove_currency` and `get_currency_status` are never used
[INFO] [stdout]   --> src/trading/mod.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl TradingManager {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn remove_currency(&self, symbol: &str) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub async fn get_currency_status(&self, symbol: &str) -> Option<CurrencyStatus> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/config.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl Config {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new() -> Self {
[INFO] [stdout]   |            ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `open_price`, `open_time`, and `close_time` are never read
[INFO] [stdout]   --> src/exchange/bingx.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct TickerData {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub open_price: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 79 |     #[serde(rename = "openTime")]
[INFO] [stdout] 80 |     pub open_time: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 81 |     #[serde(rename = "closeTime")]
[INFO] [stdout] 82 |     pub close_time: i64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TickerData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sign` is never used
[INFO] [stdout]    --> src/exchange/bingx.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | impl BingXClient {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn sign(&self, params: &mut BTreeMap<String, String>) -> String {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol` and `timestamp` are never read
[INFO] [stdout]    --> src/exchange/bingx.rs:295:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |         struct PriceData {
[INFO] [stdout]     |                --------- fields in this struct
[INFO] [stdout] 295 |             symbol: String,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |             timestamp: i64,
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PriceData` 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 `volume` is never read
[INFO] [stdout]   --> src/strategy/mod.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MarketTicker {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub volume: f64,                // 24小时成交量
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MarketTicker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]   --> src/types.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct OrderBook {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trade` is never constructed
[INFO] [stdout]   --> src/types.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Trade {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Limit`, `StopMarket`, and `TakeProfitMarket` are never constructed
[INFO] [stdout]   --> src/types.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum OrderType {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 46 |     #[serde(rename = "LIMIT")]
[INFO] [stdout] 47 |     Limit,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     StopMarket,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 52 |     #[serde(rename = "TAKE_PROFIT_MARKET")]
[INFO] [stdout] 53 |     TakeProfitMarket,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderType` 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 `PositionSide` is never used
[INFO] [stdout]   --> src/types.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub enum PositionSide {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/types.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct OrderData {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub order_id_2: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 111 |     pub symbol: String,
[INFO] [stdout] 112 |     pub position_side: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub order_type: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 116 |     pub price: f64,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 117 |     pub quantity: f64,
[INFO] [stdout] 118 |     pub stop_price: f64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 119 |     pub working_type: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 120 |     #[serde(rename = "clientOrderID")]
[INFO] [stdout] 121 |     pub client_order_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 122 |     pub time_in_force: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 123 |     pub price_rate: f64,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 124 |     pub stop_loss: String,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 125 |     pub take_profit: String,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 126 |     pub reduce_only: bool,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 127 |     pub activation_price: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 128 |     pub close_position: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 129 |     pub stop_guaranteed: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `OrderData` 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 `base_currency` and `quote_currency` are never read
[INFO] [stdout]    --> src/types.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct CurrencyConfig {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 141 |     pub symbol: String,
[INFO] [stdout] 142 |     pub base_currency: String,    // 基础货币 (e.g., "BTC")
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 143 |     pub quote_currency: String,   // 计价货币 (e.g., "USDT")
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CurrencyConfig` 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: variant `Error` is never constructed
[INFO] [stdout]    --> src/types.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub enum TradingStatus {
[INFO] [stdout]     |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 180 |     Error(String),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TradingStatus` 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 `symbol` is never read
[INFO] [stdout]    --> src/types.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub struct Position {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 195 |     pub symbol: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Position` 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 `remove_currency` and `get_currency_status` are never used
[INFO] [stdout]   --> src/trading/mod.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl TradingManager {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn remove_currency(&self, symbol: &str) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub async fn get_currency_status(&self, symbol: &str) -> Option<CurrencyStatus> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.56s
[INFO] running `Command { std: "docker" "inspect" "a30dcb80520bc8332b027941a0bb70d2a6dad3cbf680a03ecb6deff48dcd9968", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a30dcb80520bc8332b027941a0bb70d2a6dad3cbf680a03ecb6deff48dcd9968", kill_on_drop: false }`
[INFO] [stdout] a30dcb80520bc8332b027941a0bb70d2a6dad3cbf680a03ecb6deff48dcd9968
