[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] testing oywt/usdt-premium-monitor-rs against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foywt%2Fusdt-premium-monitor-rs" "/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/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oywt/usdt-premium-monitor-rs on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.tracing-appender
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hostname v0.4.2
[INFO] [stderr]   Downloaded config v0.13.4
[INFO] [stderr]   Downloaded pest_meta v2.8.5
[INFO] [stderr]   Downloaded stacker v0.1.22
[INFO] [stderr]   Downloaded email-encoding v0.4.1
[INFO] [stderr]   Downloaded pest_generator v2.8.5
[INFO] [stderr]   Downloaded pest_derive v2.8.5
[INFO] [stderr]   Downloaded pest v2.8.5
[INFO] [stderr]   Downloaded psm v0.1.29
[INFO] [stderr]   Downloaded ron v0.7.1
[INFO] [stderr]   Downloaded chumsky v0.9.3
[INFO] [stderr]   Downloaded lettre v0.11.19
[INFO] [stderr]   Downloaded quoted_printable v0.5.1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d9da420b3f995fa9a892dc0b1088ebed9eed2e14d3a900624d93547f7cfca0b9
[INFO] running `Command { std: "docker" "start" "-a" "d9da420b3f995fa9a892dc0b1088ebed9eed2e14d3a900624d93547f7cfca0b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9da420b3f995fa9a892dc0b1088ebed9eed2e14d3a900624d93547f7cfca0b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9da420b3f995fa9a892dc0b1088ebed9eed2e14d3a900624d93547f7cfca0b9", kill_on_drop: false }`
[INFO] [stdout] d9da420b3f995fa9a892dc0b1088ebed9eed2e14d3a900624d93547f7cfca0b9
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e47199b725ad05f994db6419cff316b7500ce81fb458573e42454bf6142acefa
[INFO] running `Command { std: "docker" "start" "-a" "e47199b725ad05f994db6419cff316b7500ce81fb458573e42454bf6142acefa", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.tracing-appender
[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]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling 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]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.37
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling flate2 v1.1.8
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling stacker v0.1.22
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling compression-core v0.4.31
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling email-encoding v0.4.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling time v0.3.46
[INFO] [stderr]    Compiling hostname v0.4.2
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling email_address v0.2.9
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling ar_archive_writer v0.5.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling compression-codecs v0.4.36
[INFO] [stderr]    Compiling psm v0.1.29
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]    Compiling chumsky v0.9.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.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 pest_derive v2.8.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling config v0.13.4
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling async-compression v0.4.37
[INFO] [stderr]    Compiling lettre v0.11.19
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling 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: `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] [stderr]     Finished `dev` profile [unoptimized] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "e47199b725ad05f994db6419cff316b7500ce81fb458573e42454bf6142acefa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e47199b725ad05f994db6419cff316b7500ce81fb458573e42454bf6142acefa", kill_on_drop: false }`
[INFO] [stdout] e47199b725ad05f994db6419cff316b7500ce81fb458573e42454bf6142acefa
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6005b5087e4c2d9b09777a22b7af39de4176c7f9b5d7c25a09b1285bf6d68013
[INFO] running `Command { std: "docker" "start" "-a" "6005b5087e4c2d9b09777a22b7af39de4176c7f9b5d7c25a09b1285bf6d68013", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.tracing-appender
[INFO] [stderr]    Compiling 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: `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: 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 `test` profile [unoptimized] target(s) in 2.82s
[INFO] running `Command { std: "docker" "inspect" "6005b5087e4c2d9b09777a22b7af39de4176c7f9b5d7c25a09b1285bf6d68013", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6005b5087e4c2d9b09777a22b7af39de4176c7f9b5d7c25a09b1285bf6d68013", kill_on_drop: false }`
[INFO] [stdout] 6005b5087e4c2d9b09777a22b7af39de4176c7f9b5d7c25a09b1285bf6d68013
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d0e0088b24218584de0e3e609055d74cb826c5922f84539fa99ba2be5ad865d5
[INFO] running `Command { std: "docker" "start" "-a" "d0e0088b24218584de0e3e609055d74cb826c5922f84539fa99ba2be5ad865d5", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.tracing-appender
[INFO] [stderr] warning: unused import: `Context`
[INFO] [stderr]  --> src/sources/forex.rs:5:14
[INFO] [stderr]   |
[INFO] [stderr] 5 | use anyhow::{Context, Result};
[INFO] [stderr]   |              ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> src/logger.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `error`, `info`, and `warn`
[INFO] [stderr]  --> src/token_refresher.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use tracing::{info, warn, error};
[INFO] [stderr]   |               ^^^^  ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `order_manager`
[INFO] [stderr]    --> src/main.rs:109:5
[INFO] [stderr]     |
[INFO] [stderr] 109 |     order_manager: &OrderManager,
[INFO] [stderr]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_manager`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `send_order_success` is never used
[INFO] [stderr]   --> src/notifier.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl Notifier {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub fn send_order_success(&self, source: &str, price: f64, amount_cny: &str) -> Result<()> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ad_id`, `min_amount`, and `max_amount` are never read
[INFO] [stderr]   --> src/sources/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct Opportunity {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 12 |     pub price: f64,
[INFO] [stderr] 13 |     pub ad_id: String,         // 关键：广告ID，下单必须
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 14 |     pub merchant_name: String, // 商家名字，打日志用
[INFO] [stderr] 15 |     pub min_amount: String,    // 最小限额
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 16 |     pub max_amount: String,    // 最大限额
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opportunity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `client` and `config` are never read
[INFO] [stderr]  --> src/ordering.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct OrderManager {
[INFO] [stderr]   |            ------------ fields in this struct
[INFO] [stderr] 8 |     client: Client,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 9 |     config: AppConfig,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `try_place_okx_order` is never used
[INFO] [stderr]   --> src/ordering.rs:51:18
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl OrderManager {
[INFO] [stderr]    | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 51 |     pub async fn try_place_okx_order(&self, ad_id: &str, price: f64, amount_cny: &str) -> Result<bool> {
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `nickName` should have a snake case name
[INFO] [stderr]   --> src/sources/okx.rs:60:5
[INFO] [stderr]    |
[INFO] [stderr] 60 |     nickName: String,       // ✅ 获取商家名
[INFO] [stderr]    |     ^^^^^^^^ help: convert the identifier to snake case: `nick_name`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `quoteMinAmountPerOrder` should have a snake case name
[INFO] [stderr]   --> src/sources/okx.rs:61:5
[INFO] [stderr]    |
[INFO] [stderr] 61 |     quoteMinAmountPerOrder: String, // ✅ 获取限额
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_min_amount_per_order`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `quoteMaxAmountPerOrder` should have a snake case name
[INFO] [stderr]   --> src/sources/okx.rs:62:5
[INFO] [stderr]    |
[INFO] [stderr] 62 |     quoteMaxAmountPerOrder: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `quote_max_amount_per_order`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `advNo` should have a snake case name
[INFO] [stderr]   --> src/sources/binance.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 42 |     advNo: String, // ✅ 获取广告号 (虽然目前不用)
[INFO] [stderr]    |     ^^^^^ help: convert the identifier to snake case: `adv_no`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `minSingleTransAmount` should have a snake case name
[INFO] [stderr]   --> src/sources/binance.rs:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     minSingleTransAmount: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_single_trans_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `maxSingleTransAmount` should have a snake case name
[INFO] [stderr]   --> src/sources/binance.rs:44:5
[INFO] [stderr]    |
[INFO] [stderr] 44 |     maxSingleTransAmount: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_single_trans_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: structure field `nickName` should have a snake case name
[INFO] [stderr]   --> src/sources/binance.rs:49:5
[INFO] [stderr]    |
[INFO] [stderr] 49 |     nickName: String,
[INFO] [stderr]    |     ^^^^^^^^ help: convert the identifier to snake case: `nick_name`
[INFO] [stderr] 
[INFO] [stderr] warning: `monitor_usdt` (bin "monitor_usdt" test) generated 15 warnings (run `cargo fix --bin "monitor_usdt" -p monitor_usdt --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monitor_usdt-27d0582571d5774f)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test token_refresher::tests::test_refresh_token_directly ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- token_refresher::tests::test_refresh_token_directly stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'token_refresher::tests::test_refresh_token_directly' (17) panicked at src/token_refresher.rs:91:45:
[INFO] [stdout] ❌ 必须在 .env 里配置 OKX_COOKIE 才能运行此测试: NotPresent
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5b2cb65a566a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5b2cb65bb88a - core[786f478f706679df]::fmt::write
[INFO] [stdout]    2:     0x5b2cb65aa9c2 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5b2cb658341f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5b2cb659d609 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]    5:     0x5b2cb60052ec - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5b2cb659d882 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5b2cb65834d8 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5b2cb657a659 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5b2cb658453d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]   10:     0x5b2cb65bc07c - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5b2cb65bbdc2 - core[786f478f706679df]::result::unwrap_failed
[INFO] [stdout]   12:     0x5b2cb5fe65c4 - <core[786f478f706679df]::result::Result<alloc[64763625b5a07cdb]::string::String, std[f92b4c606f291077]::env::VarError>>::expect
[INFO] [stdout]   13:     0x5b2cb5fde385 - monitor_usdt[39ecbea053899ccc]::token_refresher::tests::test_refresh_token_directly::{closure#0}
[INFO] [stdout]   14:     0x5b2cb5fe72b4 - <core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>> as core[786f478f706679df]::future::future::Future>::poll
[INFO] [stdout]   15:     0x5b2cb5fe72f6 - <core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>> as core[786f478f706679df]::future::future::Future>::poll
[INFO] [stdout]   16:     0x5b2cb5fe62a6 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]   17:     0x5b2cb5fe61f4 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]   18:     0x5b2cb5fe1180 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Context>::enter::<core[786f478f706679df]::task::poll::Poll<()>, <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   19:     0x5b2cb5fe4a1d - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]   20:     0x5b2cb5fe3d74 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}
[INFO] [stdout]   21:     0x5b2cb5fd90f1 - <tokio[7a34b2b5523fbb1c]::runtime::context::scoped::Scoped<tokio[7a34b2b5523fbb1c]::runtime::scheduler::Context>>::set::<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}, (alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>)>
[INFO] [stdout]   22:     0x5b2cb5fdb4e4 - tokio[7a34b2b5523fbb1c]::runtime::context::set_scheduler::<(alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]   23:     0x5b2cb5fe7c7a - <std[f92b4c606f291077]::thread::local::LocalKey<tokio[7a34b2b5523fbb1c]::runtime::context::Context>>::try_with::<tokio[7a34b2b5523fbb1c]::runtime::context::set_scheduler<(alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>)>
[INFO] [stdout]   24:     0x5b2cb5fe78a9 - <std[f92b4c606f291077]::thread::local::LocalKey<tokio[7a34b2b5523fbb1c]::runtime::context::Context>>::with::<tokio[7a34b2b5523fbb1c]::runtime::context::set_scheduler<(alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>)>
[INFO] [stdout]   25:     0x5b2cb5fda5bb - tokio[7a34b2b5523fbb1c]::runtime::context::set_scheduler::<(alloc[64763625b5a07cdb]::boxed::Box<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>
[INFO] [stdout]   26:     0x5b2cb5fe2304 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>
[INFO] [stdout]   27:     0x5b2cb5fe25d2 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   28:     0x5b2cb5fe3910 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stderr] error: test failed, to rerun pass `--bin monitor_usdt`
[INFO] [stdout]   29:     0x5b2cb5fdab6b - tokio[7a34b2b5523fbb1c]::runtime::context::runtime::enter_runtime::<<tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   30:     0x5b2cb5fe0b18 - <tokio[7a34b2b5523fbb1c]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>
[INFO] [stdout]   31:     0x5b2cb5fe0825 - <tokio[7a34b2b5523fbb1c]::runtime::runtime::Runtime>::block_on_inner::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>
[INFO] [stdout]   32:     0x5b2cb5fe098b - <tokio[7a34b2b5523fbb1c]::runtime::runtime::Runtime>::block_on::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>
[INFO] [stdout]   33:     0x5b2cb5fdf429 - monitor_usdt[39ecbea053899ccc]::token_refresher::tests::test_refresh_token_directly
[INFO] [stdout]   34:     0x5b2cb5fde243 - monitor_usdt[39ecbea053899ccc]::token_refresher::tests::test_refresh_token_directly::{closure#0}
[INFO] [stdout]   35:     0x5b2cb5fea316 - <monitor_usdt[39ecbea053899ccc]::token_refresher::tests::test_refresh_token_directly::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   36:     0x5b2cb5ff93cb - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]   37:     0x5b2cb6005dbb - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]   38:     0x5b2cb60014d4 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]   39:     0x5b2cb60089c2 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   40:     0x5b2cb65a4f3f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   41:     0x7d78a2c1faa4 - <unknown>
[INFO] [stdout]   42:     0x7d78a2caca64 - clone
[INFO] [stdout]   43:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     token_refresher::tests::test_refresh_token_directly
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d0e0088b24218584de0e3e609055d74cb826c5922f84539fa99ba2be5ad865d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0e0088b24218584de0e3e609055d74cb826c5922f84539fa99ba2be5ad865d5", kill_on_drop: false }`
[INFO] [stdout] d0e0088b24218584de0e3e609055d74cb826c5922f84539fa99ba2be5ad865d5
