[INFO] cloning repository https://github.com/CiaranWelsh/binance-algo-trading-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CiaranWelsh/binance-algo-trading-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiaranWelsh%2Fbinance-algo-trading-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiaranWelsh%2Fbinance-algo-trading-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 606bf2c79a0d794b86eab16d4a0629a02cb59859
[INFO] documenting CiaranWelsh/binance-algo-trading-rs against 1.91.0 for beta-1.92-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiaranWelsh%2Fbinance-algo-trading-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CiaranWelsh/binance-algo-trading-rs
[INFO] finished tweaking git repo https://github.com/CiaranWelsh/binance-algo-trading-rs
[INFO] tweaked toml for git repo https://github.com/CiaranWelsh/binance-algo-trading-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CiaranWelsh/binance-algo-trading-rs on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CiaranWelsh/binance-algo-trading-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crypto-common v0.2.0-pre.5
[INFO] [stderr]   Downloaded sha2 v0.11.0-pre.3
[INFO] [stderr]   Downloaded uuid-macro-internal v1.7.0
[INFO] [stderr]   Downloaded digest v0.11.0-pre.8
[INFO] [stderr]   Downloaded predicates v3.1.0
[INFO] [stderr]   Downloaded async-tungstenite v0.25.0
[INFO] [stderr]   Downloaded hmac v0.13.0-pre.3
[INFO] [stderr]   Downloaded toml v0.8.11
[INFO] [stderr]   Downloaded const-oid v0.10.0-pre.2
[INFO] [stderr]   Downloaded value-bag v1.8.0
[INFO] [stderr]   Downloaded rust_decimal v1.34.3
[INFO] [stderr]   Downloaded serde_with v3.7.0
[INFO] [stderr]   Downloaded tokio-websockets v0.7.0
[INFO] [stderr]   Downloaded serde_with_macros v3.7.0
[INFO] [stderr]   Downloaded block-buffer v0.11.0-pre.5
[INFO] [stderr]   Downloaded hybrid-array v0.2.0-rc.7
[INFO] [stderr]   Downloaded toml_edit v0.22.7
[INFO] [stderr]   Downloaded whoami v1.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cbcbfbfe0817044053247d4fb5f9368f20faf21aaa691d71c8302fc840fca38
[INFO] running `Command { std: "docker" "start" "-a" "2cbcbfbfe0817044053247d4fb5f9368f20faf21aaa691d71c8302fc840fca38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cbcbfbfe0817044053247d4fb5f9368f20faf21aaa691d71c8302fc840fca38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cbcbfbfe0817044053247d4fb5f9368f20faf21aaa691d71c8302fc840fca38", kill_on_drop: false }`
[INFO] [stdout] 2cbcbfbfe0817044053247d4fb5f9368f20faf21aaa691d71c8302fc840fca38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78c4ce0f80981b18e69813418df3c0d30ca33b73c2c0f2153005a510f4474a27
[INFO] running `Command { std: "docker" "start" "-a" "78c4ce0f80981b18e69813418df3c0d30ca33b73c2c0f2153005a510f4474a27", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking value-bag v1.8.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]     Checking event-listener v5.2.0
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.0
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking stringprep v0.1.4
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking io-lifetimes v1.0.11
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]     Checking const-oid v0.10.0-pre.2
[INFO] [stderr]     Checking waker-fn v1.1.1
[INFO] [stderr]     Checking futures-lite v1.13.0
[INFO] [stderr]     Checking phf_shared v0.11.2
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling rust_decimal v1.34.3
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking rustix v0.37.27
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking whoami v1.5.1
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking async-executor v1.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]     Checking chrono v0.4.35
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking hybrid-array v0.2.0-rc.7
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking crypto-common v0.2.0-pre.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking postgres-protocol v0.6.6
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking postgres-types v0.2.6
[INFO] [stderr]     Checking block-buffer v0.11.0-pre.5
[INFO] [stderr]     Checking digest v0.11.0-pre.8
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]     Checking hmac v0.13.0-pre.3
[INFO] [stderr]     Checking sha2 v0.11.0-pre.3
[INFO] [stderr]    Compiling darling_core v0.20.8
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling uuid-macro-internal v1.7.0
[INFO] [stderr]     Checking uuid v1.7.0
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking polling v3.5.0
[INFO] [stderr]     Checking thiserror v1.0.58
[INFO] [stderr]    Compiling darling_macro v0.20.8
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking async-io v2.3.2
[INFO] [stderr]    Compiling darling v0.20.8
[INFO] [stderr]    Compiling serde_with_macros v3.7.0
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking async-tungstenite v0.25.0
[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.24
[INFO] [stderr]     Checking tokio-websockets v0.7.0
[INFO] [stderr]     Checking tokio-postgres v0.7.10
[INFO] [stderr]     Checking serde_spanned v0.6.5
[INFO] [stderr]     Checking toml_datetime v0.6.5
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v3.7.0
[INFO] [stderr]     Checking serde_qs v0.12.0
[INFO] [stderr]     Checking toml_edit v0.22.7
[INFO] [stderr]     Checking toml v0.8.11
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.26
[INFO] [stderr]     Checking binance_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting binance_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/binance_client/spot_orders.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `Client`
[INFO] [stdout]  --> src/binance_client/spot_orders.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use reqwest::{Client, Response, StatusCode};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/binance_client/spot_orders.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json`
[INFO] [stdout]  --> src/binance_client/spot_orders.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/binance_client/binance_client.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/binance_client/binance_client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_tungstenite::tungstenite::http::Uri`
[INFO] [stdout]  --> src/binance_client/binance_client.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use async_tungstenite::tungstenite::http::Uri;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_tungstenite::tungstenite::WebSocket`
[INFO] [stdout]  --> src/binance_client/binance_client.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use async_tungstenite::tungstenite::WebSocket;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `info`, and `trace`
[INFO] [stdout]  --> src/binance_client/binance_client.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{error, info, trace};
[INFO] [stdout]   |           ^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::FutureExt`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures::FutureExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:17:44
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::io::{Error as IOError, ErrorKind, Write};
[INFO] [stdout]    |                                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::deserialization::deserialize_string_to_f64`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::binance_client::deserialization::deserialize_string_to_f64;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::position_size::round`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::binance_client::position_size::round;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::streams::binance_stream::BinanceStreamTypes`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::binance_client::streams::binance_stream::BinanceStreamTypes;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::streams::kline_data::KlineMessage`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::binance_client::streams::kline_data::KlineMessage;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::order_type::OrderType`
[INFO] [stdout]  --> src/binance_client/order_types/time_in_force.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::binance_client::order_types::order_type::OrderType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::order_type::OrderType`
[INFO] [stdout]  --> src/binance_client/order_types/side.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::binance_client::order_types::order_type::OrderType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::error::Error as SerdeJsonError`
[INFO] [stdout]  --> src/binance_client/account/account_info.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::error::Error as SerdeJsonError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::deserialization::*`
[INFO] [stdout]  --> src/binance_client/account/order.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::binance_client::deserialization::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::account::order_status::OrderStatus`
[INFO] [stdout]  --> src/binance_client/account/trades.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::binance_client::account::order_status::OrderStatus;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::order_type::OrderType`
[INFO] [stdout]  --> src/binance_client/account/trades.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::binance_client::order_types::order_type::OrderType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::side::Side`
[INFO] [stdout]  --> src/binance_client/account/trades.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::binance_client::order_types::side::Side;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::time_in_force::TimeInForce`
[INFO] [stdout]  --> src/binance_client/account/trades.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::binance_client::order_types::time_in_force::TimeInForce;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `reqwest::Client`
[INFO] [stdout]  --> src/binance_client/streams/binance_websocket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use reqwest::Client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::future::err`
[INFO] [stdout]  --> src/binance_client/streams/binance_websocket.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures_util::future::err;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/binance_client/streams/binance_websocket.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde_json::{Error, Value};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Kline`
[INFO] [stdout]   --> src/binance_client/streams/binance_websocket.rs:14:50
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::binance_client::streams::kline_data::{Kline, KlineMessage};
[INFO] [stdout]    |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/binance_client/database_client.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/binance_client/database_client.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::trace`
[INFO] [stdout]  --> src/binance_client/database_client.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::trace;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Kline`
[INFO] [stdout]  --> src/binance_client/database_client.rs:9:50
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::binance_client::streams::kline_data::{Kline, KlineMessage};
[INFO] [stdout]   |                                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/binance_client/load_env.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash`
[INFO] [stdout]  --> src/binance_client/load_env.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{env, hash};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::marker::PhantomData`
[INFO] [stdout]  --> src/binance_client/deserialization.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::marker::PhantomData;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `deserialize_string_to_i64`
[INFO] [stdout]  --> src/binance_client/exchange_info.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     deserialize_string_to_i64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Client`
[INFO] [stdout]  --> src/binance_client/margin_client.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use reqwest::{Client, StatusCode};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/binance_client/margin_client.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::trace`
[INFO] [stdout]  --> src/binance_client/margin_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::trace;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::market_order::MarketOrder`
[INFO] [stdout]  --> src/binance_client/margin_client.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::binance_client::order_types::market_order::MarketOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::oco_order::OcoOrder`
[INFO] [stdout]  --> src/binance_client/margin_client.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::binance_client::order_types::oco_order::OcoOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::binance_client::order_types::stop_limit_order::StopLimitOrder`
[INFO] [stdout]   --> src/binance_client/margin_client.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::binance_client::order_types::stop_limit_order::StopLimitOrder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Map`
[INFO] [stdout]  --> src/binance_client/order_response.rs:2:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde_with::{serde_as, DisplayFromStr, Map};
[INFO] [stdout]   |                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response2`
[INFO] [stdout]    --> src/binance_client/binance_client.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let response2 = reqwest::get(&url).await.map_err(|e| Box::new(e) as Box<dyn Error>)?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binance_client/binance_client.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |         let mut ticker_price = self.client
[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: `write`
[INFO] [stdout]    --> src/binance_client/binance_client.rs:335:14
[INFO] [stdout]     |
[INFO] [stdout] 335 |         let (write, mut read) = ws_stream.split();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/binance_client/database_client.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let mut handle = self.connection_handle.lock();
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::SinkExt`
[INFO] [stdout]   --> src/binance_client/binance_client.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use futures_util::SinkExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `symbol`, `orig_client_order_id`, `order_id`, `order_list_id`, and `client_order_id` are never read
[INFO] [stdout]   --> src/binance_client/order_types/cancel_order_response.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct CancelOrderResponse {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout]  6 |     // Define fields according to Binance API response for a canceled order
[INFO] [stdout]  7 |     symbol: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]  8 |     orig_client_order_id: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     order_id: i64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     order_list_id: i64, // Unless dealing with OCO, this will be -1
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 11 |     client_order_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CancelOrderResponse` 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: function `create_database_if_not_exists` is never used
[INFO] [stdout]   --> src/binance_client/account/postgresql.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 | async fn create_database_if_not_exists() -> Result<(), Error> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_tables` is never used
[INFO] [stdout]    --> src/binance_client/account/postgresql.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | async fn initialize_tables() -> Result<(), Error> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_stream_path` is never used
[INFO] [stdout]   --> src/binance_client/streams/binance_stream.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl BinanceStreamTypes {
[INFO] [stdout]    | ----------------------- method in this implementation
[INFO] [stdout] 13 |     pub(crate) fn to_stream_path(&self) -> String {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BinanceWebSocket` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/binance_websocket.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct BinanceWebSocket<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `connect_and_listen` are never used
[INFO] [stdout]   --> src/binance_client/streams/binance_websocket.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<'a> BinanceWebSocket<'a> {
[INFO] [stdout]    | ----------------------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(binance_client: &'a BinanceClient) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn connect_and_listen(&self, streams: Vec<BinanceStreamTypes>) -> Result<(), IOError> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DepthMessage` is never constructed
[INFO] [stdout]  --> src/binance_client/streams/depth_stream.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct DepthMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DepthData` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/depth_stream.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DepthData {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bid` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/depth_stream.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct Bid {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ask` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/depth_stream.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Ask {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeMessage` is never constructed
[INFO] [stdout]  --> src/binance_client/streams/trade_stream.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct TradeMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeData` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/trade_stream.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct TradeData {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TickerMessage` is never constructed
[INFO] [stdout]  --> src/binance_client/streams/ticker_stream.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct TickerMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TickerData` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/ticker_stream.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct TickerData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiniTickerMessage` is never constructed
[INFO] [stdout]  --> src/binance_client/streams/mini_ticker_stream.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MiniTickerMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiniTickerData` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/mini_ticker_stream.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MiniTickerData {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookTickerMessage` is never constructed
[INFO] [stdout]  --> src/binance_client/streams/book_ticker_stream.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct BookTickerMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookTickerData` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/book_ticker_stream.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct BookTickerData {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AllMarketMiniTickersMessage` is never constructed
[INFO] [stdout]  --> src/binance_client/streams/all_market_mini_ticker_streams.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct AllMarketMiniTickersMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiniTicker` is never constructed
[INFO] [stdout]   --> src/binance_client/streams/all_market_mini_ticker_streams.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MiniTicker {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_string_to_u64` is never used
[INFO] [stdout]   --> src/binance_client/deserialization.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn deserialize_string_to_u64<'de, D>(deserializer: D) -> Result<u64, D::Error>
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_string_to_i64` is never used
[INFO] [stdout]   --> src/binance_client/deserialization.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn deserialize_string_to_i64<'de, D>(deserializer: D) -> Result<i64, D::Error>
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_string_to_decimal` is never used
[INFO] [stdout]   --> src/binance_client/deserialization.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn deserialize_string_to_decimal<'de, D>(deserializer: D) -> Result<Decimal, D::Error>
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_optional_string_to_u64` is never used
[INFO] [stdout]   --> src/binance_client/deserialization.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn deserialize_optional_string_to_u64<'de, D>(deserializer: D) -> Result<Option<u64>, D::Error>
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_optional_string_to_bool` is never used
[INFO] [stdout]   --> src/binance_client/deserialization.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn deserialize_optional_string_to_bool<'de, D>(deserializer: D) -> Result<Option<bool>, D::Error>
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CancelOrderResponse` is never constructed
[INFO] [stdout]  --> src/binance_client/cancel_order_response.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct CancelOrderResponse {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fill` is never constructed
[INFO] [stdout]   --> src/binance_client/cancel_order_response.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Fill {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/binance_client/spot_orders.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(api: &BinanceClient) -> SpotClient {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(api: &BinanceClient) -> SpotClient<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `orderId` should have a snake case name
[INFO] [stdout]  --> src/binance_client/order_types/open_order.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     orderId: i64,
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `order_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `origQty` should have a snake case name
[INFO] [stdout]   --> src/binance_client/order_types/open_order.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     origQty: String,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `orig_qty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `executedQty` should have a snake case name
[INFO] [stdout]   --> src/binance_client/order_types/open_order.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     executedQty: String,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `executed_qty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `timeInForce` should have a snake case name
[INFO] [stdout]   --> src/binance_client/order_types/open_order.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     timeInForce: String,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to snake case: `time_in_force`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/binance_client/margin_client.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(api: &BinanceClient) -> MarginClient {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(api: &BinanceClient) -> MarginClient<'_> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.45s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/binance_api/index.html and 2 other files
[INFO] running `Command { std: "docker" "inspect" "78c4ce0f80981b18e69813418df3c0d30ca33b73c2c0f2153005a510f4474a27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78c4ce0f80981b18e69813418df3c0d30ca33b73c2c0f2153005a510f4474a27", kill_on_drop: false }`
[INFO] [stdout] 78c4ce0f80981b18e69813418df3c0d30ca33b73c2c0f2153005a510f4474a27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d7a91662653b755f918978e83f0e77b58b8ace11c6afdb8ae953a365aad53d7
[INFO] running `Command { std: "docker" "start" "-a" "1d7a91662653b755f918978e83f0e77b58b8ace11c6afdb8ae953a365aad53d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stdout] error[E0412]: cannot find type `SourceFile` in crate `proc_macro`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.79/src/wrapper.rs:364:26
[INFO] [stdout]     |
[INFO] [stdout] 364 |     Compiler(proc_macro::SourceFile),
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::SourceFile;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::fallback::SourceFile;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `SourceFile`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 364 -     Compiler(proc_macro::SourceFile),
[INFO] [stdout] 364 +     Compiler(SourceFile),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SourceFile` in crate `proc_macro`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.79/src/wrapper.rs:370:32
[INFO] [stdout]     |
[INFO] [stdout] 370 |     fn nightly(sf: proc_macro::SourceFile) -> Self {
[INFO] [stdout]     |                                ^^^^^^^^^^ not found in `proc_macro`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::SourceFile;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::fallback::SourceFile;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `SourceFile`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 370 -     fn nightly(sf: proc_macro::SourceFile) -> Self {
[INFO] [stdout] 370 +     fn nightly(sf: SourceFile) -> Self {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source_file` found for reference `&proc_macro::Span` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.79/src/wrapper.rs:460:56
[INFO] [stdout]     |
[INFO] [stdout] 460 |             Span::Compiler(s) => SourceFile::nightly(s.source_file()),
[INFO] [stdout]     |                                                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `source` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 460 -             Span::Compiler(s) => SourceFile::nightly(s.source_file()),
[INFO] [stdout] 460 +             Span::Compiler(s) => SourceFile::nightly(s.source()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "1d7a91662653b755f918978e83f0e77b58b8ace11c6afdb8ae953a365aad53d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d7a91662653b755f918978e83f0e77b58b8ace11c6afdb8ae953a365aad53d7", kill_on_drop: false }`
[INFO] [stdout] 1d7a91662653b755f918978e83f0e77b58b8ace11c6afdb8ae953a365aad53d7
