[INFO] cloning repository https://github.com/oywt/usdt-premium-monitor-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oywt/usdt-premium-monitor-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foywt%2Fusdt-premium-monitor-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foywt%2Fusdt-premium-monitor-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 393a26a7d2343c1350cf2ca2d8ad2430c190ff48
[INFO] checking oywt/usdt-premium-monitor-rs against 22950ab9e29e11620a10905f027f141ea126966e for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foywt%2Fusdt-premium-monitor-rs" "/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/oywt/usdt-premium-monitor-rs
[INFO] finished tweaking git repo https://github.com/oywt/usdt-premium-monitor-rs
[INFO] tweaked toml for git repo https://github.com/oywt/usdt-premium-monitor-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oywt/usdt-premium-monitor-rs on toolchain 22950ab9e29e11620a10905f027f141ea126966e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/oywt/usdt-premium-monitor-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.dev.tracing-appender
[INFO] [stderr] warning: `monitor_usdt` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded psm v0.1.29
[INFO] [stderr]   Downloaded rust-ini v0.18.0
[INFO] [stderr]   Downloaded dlv-list v0.3.0
[INFO] [stderr]   Downloaded time-macros v0.2.26
[INFO] [stderr]   Downloaded pest_generator v2.8.5
[INFO] [stderr]   Downloaded ordered-multimap v0.4.3
[INFO] [stderr]   Downloaded pest_derive v2.8.5
[INFO] [stderr]   Downloaded ron v0.7.1
[INFO] [stderr]   Downloaded config v0.13.4
[INFO] [stderr]   Downloaded time v0.3.46
[INFO] [stderr]   Downloaded pest_meta v2.8.5
[INFO] [stderr]   Downloaded pest v2.8.5
[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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5
[INFO] running `Command { std: "docker" "start" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5", 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" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5" "/opt/rustwide/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5", 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" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5" "/opt/rustwide/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.dev.tracing-appender
[INFO] [stderr] warning: `monitor_usdt` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking bytes v1.11.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling zerocopy v0.8.37
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking dlv-list v0.3.0
[INFO] [stderr]     Checking compression-core v0.4.31
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]     Checking brotli v8.0.2
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking num-conv v0.2.0
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking time-core v0.1.8
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking email-encoding v0.4.1
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking hostname v0.4.2
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking time v0.3.46
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking quoted_printable v0.5.1
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking email_address v0.2.9
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]    Compiling ar_archive_writer v0.5.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]     Checking compression-codecs v0.4.36
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling psm v0.1.29
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking tracing-appender v0.2.4
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking ron v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking async-compression v0.4.37
[INFO] [stderr]     Checking lettre v0.11.19
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking monitor_usdt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/sources/forex.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Context, Result};
[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: `Context`
[INFO] [stdout]  --> src/sources/forex.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anyhow::{Context, Result};
[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: `std::path::Path`
[INFO] [stdout]  --> src/logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, and `warn`
[INFO] [stdout]  --> src/token_refresher.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing::{info, warn, error};
[INFO] [stdout]   |               ^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, and `warn`
[INFO] [stdout]  --> src/token_refresher.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tracing::{info, warn, error};
[INFO] [stdout]   |               ^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_manager`
[INFO] [stdout]    --> src/main.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     order_manager: &OrderManager,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_manager`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_order_success` is never used
[INFO] [stdout]   --> src/notifier.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Notifier {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn send_order_success(&self, source: &str, price: f64, amount_cny: &str) -> Result<()> {
[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 `ad_id`, `min_amount`, and `max_amount` are never read
[INFO] [stdout]   --> src/sources/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Opportunity {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     pub price: f64,
[INFO] [stdout] 13 |     pub ad_id: String,         // 关键：广告ID，下单必须
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 14 |     pub merchant_name: String, // 商家名字，打日志用
[INFO] [stdout] 15 |     pub min_amount: String,    // 最小限额
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 16 |     pub max_amount: String,    // 最大限额
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opportunity` 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 `client` and `config` are never read
[INFO] [stdout]  --> src/ordering.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct OrderManager {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 8 |     client: Client,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 9 |     config: AppConfig,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_place_okx_order` is never used
[INFO] [stdout]   --> src/ordering.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl OrderManager {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn try_place_okx_order(&self, ad_id: &str, price: f64, amount_cny: &str) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refresh_token_by_cookie` is never used
[INFO] [stdout]  --> src/token_refresher.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub async fn refresh_token_by_cookie(cookie: &str) -> Result<String> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nickName` should have a snake case name
[INFO] [stdout]   --> src/sources/okx.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     nickName: String,       // ✅ 获取商家名
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `nick_name`
[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 `quoteMinAmountPerOrder` should have a snake case name
[INFO] [stdout]   --> src/sources/okx.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     quoteMinAmountPerOrder: String, // ✅ 获取限额
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_min_amount_per_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `quoteMaxAmountPerOrder` should have a snake case name
[INFO] [stdout]   --> src/sources/okx.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     quoteMaxAmountPerOrder: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_max_amount_per_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `advNo` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     advNo: String, // ✅ 获取广告号 (虽然目前不用)
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `adv_no`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `minSingleTransAmount` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     minSingleTransAmount: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_single_trans_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `maxSingleTransAmount` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     maxSingleTransAmount: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_single_trans_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nickName` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     nickName: String,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `nick_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order_manager`
[INFO] [stdout]    --> src/main.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     order_manager: &OrderManager,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_manager`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `send_order_success` is never used
[INFO] [stdout]   --> src/notifier.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Notifier {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn send_order_success(&self, source: &str, price: f64, amount_cny: &str) -> Result<()> {
[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 `ad_id`, `min_amount`, and `max_amount` are never read
[INFO] [stdout]   --> src/sources/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Opportunity {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     pub price: f64,
[INFO] [stdout] 13 |     pub ad_id: String,         // 关键：广告ID，下单必须
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 14 |     pub merchant_name: String, // 商家名字，打日志用
[INFO] [stdout] 15 |     pub min_amount: String,    // 最小限额
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 16 |     pub max_amount: String,    // 最大限额
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opportunity` 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 `client` and `config` are never read
[INFO] [stdout]  --> src/ordering.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct OrderManager {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 8 |     client: Client,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 9 |     config: AppConfig,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `try_place_okx_order` is never used
[INFO] [stdout]   --> src/ordering.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl OrderManager {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub async fn try_place_okx_order(&self, ad_id: &str, price: f64, amount_cny: &str) -> Result<bool> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nickName` should have a snake case name
[INFO] [stdout]   --> src/sources/okx.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     nickName: String,       // ✅ 获取商家名
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `nick_name`
[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 `quoteMinAmountPerOrder` should have a snake case name
[INFO] [stdout]   --> src/sources/okx.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     quoteMinAmountPerOrder: String, // ✅ 获取限额
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_min_amount_per_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `quoteMaxAmountPerOrder` should have a snake case name
[INFO] [stdout]   --> src/sources/okx.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     quoteMaxAmountPerOrder: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_max_amount_per_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `advNo` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     advNo: String, // ✅ 获取广告号 (虽然目前不用)
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `adv_no`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `minSingleTransAmount` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     minSingleTransAmount: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_single_trans_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `maxSingleTransAmount` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     maxSingleTransAmount: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_single_trans_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `nickName` should have a snake case name
[INFO] [stdout]   --> src/sources/binance.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     nickName: String,
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `nick_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized] target(s) in 53.16s
[INFO] running `Command { std: "docker" "inspect" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5", kill_on_drop: false }`
[INFO] [stdout] 41c46799c2f88873285db31909f8f378adc2d4467f69d5fa4365ee97b6da29e5
