[INFO] cloning repository https://github.com/danielliwd/binance_rs_async_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielliwd/binance_rs_async_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielliwd%2Fbinance_rs_async_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielliwd%2Fbinance_rs_async_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4705322463edd50465582091d31b12b12f7c4009
[INFO] checking danielliwd/binance_rs_async_test against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielliwd%2Fbinance_rs_async_test" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/danielliwd/binance_rs_async_test
[INFO] finished tweaking git repo https://github.com/danielliwd/binance_rs_async_test
[INFO] tweaked toml for git repo https://github.com/danielliwd/binance_rs_async_test written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/danielliwd/binance_rs_async_test on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/danielliwd/binance_rs_async_test 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.79
[INFO] [stderr]   Downloaded atomic-interval v0.1.4
[INFO] [stderr]   Downloaded thiserror-impl v1.0.58
[INFO] [stderr]   Downloaded serde v1.0.197
[INFO] [stderr]   Downloaded fastrand v2.0.2
[INFO] [stderr]   Downloaded borsh-derive v1.4.0
[INFO] [stderr]   Downloaded thiserror v1.0.58
[INFO] [stderr]   Downloaded anstream v0.6.13
[INFO] [stderr]   Downloaded borsh v1.4.0
[INFO] [stderr]   Downloaded raw-cpuid v11.0.1
[INFO] [stderr]   Downloaded binance-rs-async v1.3.3
[INFO] [stderr]   Downloaded serde_json v1.0.115
[INFO] [stderr]   Downloaded cc v1.0.92
[INFO] [stderr]   Downloaded serde_derive v1.0.197
[INFO] [stderr]   Downloaded unicode-width v0.1.11
[INFO] [stderr]   Downloaded chrono v0.4.37
[INFO] [stderr]   Downloaded syn v2.0.58
[INFO] [stderr]   Downloaded rustix v0.38.32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd467ed6628150c8fb9ef879fbb353dd570f432da9fb9063935f9b491477e49b
[INFO] running `Command { std: "docker" "start" "-a" "fd467ed6628150c8fb9ef879fbb353dd570f432da9fb9063935f9b491477e49b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd467ed6628150c8fb9ef879fbb353dd570f432da9fb9063935f9b491477e49b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd467ed6628150c8fb9ef879fbb353dd570f432da9fb9063935f9b491477e49b", kill_on_drop: false }`
[INFO] [stdout] fd467ed6628150c8fb9ef879fbb353dd570f432da9fb9063935f9b491477e49b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f622045785b17652a38f6204d786e7f90fbb122a93f350e181412b1b35caa01
[INFO] running `Command { std: "docker" "start" "-a" "4f622045785b17652a38f6204d786e7f90fbb122a93f350e181412b1b35caa01", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cc v1.0.92
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking raw-cpuid v11.0.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking boolinator v2.4.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking quanta v0.12.3
[INFO] [stderr]     Checking atomic-interval v0.1.4
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]     Checking serde_qs v0.12.0
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking configurations v0.1.0 (/opt/rustwide/workdir/configurations)
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking binance-rs-async v1.3.3
[INFO] [stderr]     Checking binance_rs_async_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `binance::api::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use binance::api::*;
[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: `binance::errors::Error as BinanceLibError`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use binance::errors::Error as BinanceLibError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `binance::general::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use binance::general::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SymbolPrice`
[INFO] [stdout]   --> src/main.rs:16:49
[INFO] [stdout]    |
[INFO] [stdout] 16 | use binance::rest_model::{OrderSide, OrderType, SymbolPrice, TimeInForce};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `binance::futures::general::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use binance::futures::general::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::account::FuturesAccount`
[INFO] [stdout]   --> src/main.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 | use binance::{api::Binance, futures::account::FuturesAccount};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `from_filename`
[INFO] [stdout]   --> src/main.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | use dotenv::{dotenv, from_filename};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `binance::api::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use binance::api::*;
[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: `binance::errors::Error as BinanceLibError`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use binance::errors::Error as BinanceLibError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `binance::general::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use binance::general::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SymbolPrice`
[INFO] [stdout]   --> src/main.rs:16:49
[INFO] [stdout]    |
[INFO] [stdout] 16 | use binance::rest_model::{OrderSide, OrderType, SymbolPrice, TimeInForce};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `binance::futures::general::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use binance::futures::general::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::account::FuturesAccount`
[INFO] [stdout]   --> src/main.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 | use binance::{api::Binance, futures::account::FuturesAccount};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `from_filename`
[INFO] [stdout]   --> src/main.rs:22:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | use dotenv::{dotenv, from_filename};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut cancel_counter = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let api_key = Some(conf.api_key.clone());
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secret_key`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let secret_key = Some(conf.api_sec.clone());
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `order_id` is never read
[INFO] [stdout]    --> src/main.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         order_id = Some(order.order_id);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `open_counter` is never read
[INFO] [stdout]    --> src/main.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |                         open_counter+=1;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bid_avg_10` is never read
[INFO] [stdout]    --> src/main.rs:78:31
[INFO] [stdout]     |
[INFO] [stdout]  78 |     let mut bid_avg_10: f64 = 0.0; // 10档均价
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 116 |                         bid_avg_10 = depth.bids.iter().take(10).map(|a|a.price).sum();
[INFO] [stdout]     |                         ------------------------------------------------------------- `bid_avg_10` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut cancel_counter = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]   --> src/main.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let api_key = Some(conf.api_key.clone());
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secret_key`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let secret_key = Some(conf.api_sec.clone());
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `order_id` is never read
[INFO] [stdout]    --> src/main.rs:145:25
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         order_id = Some(order.order_id);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `open_counter` is never read
[INFO] [stdout]    --> src/main.rs:144:25
[INFO] [stdout]     |
[INFO] [stdout] 144 |                         open_counter+=1;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bid_avg_10` is never read
[INFO] [stdout]    --> src/main.rs:78:31
[INFO] [stdout]     |
[INFO] [stdout]  78 |     let mut bid_avg_10: f64 = 0.0; // 10档均价
[INFO] [stdout]     |                               ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 116 |                         bid_avg_10 = depth.bids.iter().take(10).map(|a|a.price).sum();
[INFO] [stdout]     |                         ------------------------------------------------------------- `bid_avg_10` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.83s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: binance-rs-async v1.3.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "4f622045785b17652a38f6204d786e7f90fbb122a93f350e181412b1b35caa01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f622045785b17652a38f6204d786e7f90fbb122a93f350e181412b1b35caa01", kill_on_drop: false }`
[INFO] [stdout] 4f622045785b17652a38f6204d786e7f90fbb122a93f350e181412b1b35caa01
