[INFO] fetching crate crypto_trading 0.2.2...
[INFO] checking crypto_trading-0.2.2 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] extracting crate crypto_trading 0.2.2 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate crypto_trading 0.2.2
[INFO] finished tweaking crates.io crate crypto_trading 0.2.2
[INFO] tweaked toml for crates.io crate crypto_trading 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate crypto_trading 0.2.2 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate crypto_trading 0.2.2 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustix v1.0.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a3fd8137e5a32fb7f73aa6e436308f51ec054286dbc3663dbbf42252ab3dc42
[INFO] running `Command { std: "docker" "start" "-a" "1a3fd8137e5a32fb7f73aa6e436308f51ec054286dbc3663dbbf42252ab3dc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a3fd8137e5a32fb7f73aa6e436308f51ec054286dbc3663dbbf42252ab3dc42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a3fd8137e5a32fb7f73aa6e436308f51ec054286dbc3663dbbf42252ab3dc42", kill_on_drop: false }`
[INFO] [stdout] 1a3fd8137e5a32fb7f73aa6e436308f51ec054286dbc3663dbbf42252ab3dc42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e18bf35fff7d1b3ac147d402f9fbd8350344090885e73142f62df69939eb27ab
[INFO] running `Command { std: "docker" "start" "-a" "e18bf35fff7d1b3ac147d402f9fbd8350344090885e73142f62df69939eb27ab", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking crypto_trading v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Endpoint` and `Tickers`
[INFO] [stdout]  --> src/adapter/common.rs:3:67
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{model::binance_model::{BinanceRequest, BinanceSymbol, Endpoint, Kline, Klines, Ticker, Tickers}, port::binance_port::CommonPo...
[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: `Response`
[INFO] [stdout]  --> src/adapter/adapter_utils.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::{Client, Response};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `default`, and `write`
[INFO] [stdout]  --> src/model/binance_model.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{default, fmt::{write, Display}, time::{SystemTime, UNIX_EPOCH}};
[INFO] [stdout]   |           ^^^^^^^        ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/model/binance_model.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::{Context, Ok};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `future` should have an upper camel case name
[INFO] [stdout]    --> src/model/binance_model.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     future, 
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Future`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `spot` should have an upper camel case name
[INFO] [stdout]    --> src/model/binance_model.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     spot,
[INFO] [stdout]     |     ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Spot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/port/binance_port.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Ok`
[INFO] [stdout]  --> src/algorithm/algorithm.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::Ok;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Kline`
[INFO] [stdout]  --> src/algorithm/algorithm.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{model::binance_model::{Kline, Klines}, utils};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Endpoint` and `Tickers`
[INFO] [stdout]  --> src/adapter/common.rs:3:67
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{model::binance_model::{BinanceRequest, BinanceSymbol, Endpoint, Kline, Klines, Ticker, Tickers}, port::binance_port::CommonPo...
[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: `Response`
[INFO] [stdout]  --> src/adapter/adapter_utils.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::{Client, Response};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display`, `default`, and `write`
[INFO] [stdout]  --> src/model/binance_model.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{default, fmt::{write, Display}, time::{SystemTime, UNIX_EPOCH}};
[INFO] [stdout]   |           ^^^^^^^        ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/model/binance_model.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::{Context, Ok};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `future` should have an upper camel case name
[INFO] [stdout]    --> src/model/binance_model.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 172 |     future, 
[INFO] [stdout]     |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Future`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `spot` should have an upper camel case name
[INFO] [stdout]    --> src/model/binance_model.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     spot,
[INFO] [stdout]     |     ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Spot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/port/binance_port.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Ok`
[INFO] [stdout]  --> src/algorithm/algorithm.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anyhow::Ok;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Kline`
[INFO] [stdout]  --> src/algorithm/algorithm.rs:5:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{model::binance_model::{Kline, Klines}, utils};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/model/binance_model.rs:202:38
[INFO] [stdout]     |
[INFO] [stdout] 202 |             CommonEndpoint::Klines { symbol, interval, limit } => {
[INFO] [stdout]     |                                      ^^^^^^ help: try ignoring the field: `symbol: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interval`
[INFO] [stdout]    --> src/model/binance_model.rs:202:46
[INFO] [stdout]     |
[INFO] [stdout] 202 |             CommonEndpoint::Klines { symbol, interval, limit } => {
[INFO] [stdout]     |                                              ^^^^^^^^ help: try ignoring the field: `interval: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limit_or_default`
[INFO] [stdout]    --> src/model/binance_model.rs:203:37
[INFO] [stdout]     |
[INFO] [stdout] 203 | ...                   let limit_or_default = limit.unwrap_or(500);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_or_default`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:4:13
[INFO] [stdout]     |
[INFO] [stdout]   4 |         let mut query = String::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/model/binance_model.rs:238:45
[INFO] [stdout]     |
[INFO] [stdout] 238 |             CommonEndpoint::ExchnageInfo => query!(),
[INFO] [stdout]     |                                             -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:4:13
[INFO] [stdout]     |
[INFO] [stdout]   4 |         let mut query = String::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/model/binance_model.rs:239:39
[INFO] [stdout]     |
[INFO] [stdout] 239 |             CommonEndpoint::Ticker => query!(),
[INFO] [stdout]     |                                       -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:4:13
[INFO] [stdout]     |
[INFO] [stdout]   4 |         let mut query = String::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/model/binance_model.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 query!()
[INFO] [stdout]     |                 -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/model/binance_model.rs:381:39
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                       ^^^^^^ help: try ignoring the field: `symbol: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]    --> src/model/binance_model.rs:381:47
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                               ^^^^ help: try ignoring the field: `side: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r#type`
[INFO] [stdout]    --> src/model/binance_model.rs:381:53
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                     ^^^^^^ help: try ignoring the field: `type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_in_force`
[INFO] [stdout]    --> src/model/binance_model.rs:381:61
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^ help: try ignoring the field: `time_in_force: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]    --> src/model/binance_model.rs:381:76
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                            ^^^^^^^^ help: try ignoring the field: `quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/model/binance_model.rs:381:86
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                                      ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop_price`
[INFO] [stdout]    --> src/model/binance_model.rs:381:93
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^ help: try ignoring the field: `stop_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback_rate`
[INFO] [stdout]    --> src/model/binance_model.rs:381:105
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                                                         ^^^^^^^^^^^^^ help: try ignoring the field: `callback_rate: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/model/binance_model.rs:202:38
[INFO] [stdout]     |
[INFO] [stdout] 202 |             CommonEndpoint::Klines { symbol, interval, limit } => {
[INFO] [stdout]     |                                      ^^^^^^ help: try ignoring the field: `symbol: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `interval`
[INFO] [stdout]    --> src/model/binance_model.rs:202:46
[INFO] [stdout]     |
[INFO] [stdout] 202 |             CommonEndpoint::Klines { symbol, interval, limit } => {
[INFO] [stdout]     |                                              ^^^^^^^^ help: try ignoring the field: `interval: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limit_or_default`
[INFO] [stdout]    --> src/model/binance_model.rs:203:37
[INFO] [stdout]     |
[INFO] [stdout] 203 | ...                   let limit_or_default = limit.unwrap_or(500);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limit_or_default`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/algorithm/algorithm.rs:60:85
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let close_time = utils::timestamp_to_local(self.close_time as i64).map_err(|e| std::fmt::Error)?;
[INFO] [stdout]    |                                                                                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/algorithm/algorithm.rs:59:83
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let open_time = utils::timestamp_to_local(self.open_time as i64).map_err(|e| std::fmt::Error)?;
[INFO] [stdout]    |                                                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:4:13
[INFO] [stdout]     |
[INFO] [stdout]   4 |         let mut query = String::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/model/binance_model.rs:238:45
[INFO] [stdout]     |
[INFO] [stdout] 238 |             CommonEndpoint::ExchnageInfo => query!(),
[INFO] [stdout]     |                                             -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:4:13
[INFO] [stdout]     |
[INFO] [stdout]   4 |         let mut query = String::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/model/binance_model.rs:239:39
[INFO] [stdout]     |
[INFO] [stdout] 239 |             CommonEndpoint::Ticker => query!(),
[INFO] [stdout]     |                                       -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/macros.rs:4:13
[INFO] [stdout]     |
[INFO] [stdout]   4 |         let mut query = String::new();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/model/binance_model.rs:265:17
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 query!()
[INFO] [stdout]     |                 -------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Balance` is never constructed
[INFO] [stdout]   --> src/model/binance_model.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Balance {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]    --> src/model/binance_model.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | struct Order {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/model/binance_model.rs:414:12
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl Order {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 414 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tickers` is never read
[INFO] [stdout]    --> src/model/binance_model.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 450 | pub struct Tickers {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 451 |     tickers: Vec<Ticker>
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Tickers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/adapter/adapter_utils.rs:56:40
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .header("X-MBX-APIKEY", api_key.clone())
[INFO] [stdout]    |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 |    async fn get_account_balance(&self) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 6 -    async fn get_account_balance(&self) -> anyhow::Result<String>;
[INFO] [stdout] 6 +    fn get_account_balance(&self) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 |    async fn get_trade_fee(&self) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 7 -    async fn get_trade_fee(&self) -> anyhow::Result<String>;
[INFO] [stdout] 7 +    fn get_trade_fee(&self) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 |    async fn query_order(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -    async fn query_order(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout] 8 +    fn query_order(&self, symbol: &str) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 |    async fn all_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -    async fn all_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout] 9 +    fn all_orders(&self, symbol: &str) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 |    async fn get_kline(&self, symbol: String, interval: &str, limit: Option<i32>) -> anyhow::Result<Klines>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 -    async fn get_kline(&self, symbol: String, interval: &str, limit: Option<i32>) -> anyhow::Result<Klines>;
[INFO] [stdout] 14 +    fn get_kline(&self, symbol: String, interval: &str, limit: Option<i32>) -> impl std::future::Future<Output = anyhow::Result<Klines>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |    async fn get_symbol_list(&self) -> anyhow::Result<Vec<String>>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 15 -    async fn get_symbol_list(&self) -> anyhow::Result<Vec<String>>;
[INFO] [stdout] 15 +    fn get_symbol_list(&self) -> impl std::future::Future<Output = anyhow::Result<Vec<String>>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 |    async fn get_symbol_with_volume(&self) -> anyhow::Result<Vec<Ticker>>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -    async fn get_symbol_with_volume(&self) -> anyhow::Result<Vec<Ticker>>;
[INFO] [stdout] 16 +    fn get_symbol_with_volume(&self) -> impl std::future::Future<Output = anyhow::Result<Vec<Ticker>>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 |    async fn order_position(&self) -> anyhow::Result<()>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 22 -    async fn order_position(&self) -> anyhow::Result<()>;
[INFO] [stdout] 22 +    fn order_position(&self) -> impl std::future::Future<Output = anyhow::Result<()>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 |    async fn change_leverage(&self, symbol: &str, leverage: i32) -> anyhow::Result<String>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -    async fn change_leverage(&self, symbol: &str, leverage: i32) -> anyhow::Result<String>;
[INFO] [stdout] 23 +    fn change_leverage(&self, symbol: &str, leverage: i32) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 |    async fn all_open_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 24 -    async fn all_open_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout] 24 +    fn all_open_orders(&self, symbol: &str) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 |    async fn new_order(
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 25 ~    fn new_order(
[INFO] [stdout] 26 |        &self,
[INFO] [stdout] ...
[INFO] [stdout] 34 |        callback_rate: Option<f64>,
[INFO] [stdout] 35 ~    ) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol`
[INFO] [stdout]    --> src/model/binance_model.rs:381:39
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                       ^^^^^^ help: try ignoring the field: `symbol: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]    --> src/model/binance_model.rs:381:47
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                               ^^^^ help: try ignoring the field: `side: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r#type`
[INFO] [stdout]    --> src/model/binance_model.rs:381:53
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                     ^^^^^^ help: try ignoring the field: `type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_in_force`
[INFO] [stdout]    --> src/model/binance_model.rs:381:61
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^ help: try ignoring the field: `time_in_force: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]    --> src/model/binance_model.rs:381:76
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                            ^^^^^^^^ help: try ignoring the field: `quantity: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/model/binance_model.rs:381:86
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                                      ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop_price`
[INFO] [stdout]    --> src/model/binance_model.rs:381:93
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^ help: try ignoring the field: `stop_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback_rate`
[INFO] [stdout]    --> src/model/binance_model.rs:381:105
[INFO] [stdout]     |
[INFO] [stdout] 381 |             TradeEndpoint::NewOrder { symbol, side, r#type, time_in_force, quantity, price, stop_price, callback_rate } => {
[INFO] [stdout]     |                                                                                                         ^^^^^^^^^^^^^ help: try ignoring the field: `callback_rate: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/algorithm/algorithm.rs:60:85
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let close_time = utils::timestamp_to_local(self.close_time as i64).map_err(|e| std::fmt::Error)?;
[INFO] [stdout]    |                                                                                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/algorithm/algorithm.rs:59:83
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let open_time = utils::timestamp_to_local(self.open_time as i64).map_err(|e| std::fmt::Error)?;
[INFO] [stdout]    |                                                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Balance` is never constructed
[INFO] [stdout]   --> src/model/binance_model.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Balance {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]    --> src/model/binance_model.rs:402:8
[INFO] [stdout]     |
[INFO] [stdout] 402 | struct Order {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/model/binance_model.rs:414:12
[INFO] [stdout]     |
[INFO] [stdout] 413 | impl Order {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 414 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tickers` is never read
[INFO] [stdout]    --> src/model/binance_model.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 450 | pub struct Tickers {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] 451 |     tickers: Vec<Ticker>
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Tickers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/adapter/adapter_utils.rs:56:40
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .header("X-MBX-APIKEY", api_key.clone())
[INFO] [stdout]    |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 |    async fn get_account_balance(&self) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]   = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 6 -    async fn get_account_balance(&self) -> anyhow::Result<String>;
[INFO] [stdout] 6 +    fn get_account_balance(&self) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 |    async fn get_trade_fee(&self) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 7 -    async fn get_trade_fee(&self) -> anyhow::Result<String>;
[INFO] [stdout] 7 +    fn get_trade_fee(&self) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 |    async fn query_order(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -    async fn query_order(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout] 8 +    fn query_order(&self, symbol: &str) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/port/binance_port.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 |    async fn all_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout]   |    ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 -    async fn all_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout] 9 +    fn all_orders(&self, symbol: &str) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 |    async fn get_kline(&self, symbol: String, interval: &str, limit: Option<i32>) -> anyhow::Result<Klines>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 -    async fn get_kline(&self, symbol: String, interval: &str, limit: Option<i32>) -> anyhow::Result<Klines>;
[INFO] [stdout] 14 +    fn get_kline(&self, symbol: String, interval: &str, limit: Option<i32>) -> impl std::future::Future<Output = anyhow::Result<Klines>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 |    async fn get_symbol_list(&self) -> anyhow::Result<Vec<String>>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 15 -    async fn get_symbol_list(&self) -> anyhow::Result<Vec<String>>;
[INFO] [stdout] 15 +    fn get_symbol_list(&self) -> impl std::future::Future<Output = anyhow::Result<Vec<String>>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 |    async fn get_symbol_with_volume(&self) -> anyhow::Result<Vec<Ticker>>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 16 -    async fn get_symbol_with_volume(&self) -> anyhow::Result<Vec<Ticker>>;
[INFO] [stdout] 16 +    fn get_symbol_with_volume(&self) -> impl std::future::Future<Output = anyhow::Result<Vec<Ticker>>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 |    async fn order_position(&self) -> anyhow::Result<()>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 22 -    async fn order_position(&self) -> anyhow::Result<()>;
[INFO] [stdout] 22 +    fn order_position(&self) -> impl std::future::Future<Output = anyhow::Result<()>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 |    async fn change_leverage(&self, symbol: &str, leverage: i32) -> anyhow::Result<String>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 23 -    async fn change_leverage(&self, symbol: &str, leverage: i32) -> anyhow::Result<String>;
[INFO] [stdout] 23 +    fn change_leverage(&self, symbol: &str, leverage: i32) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 |    async fn all_open_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 24 -    async fn all_open_orders(&self, symbol: &str) -> anyhow::Result<String>;
[INFO] [stdout] 24 +    fn all_open_orders(&self, symbol: &str) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/port/binance_port.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 |    async fn new_order(
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 25 ~    fn new_order(
[INFO] [stdout] 26 |        &self,
[INFO] [stdout] ...
[INFO] [stdout] 34 |        callback_rate: Option<f64>,
[INFO] [stdout] 35 ~    ) -> impl std::future::Future<Output = anyhow::Result<String>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.66s
[INFO] running `Command { std: "docker" "inspect" "e18bf35fff7d1b3ac147d402f9fbd8350344090885e73142f62df69939eb27ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e18bf35fff7d1b3ac147d402f9fbd8350344090885e73142f62df69939eb27ab", kill_on_drop: false }`
[INFO] [stdout] e18bf35fff7d1b3ac147d402f9fbd8350344090885e73142f62df69939eb27ab
