[INFO] cloning repository https://github.com/dionysus151515/btc-arb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dionysus151515/btc-arb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdionysus151515%2Fbtc-arb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdionysus151515%2Fbtc-arb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8cdd7aa0685206b9c1b26cac32a9c621c85110f4
[INFO] checking dionysus151515/btc-arb against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdionysus151515%2Fbtc-arb" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dionysus151515/btc-arb
[INFO] finished tweaking git repo https://github.com/dionysus151515/btc-arb
[INFO] tweaked toml for git repo https://github.com/dionysus151515/btc-arb written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dionysus151515/btc-arb on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dionysus151515/btc-arb 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl v0.10.76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 909f9e540576bbeae3480470161c11d1be4776075226c3724f6c99668245e766
[INFO] running `Command { std: "docker" "start" "-a" "909f9e540576bbeae3480470161c11d1be4776075226c3724f6c99668245e766", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "909f9e540576bbeae3480470161c11d1be4776075226c3724f6c99668245e766", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "909f9e540576bbeae3480470161c11d1be4776075226c3724f6c99668245e766", kill_on_drop: false }`
[INFO] [stdout] 909f9e540576bbeae3480470161c11d1be4776075226c3724f6c99668245e766
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f712ce4ebfb60d2896edfe20ae690bae76cf99bc053a5dcb9dbe532e774cb2a6
[INFO] running `Command { std: "docker" "start" "-a" "f712ce4ebfb60d2896edfe20ae690bae76cf99bc053a5dcb9dbe532e774cb2a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking tokio v1.51.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking indexmap v2.13.1
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking btc-arb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `avg_price` is never read
[INFO] [stdout]   --> src/orderbook.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut avg_price = 0.0;
[INFO] [stdout]    |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |             avg_price = (budget - remaining) / total_btc;
[INFO] [stdout]    |             -------------------------------------------- `avg_price` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `avg_price` is never read
[INFO] [stdout]   --> src/orderbook.rs:45:29
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut avg_price = 0.0;
[INFO] [stdout]    |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |             avg_price = (budget - remaining) / total_btc;
[INFO] [stdout]    |             -------------------------------------------- `avg_price` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol`, `side`, and `order_type` are never read
[INFO] [stdout]   --> src/binance/rest.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct OrderResponse {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 20 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub side: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 29 |     #[serde(rename = "type")]
[INFO] [stdout] 30 |     pub order_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_balance` is never used
[INFO] [stdout]    --> src/binance/rest.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl BinanceClient {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub async fn get_balance(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `proxy` is never read
[INFO] [stdout]  --> src/feishu.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct FeishuNotifier {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     proxy: Option<String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `symbol` is never read
[INFO] [stdout]  --> src/orderbook.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct OrderBook {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     pub symbol: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OrderBook` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `simulate_buy` and `simulate_sell` are never used
[INFO] [stdout]   --> src/orderbook.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl OrderBook {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn simulate_buy(&self, budget: f64) -> Option<(f64, f64)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn simulate_sell(&self, btc_amount: f64) -> Option<(f64, f64)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `spread_bps`, `net_profit_bps`, and `max_profit_usdt` are never read
[INFO] [stdout]   --> src/strategy.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct ArbSignal {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub spread_bps: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 33 |     pub net_profit_bps: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     pub max_btc_qty: f64,
[INFO] [stdout] 35 |     pub max_profit_usdt: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArbSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `btc_balance` is never read
[INFO] [stdout]   --> src/strategy.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PaperTrader {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub btc_balance: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaperTrader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `buy_order_id` and `sell_order_id` are never read
[INFO] [stdout]    --> src/strategy.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub struct LiveTrade {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 243 |     pub buy_order_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 244 |     pub sell_order_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiveTrade` 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 `symbol`, `side`, and `order_type` are never read
[INFO] [stdout]   --> src/binance/rest.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct OrderResponse {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 20 |     pub symbol: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub side: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 29 |     #[serde(rename = "type")]
[INFO] [stdout] 30 |     pub order_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_balance` is never used
[INFO] [stdout]    --> src/binance/rest.rs:163:18
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl BinanceClient {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub async fn get_balance(
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `proxy` is never read
[INFO] [stdout]  --> src/feishu.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct FeishuNotifier {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     proxy: Option<String>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `symbol` is never read
[INFO] [stdout]  --> src/orderbook.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct OrderBook {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 6 |     pub symbol: String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `OrderBook` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `simulate_buy` and `simulate_sell` are never used
[INFO] [stdout]   --> src/orderbook.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl OrderBook {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn simulate_buy(&self, budget: f64) -> Option<(f64, f64)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn simulate_sell(&self, btc_amount: f64) -> Option<(f64, f64)> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `spread_bps`, `net_profit_bps`, and `max_profit_usdt` are never read
[INFO] [stdout]   --> src/strategy.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct ArbSignal {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub spread_bps: f64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 33 |     pub net_profit_bps: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     pub max_btc_qty: f64,
[INFO] [stdout] 35 |     pub max_profit_usdt: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArbSignal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `btc_balance` is never read
[INFO] [stdout]   --> src/strategy.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct PaperTrader {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub btc_balance: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PaperTrader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `buy_order_id` and `sell_order_id` are never read
[INFO] [stdout]    --> src/strategy.rs:243:9
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub struct LiveTrade {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 243 |     pub buy_order_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 244 |     pub sell_order_id: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LiveTrade` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.75s
[INFO] running `Command { std: "docker" "inspect" "f712ce4ebfb60d2896edfe20ae690bae76cf99bc053a5dcb9dbe532e774cb2a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f712ce4ebfb60d2896edfe20ae690bae76cf99bc053a5dcb9dbe532e774cb2a6", kill_on_drop: false }`
[INFO] [stdout] f712ce4ebfb60d2896edfe20ae690bae76cf99bc053a5dcb9dbe532e774cb2a6
