[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 try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foywt%2Fusdt-premium-monitor-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/oywt/usdt-premium-monitor-rs on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: profile.dev.tracing-appender
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59f8aee198f0bba040cfc2b07003067f7cea1d1a4ff08f9a0c0bcb75f5a8966f
[INFO] running `Command { std: "docker" "start" "-a" "59f8aee198f0bba040cfc2b07003067f7cea1d1a4ff08f9a0c0bcb75f5a8966f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59f8aee198f0bba040cfc2b07003067f7cea1d1a4ff08f9a0c0bcb75f5a8966f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59f8aee198f0bba040cfc2b07003067f7cea1d1a4ff08f9a0c0bcb75f5a8966f", kill_on_drop: false }`
[INFO] [stdout] 59f8aee198f0bba040cfc2b07003067f7cea1d1a4ff08f9a0c0bcb75f5a8966f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2e7a261baa67e48d73b7f630bcb4d5b8dc62d2325d52c3d1c8133f4288f3737
[INFO] running `Command { std: "docker" "start" "-a" "e2e7a261baa67e48d73b7f630bcb4d5b8dc62d2325d52c3d1c8133f4288f3737", 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 unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.44
[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 bytes v1.11.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.37
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling pest v2.8.5
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling zmij v1.0.19
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[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 want v0.3.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[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 flate2 v1.1.8
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling compression-core v0.4.31
[INFO] [stderr]    Compiling pest_meta v2.8.5
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[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 brotli v8.0.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling email-encoding v0.4.1
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling time v0.3.46
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[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 pathdiff v0.2.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling email_address v0.2.9
[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 synstructure v0.13.2
[INFO] [stderr]    Compiling pest_generator v2.8.5
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling psm v0.1.29
[INFO] [stderr]    Compiling matchers v0.2.0
[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 zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling compression-codecs v0.4.36
[INFO] [stderr]    Compiling pest_derive v2.8.5
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling chumsky v0.9.3
[INFO] [stderr]    Compiling tracing v0.1.44
[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-subscriber v0.3.22
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[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-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[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 10s
[INFO] running `Command { std: "docker" "inspect" "e2e7a261baa67e48d73b7f630bcb4d5b8dc62d2325d52c3d1c8133f4288f3737", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2e7a261baa67e48d73b7f630bcb4d5b8dc62d2325d52c3d1c8133f4288f3737", kill_on_drop: false }`
[INFO] [stdout] e2e7a261baa67e48d73b7f630bcb4d5b8dc62d2325d52c3d1c8133f4288f3737
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a26a84f5baca4744562acc119adc47f95802e21cbb8a871c407c38859991cef2
[INFO] running `Command { std: "docker" "start" "-a" "a26a84f5baca4744562acc119adc47f95802e21cbb8a871c407c38859991cef2", 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.39s
[INFO] running `Command { std: "docker" "inspect" "a26a84f5baca4744562acc119adc47f95802e21cbb8a871c407c38859991cef2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a26a84f5baca4744562acc119adc47f95802e21cbb8a871c407c38859991cef2", kill_on_drop: false }`
[INFO] [stdout] a26a84f5baca4744562acc119adc47f95802e21cbb8a871c407c38859991cef2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 41d03d23af031d709e3966ab5d0cb009ad9dcb2d442eea1daf809e7e376b3fba
[INFO] running `Command { std: "docker" "start" "-a" "41d03d23af031d709e3966ab5d0cb009ad9dcb2d442eea1daf809e7e376b3fba", 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.33s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monitor_usdt-82af24efb48cdb4c)
[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:     0x5f41b9785f5a - <<std[ec419fa8110287d5]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[35159d6ffb30e017]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5f41b979c3da - core[35159d6ffb30e017]::fmt::write
[INFO] [stdout]    2:     0x5f41b978b372 - <alloc[a8a7aba520129d98]::vec::Vec<u8> as std[ec419fa8110287d5]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x5f41b9763bcf - std[ec419fa8110287d5]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5f41b977dec9 - std[ec419fa8110287d5]::panicking::default_hook
[INFO] [stdout]    5:     0x5f41b91e60ac - test[a8007afcd3effadc]::test_main_inner::<test[a8007afcd3effadc]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5f41b977e142 - std[ec419fa8110287d5]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5f41b9763c88 - std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5f41b975ae09 - std[ec419fa8110287d5]::sys::backtrace::__rust_end_short_backtrace::<std[ec419fa8110287d5]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5f41b9764ced - __rustc[cfb3622dd870db93]::rust_begin_unwind
[INFO] [stdout]   10:     0x5f41b979cbcc - core[35159d6ffb30e017]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5f41b979c912 - core[35159d6ffb30e017]::result::unwrap_failed
[INFO] [stdout]   12:     0x5f41b91c84d4 - <core[35159d6ffb30e017]::result::Result<alloc[a8a7aba520129d98]::string::String, std[ec419fa8110287d5]::env::VarError>>::expect
[INFO] [stdout]   13:     0x5f41b91c7c75 - monitor_usdt[92a5d117b143c4ed]::token_refresher::tests::test_refresh_token_directly::{closure#0}
[INFO] [stdout]   14:     0x5f41b91c9c44 - <core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>> as core[35159d6ffb30e017]::future::future::Future>::poll
[INFO] [stdout]   15:     0x5f41b91c9c86 - <core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>> as core[35159d6ffb30e017]::future::future::Future>::poll
[INFO] [stdout]   16:     0x5f41b91bfee6 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]   17:     0x5f41b91bfe34 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]   18:     0x5f41b91b9320 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Context>::enter::<core[35159d6ffb30e017]::task::poll::Poll<()>, <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]   19:     0x5f41b91bec3d - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]   20:     0x5f41b91bdf94 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}
[INFO] [stdout]   21:     0x5f41b91c38d1 - <tokio[f21eb9ed07a2a02]::runtime::context::scoped::Scoped<tokio[f21eb9ed07a2a02]::runtime::scheduler::Context>>::set::<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}, (alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>)>
[INFO] [stdout]   22:     0x5f41b91c6184 - tokio[f21eb9ed07a2a02]::runtime::context::set_scheduler::<(alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]   23:     0x5f41b91ba1ba - <std[ec419fa8110287d5]::thread::local::LocalKey<tokio[f21eb9ed07a2a02]::runtime::context::Context>>::try_with::<tokio[f21eb9ed07a2a02]::runtime::context::set_scheduler<(alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>)>
[INFO] [stdout]   24:     0x5f41b91b9de9 - <std[ec419fa8110287d5]::thread::local::LocalKey<tokio[f21eb9ed07a2a02]::runtime::context::Context>>::with::<tokio[f21eb9ed07a2a02]::runtime::context::set_scheduler<(alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>)>
[INFO] [stdout]   25:     0x5f41b91c59ab - tokio[f21eb9ed07a2a02]::runtime::context::set_scheduler::<(alloc[a8a7aba520129d98]::boxed::Box<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::Core>, core[35159d6ffb30e017]::option::Option<()>), <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>::{closure#0}>
[INFO] [stdout]   26:     0x5f41b91bb244 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>::{closure#0}, core[35159d6ffb30e017]::option::Option<()>>
[INFO] [stdout]   27:     0x5f41b91bb512 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>>
[INFO] [stdout]   28:     0x5f41b91bdba0 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stdout]   29:     0x5f41b91bd08b - tokio[f21eb9ed07a2a02]::runtime::context::runtime::enter_runtime::<<tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]   30:     0x5f41b91b8ea8 - <tokio[f21eb9ed07a2a02]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>
[INFO] [stdout]   31:     0x5f41b91c34a5 - <tokio[f21eb9ed07a2a02]::runtime::runtime::Runtime>::block_on_inner::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>
[INFO] [stdout]   32:     0x5f41b91c360b - <tokio[f21eb9ed07a2a02]::runtime::runtime::Runtime>::block_on::<core[35159d6ffb30e017]::pin::Pin<&mut dyn core[35159d6ffb30e017]::future::future::Future<Output = ()>>>
[INFO] [stdout]   33:     0x5f41b91c92e9 - monitor_usdt[92a5d117b143c4ed]::token_refresher::tests::test_refresh_token_directly
[INFO] [stdout]   34:     0x5f41b91c7b33 - monitor_usdt[92a5d117b143c4ed]::token_refresher::tests::test_refresh_token_directly::{closure#0}
[INFO] [stdout]   35:     0x5f41b91c2da6 - <monitor_usdt[92a5d117b143c4ed]::token_refresher::tests::test_refresh_token_directly::{closure#0} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   36:     0x5f41b91d938b - test[a8007afcd3effadc]::__rust_begin_short_backtrace::<core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>, fn() -> core[35159d6ffb30e017]::result::Result<(), alloc[a8a7aba520129d98]::string::String>>
[INFO] [stdout]   37:     0x5f41b91e6b7b - test[a8007afcd3effadc]::run_test::{closure#0}
[INFO] [stdout]   38:     0x5f41b91e1554 - std[ec419fa8110287d5]::sys::backtrace::__rust_begin_short_backtrace::<test[a8007afcd3effadc]::run_test::{closure#1}, ()>
[INFO] [stdout]   39:     0x5f41b91e9782 - <std[ec419fa8110287d5]::thread::lifecycle::spawn_unchecked<test[a8007afcd3effadc]::run_test::{closure#1}, ()>::{closure#1} as core[35159d6ffb30e017]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   40:     0x5f41b978566f - <std[ec419fa8110287d5]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   41:     0x7f1baa7bcaa4 - <unknown>
[INFO] [stdout]   42:     0x7f1baa849a64 - 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] [stderr] error: test failed, to rerun pass `--bin monitor_usdt`
[INFO] running `Command { std: "docker" "inspect" "41d03d23af031d709e3966ab5d0cb009ad9dcb2d442eea1daf809e7e376b3fba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41d03d23af031d709e3966ab5d0cb009ad9dcb2d442eea1daf809e7e376b3fba", kill_on_drop: false }`
[INFO] [stdout] 41d03d23af031d709e3966ab5d0cb009ad9dcb2d442eea1daf809e7e376b3fba
