[INFO] cloning repository https://github.com/ZYJ-q/test_robot_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZYJ-q/test_robot_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Ftest_robot_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Ftest_robot_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5523defbe2d7f431380906cfbe0d9eb4ab760e2 [INFO] testing ZYJ-q/test_robot_server against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Ftest_robot_server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZYJ-q/test_robot_server on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZYJ-q/test_robot_server [INFO] finished tweaking git repo https://github.com/ZYJ-q/test_robot_server [INFO] tweaked toml for git repo https://github.com/ZYJ-q/test_robot_server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZYJ-q/test_robot_server 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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-enum v0.2.6 [INFO] [stderr] Downloaded mysql v20.1.0 [INFO] [stderr] Downloaded log4rs v0.10.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fff08c540cdc99c12a603c7acb39632f5409199c2fbc20e818ae2bf37bf5e2de [INFO] running `Command { std: "docker" "start" "-a" "fff08c540cdc99c12a603c7acb39632f5409199c2fbc20e818ae2bf37bf5e2de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff08c540cdc99c12a603c7acb39632f5409199c2fbc20e818ae2bf37bf5e2de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff08c540cdc99c12a603c7acb39632f5409199c2fbc20e818ae2bf37bf5e2de", kill_on_drop: false }` [INFO] [stdout] fff08c540cdc99c12a603c7acb39632f5409199c2fbc20e818ae2bf37bf5e2de [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 224469f385d045cf1fd127ddb9adc44f1ab32ecdedcb7615aa89869469769c9c [INFO] running `Command { std: "docker" "start" "-a" "224469f385d045cf1fd127ddb9adc44f1ab32ecdedcb7615aa89869469769c9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.14 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.85 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.50 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cpufeatures v0.2.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rust_decimal v1.29.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling ssh2 v0.9.4 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling log4rs v0.10.0 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling monitor_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:271:59 [INFO] [stdout] | [INFO] [stdout] 271 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:272:59 [INFO] [stdout] | [INFO] [stdout] 272 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Utc, Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parase::get_account_bybit` [INFO] [stdout] --> src/common/mod.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::actors::adapters::bybit::{futures_api::ByBitFuturesApi, parase::get_account_bybit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/http_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut best_price = 0.00; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut trade_incomes: VecDeque = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut pos = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_lear` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | let category_lear = "spot"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_lear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `position_side` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let mut position_side = ""; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wallet_balance` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:303:25 [INFO] [stdout] | [INFO] [stdout] 303 | let mut wallet_balance = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:376:3 [INFO] [stdout] | [INFO] [stdout] 376 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:440:3 [INFO] [stdout] | [INFO] [stdout] 440 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:505:3 [INFO] [stdout] | [INFO] [stdout] 505 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:569:3 [INFO] [stdout] | [INFO] [stdout] 569 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/common/http/actions.rs:663:10 [INFO] [stdout] | [INFO] [stdout] 663 | for (key, value) in &name_api { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/common/http/actions.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | #[warn(dead_code, unused_variables, unused_mut)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_day` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let last_day = dt - 1000*60*60*24 * 8; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "224469f385d045cf1fd127ddb9adc44f1ab32ecdedcb7615aa89869469769c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "224469f385d045cf1fd127ddb9adc44f1ab32ecdedcb7615aa89869469769c9c", kill_on_drop: false }` [INFO] [stdout] 224469f385d045cf1fd127ddb9adc44f1ab32ecdedcb7615aa89869469769c9c [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 865dbbee58ecf63e56ca4ce8b5764d93160aad6f44ac6e7a9bf6c568f37d06dc [INFO] running `Command { std: "docker" "start" "-a" "865dbbee58ecf63e56ca4ce8b5764d93160aad6f44ac6e7a9bf6c568f37d06dc", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:271:59 [INFO] [stdout] | [INFO] [stdout] 271 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:272:59 [INFO] [stdout] | [INFO] [stdout] 272 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Utc, Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parase::get_account_bybit` [INFO] [stdout] --> src/common/mod.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::actors::adapters::bybit::{futures_api::ByBitFuturesApi, parase::get_account_bybit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/http_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut best_price = 0.00; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut trade_incomes: VecDeque = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut pos = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_lear` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | let category_lear = "spot"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_lear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `position_side` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let mut position_side = ""; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wallet_balance` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:303:25 [INFO] [stdout] | [INFO] [stdout] 303 | let mut wallet_balance = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:376:3 [INFO] [stdout] | [INFO] [stdout] 376 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:440:3 [INFO] [stdout] | [INFO] [stdout] 440 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:505:3 [INFO] [stdout] | [INFO] [stdout] 505 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling monitor_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:569:3 [INFO] [stdout] | [INFO] [stdout] 569 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/common/http/actions.rs:663:10 [INFO] [stdout] | [INFO] [stdout] 663 | for (key, value) in &name_api { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/common/http/actions.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | #[warn(dead_code, unused_variables, unused_mut)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_day` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let last_day = dt - 1000*60*60*24 * 8; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:271:59 [INFO] [stdout] | [INFO] [stdout] 271 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:272:59 [INFO] [stdout] | [INFO] [stdout] 272 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Utc, Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parase::get_account_bybit` [INFO] [stdout] --> src/common/mod.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::actors::adapters::bybit::{futures_api::ByBitFuturesApi, parase::get_account_bybit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/http_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut best_price = 0.00; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut trade_incomes: VecDeque = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut pos = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_lear` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | let category_lear = "spot"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_lear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `position_side` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let mut position_side = ""; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wallet_balance` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:303:25 [INFO] [stdout] | [INFO] [stdout] 303 | let mut wallet_balance = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:376:3 [INFO] [stdout] | [INFO] [stdout] 376 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:440:3 [INFO] [stdout] | [INFO] [stdout] 440 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:505:3 [INFO] [stdout] | [INFO] [stdout] 505 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:569:3 [INFO] [stdout] | [INFO] [stdout] 569 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/common/http/actions.rs:663:10 [INFO] [stdout] | [INFO] [stdout] 663 | for (key, value) in &name_api { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/common/http/actions.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | #[warn(dead_code, unused_variables, unused_mut)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_day` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let last_day = dt - 1000*60*60*24 * 8; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "865dbbee58ecf63e56ca4ce8b5764d93160aad6f44ac6e7a9bf6c568f37d06dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865dbbee58ecf63e56ca4ce8b5764d93160aad6f44ac6e7a9bf6c568f37d06dc", kill_on_drop: false }` [INFO] [stdout] 865dbbee58ecf63e56ca4ce8b5764d93160aad6f44ac6e7a9bf6c568f37d06dc [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67266fb608369e48ac5b4693e31fc8304e8bea199fad83e718d755e7dc44be84 [INFO] running `Command { std: "docker" "start" "-a" "67266fb608369e48ac5b4693e31fc8304e8bea199fad83e718d755e7dc44be84", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/actors/adapters/binance/futures_api.rs:271:59 [INFO] [stderr] | [INFO] [stderr] 271 | let res_data = self.check_response_data(response);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/actors/adapters/binance/papi_api.rs:272:59 [INFO] [stderr] | [INFO] [stderr] 272 | let res_data = self.check_response_data(response);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Local` [INFO] [stderr] --> src/actors/adapters/bybit/futures_api.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::{Utc, Local}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `chrono::Local` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use chrono::Local; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parase::get_account_bybit` [INFO] [stderr] --> src/common/mod.rs:8:68 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::actors::adapters::bybit::{futures_api::ByBitFuturesApi, parase::get_account_bybit}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::string` [INFO] [stderr] --> src/models/http_data.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::string; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alarm` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | alarm: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prices` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:126:17 [INFO] [stderr] | [INFO] [stderr] 126 | let mut prices: f64 = 0.0; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let mut best_price = 0.00; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | let mut prices: f64 = 0.0; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 206 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 261 | id: &u64, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:332:5 [INFO] [stderr] | [INFO] [stderr] 332 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:449:5 [INFO] [stderr] | [INFO] [stderr] 449 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alarm` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:450:5 [INFO] [stderr] | [INFO] [stderr] 450 | alarm: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prices` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:493:17 [INFO] [stderr] | [INFO] [stderr] 493 | let mut prices: f64 = 0.0; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:493:13 [INFO] [stderr] | [INFO] [stderr] 493 | let mut prices: f64 = 0.0; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:573:5 [INFO] [stderr] | [INFO] [stderr] 573 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:628:5 [INFO] [stderr] | [INFO] [stderr] 628 | id: &u64, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:629:5 [INFO] [stderr] | [INFO] [stderr] 629 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:700:5 [INFO] [stderr] | [INFO] [stderr] 700 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:745:5 [INFO] [stderr] | [INFO] [stderr] 745 | id: &u64, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/actors/adapters/binance/parase.rs:748:9 [INFO] [stderr] | [INFO] [stderr] 748 | let mut trade_incomes: VecDeque = VecDeque::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alarm` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | alarm: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `spot_symbol` is never read [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | let mut spot_symbol = " "; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `pos` is never read [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:87:19 [INFO] [stderr] | [INFO] [stderr] 87 | let mut pos = 0.0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:219:3 [INFO] [stderr] | [INFO] [stderr] 219 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:283:3 [INFO] [stderr] | [INFO] [stderr] 283 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category_lear` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:285:11 [INFO] [stderr] | [INFO] [stderr] 285 | let category_lear = "spot"; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_lear` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `position_side` is never read [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:292:19 [INFO] [stderr] | [INFO] [stderr] 292 | let mut position_side = ""; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `spot_symbol` is never read [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:293:19 [INFO] [stderr] | [INFO] [stderr] 293 | let mut spot_symbol = " "; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `wallet_balance` is never read [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:303:25 [INFO] [stderr] | [INFO] [stderr] 303 | let mut wallet_balance = ""; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:375:3 [INFO] [stderr] | [INFO] [stderr] 375 | id: &u64, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:376:3 [INFO] [stderr] | [INFO] [stderr] 376 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:440:3 [INFO] [stderr] | [INFO] [stderr] 440 | id: &u64, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:441:3 [INFO] [stderr] | [INFO] [stderr] 441 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:505:3 [INFO] [stderr] | [INFO] [stderr] 505 | id: &u64, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:506:3 [INFO] [stderr] | [INFO] [stderr] 506 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `origin_balance` [INFO] [stderr] --> src/actors/adapters/bybit/parase.rs:569:3 [INFO] [stderr] | [INFO] [stderr] 569 | origin_balance: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/common/http/actions.rs:663:10 [INFO] [stderr] | [INFO] [stderr] 663 | for (key, value) in &name_api { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/common/http/actions.rs:635:19 [INFO] [stderr] | [INFO] [stderr] 635 | #[warn(dead_code, unused_variables, unused_mut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category` [INFO] [stderr] --> src/actors/adapters/binance/futures_api.rs:283:30 [INFO] [stderr] | [INFO] [stderr] 283 | async fn position(&self, category: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category` [INFO] [stderr] --> src/actors/adapters/binance/futures_api.rs:330:37 [INFO] [stderr] | [INFO] [stderr] 330 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `income_type` [INFO] [stderr] --> src/actors/adapters/binance/futures_api.rs:354:32 [INFO] [stderr] | [INFO] [stderr] 354 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category` [INFO] [stderr] --> src/actors/adapters/binance/papi_api.rs:284:30 [INFO] [stderr] | [INFO] [stderr] 284 | async fn position(&self, category: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `category` [INFO] [stderr] --> src/actors/adapters/binance/papi_api.rs:331:37 [INFO] [stderr] | [INFO] [stderr] 331 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `last_day` [INFO] [stderr] --> src/actors/adapters/binance/papi_api.rs:359:13 [INFO] [stderr] | [INFO] [stderr] 359 | let last_day = dt - 1000*60*60*24 * 8; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_day` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `income_type` [INFO] [stderr] --> src/actors/adapters/bybit/futures_api.rs:357:32 [INFO] [stderr] | [INFO] [stderr] 357 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stderr] [INFO] [stderr] warning: `monitor_server` (lib) generated 50 warnings (run `cargo fix --lib -p monitor_server` to apply 43 suggestions) [INFO] [stderr] warning: `monitor_server` (lib test) generated 50 warnings (50 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/monitor_server-16c3c9329dc86c01) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monitor_server-03378b6e2f62dcbf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests monitor_server [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/actors/adapters/binance/futures_api.rs:271:59 [INFO] [stderr] | [INFO] [stderr] 271 | let res_data = self.check_response_data(response);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/actors/adapters/binance/papi_api.rs:272:59 [INFO] [stderr] | [INFO] [stderr] 272 | let res_data = self.check_response_data(response);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67266fb608369e48ac5b4693e31fc8304e8bea199fad83e718d755e7dc44be84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67266fb608369e48ac5b4693e31fc8304e8bea199fad83e718d755e7dc44be84", kill_on_drop: false }` [INFO] [stdout] 67266fb608369e48ac5b4693e31fc8304e8bea199fad83e718d755e7dc44be84 [INFO] testing ZYJ-q/test_robot_server against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZYJ-q%2Ftest_robot_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZYJ-q/test_robot_server on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZYJ-q/test_robot_server [INFO] finished tweaking git repo https://github.com/ZYJ-q/test_robot_server [INFO] tweaked toml for git repo https://github.com/ZYJ-q/test_robot_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZYJ-q/test_robot_server 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e381b666c0a34450e05be1a790f69651a74155a661a4606845bfa473e84b516 [INFO] running `Command { std: "docker" "start" "-a" "8e381b666c0a34450e05be1a790f69651a74155a661a4606845bfa473e84b516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e381b666c0a34450e05be1a790f69651a74155a661a4606845bfa473e84b516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e381b666c0a34450e05be1a790f69651a74155a661a4606845bfa473e84b516", kill_on_drop: false }` [INFO] [stdout] 8e381b666c0a34450e05be1a790f69651a74155a661a4606845bfa473e84b516 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a8bc6003347b681a479321993408b27331f0446c8623a2e01f8b5e492a804d2 [INFO] running `Command { std: "docker" "start" "-a" "6a8bc6003347b681a479321993408b27331f0446c8623a2e01f8b5e492a804d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling syn v2.0.14 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.85 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling openssl v0.10.50 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cpufeatures v0.2.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bytestring v1.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling rust_decimal v1.29.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling mysql v20.1.0 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling mysql_common v0.24.1 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling log4rs v0.10.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling ssh2 v0.9.4 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling actix-cors v0.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling monitor_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:271:59 [INFO] [stdout] | [INFO] [stdout] 271 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:272:59 [INFO] [stdout] | [INFO] [stdout] 272 | let res_data = self.check_response_data(response);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Utc, Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hex` is imported redundantly [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ the item `hex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parase::get_account_bybit` [INFO] [stdout] --> src/common/mod.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::actors::adapters::bybit::{futures_api::ByBitFuturesApi, parase::get_account_bybit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string` [INFO] [stdout] --> src/models/http_data.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::string; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut best_price = 0.00; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | let mut prices: f64 = 0.0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:573:5 [INFO] [stdout] | [INFO] [stdout] 573 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:700:5 [INFO] [stdout] | [INFO] [stdout] 700 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/actors/adapters/binance/parase.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | let mut trade_incomes: VecDeque = VecDeque::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alarm` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | alarm: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alarm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut pos = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category_lear` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 285 | let category_lear = "spot"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category_lear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `position_side` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let mut position_side = ""; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `spot_symbol` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:293:19 [INFO] [stdout] | [INFO] [stdout] 293 | let mut spot_symbol = " "; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wallet_balance` is never read [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:303:25 [INFO] [stdout] | [INFO] [stdout] 303 | let mut wallet_balance = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:375:3 [INFO] [stdout] | [INFO] [stdout] 375 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:376:3 [INFO] [stdout] | [INFO] [stdout] 376 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:440:3 [INFO] [stdout] | [INFO] [stdout] 440 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:441:3 [INFO] [stdout] | [INFO] [stdout] 441 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:505:3 [INFO] [stdout] | [INFO] [stdout] 505 | id: &u64, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_balance` [INFO] [stdout] --> src/actors/adapters/bybit/parase.rs:569:3 [INFO] [stdout] | [INFO] [stdout] 569 | origin_balance: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/common/http/actions.rs:663:10 [INFO] [stdout] | [INFO] [stdout] 663 | for (key, value) in &name_api { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/common/http/actions.rs:635:19 [INFO] [stdout] | [INFO] [stdout] 635 | #[warn(dead_code, unused_variables, unused_mut)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:330:37 [INFO] [stdout] | [INFO] [stdout] 330 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `category` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:331:37 [INFO] [stdout] | [INFO] [stdout] 331 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_category` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_day` [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let last_day = dt - 1000*60*60*24 * 8; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_day` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `income_type` [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_income_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | async fn account(&self) -> Option { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 168 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:167:47: 187:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:189:53 [INFO] [stdout] | [INFO] [stdout] 189 | async fn position_risk(&self) -> Option { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 190 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 191 | | [INFO] [stdout] 192 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:189:53: 209:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | async fn position_um(&self) -> Option { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 212 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 230 | | } [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:211:51: 231:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:233:68 [INFO] [stdout] | [INFO] [stdout] 233 | async fn trade_hiostory(&self, symbol: &str) -> Option { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 234 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 235 | | params.insert(String::from("symbol"), Value::from(symbol)); [INFO] [stdout] 236 | | params.insert(String::from("limit"), Value::from(1000)); [INFO] [stdout] ... | [INFO] [stdout] 255 | | } [INFO] [stdout] 256 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:233:68: 256:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:261:60 [INFO] [stdout] | [INFO] [stdout] 261 | async fn get_open_orders_usdc(&self) -> Option { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 262 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 263 | | [INFO] [stdout] 264 | | params.insert(String::from("category"), Value::from("spot")); [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:261:60: 281:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:283:64 [INFO] [stdout] | [INFO] [stdout] 283 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 284 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 285 | | [INFO] [stdout] 286 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 302 | | } [INFO] [stdout] 303 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:283:64: 303:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:304:64 [INFO] [stdout] | [INFO] [stdout] 304 | async fn get_klines(&self, symbol: &str) -> Option { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 305 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 306 | | params.insert(String::from("symbol"), Value::from(symbol)); [INFO] [stdout] 307 | | [INFO] [stdout] ... | [INFO] [stdout] 326 | | } [INFO] [stdout] 327 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:304:64: 327:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:330:71 [INFO] [stdout] | [INFO] [stdout] 330 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 331 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 332 | | [INFO] [stdout] 333 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 350 | | } [INFO] [stdout] 351 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:330:71: 351:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:354:69 [INFO] [stdout] | [INFO] [stdout] 354 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 355 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 356 | | [INFO] [stdout] 357 | | let dt = Local::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 377 | | } [INFO] [stdout] 378 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/futures_api.rs:354:69: 378:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/futures_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:167:47 [INFO] [stdout] | [INFO] [stdout] 167 | async fn account(&self) -> Option { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 168 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 186 | | } [INFO] [stdout] 187 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:167:47: 187:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:189:53 [INFO] [stdout] | [INFO] [stdout] 189 | async fn position_risk(&self) -> Option { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 190 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 191 | | [INFO] [stdout] 192 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] 209 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:189:53: 209:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:212:51 [INFO] [stdout] | [INFO] [stdout] 212 | async fn position_um(&self) -> Option { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 213 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 214 | | [INFO] [stdout] 215 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 231 | | } [INFO] [stdout] 232 | | } [INFO] [stdout] | |___^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:212:51: 232:4}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:234:68 [INFO] [stdout] | [INFO] [stdout] 234 | async fn trade_hiostory(&self, symbol: &str) -> Option { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 235 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 236 | | params.insert(String::from("symbol"), Value::from(symbol)); [INFO] [stdout] 237 | | params.insert(String::from("limit"), Value::from(1000)); [INFO] [stdout] ... | [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:234:68: 257:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:262:60 [INFO] [stdout] | [INFO] [stdout] 262 | async fn get_open_orders_usdc(&self) -> Option { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 263 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 264 | | [INFO] [stdout] 265 | | params.insert(String::from("category"), Value::from("spot")); [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:262:60: 282:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:284:64 [INFO] [stdout] | [INFO] [stdout] 284 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 285 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 286 | | [INFO] [stdout] 287 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 303 | | } [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:284:64: 304:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:305:64 [INFO] [stdout] | [INFO] [stdout] 305 | async fn get_klines(&self, symbol: &str) -> Option { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 306 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 307 | | params.insert(String::from("symbol"), Value::from(symbol)); [INFO] [stdout] 308 | | [INFO] [stdout] ... | [INFO] [stdout] 327 | | } [INFO] [stdout] 328 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:305:64: 328:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:331:71 [INFO] [stdout] | [INFO] [stdout] 331 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 332 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 333 | | [INFO] [stdout] 334 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 351 | | } [INFO] [stdout] 352 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:331:71: 352:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:355:69 [INFO] [stdout] | [INFO] [stdout] 355 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 356 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 357 | | [INFO] [stdout] 358 | | let dt = Local::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 378 | | } [INFO] [stdout] 379 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/binance/papi_api.rs:355:69: 379:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/binance/papi_api.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 123 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 124 | response.status(), [INFO] [stdout] 125 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:172:47 [INFO] [stdout] | [INFO] [stdout] 172 | async fn account(&self) -> Option { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 173 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 174 | | [INFO] [stdout] 175 | | // let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 191 | | } [INFO] [stdout] 192 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:172:47: 192:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | async fn position_risk(&self) -> Option { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 195 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 196 | | [INFO] [stdout] 197 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 213 | | } [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:194:53: 214:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:216:51 [INFO] [stdout] | [INFO] [stdout] 216 | async fn position_um(&self) -> Option { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 217 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 218 | | [INFO] [stdout] 219 | | let now_time = Utc::now().timestamp_millis(); [INFO] [stdout] ... | [INFO] [stdout] 235 | | } [INFO] [stdout] 236 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:216:51: 236:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:238:68 [INFO] [stdout] | [INFO] [stdout] 238 | async fn trade_hiostory(&self, symbol: &str) -> Option { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 239 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 240 | | params.insert(String::from("symbol"), Value::from(symbol)); [INFO] [stdout] 241 | | params.insert(String::from("limit"), Value::from(1000)); [INFO] [stdout] ... | [INFO] [stdout] 260 | | } [INFO] [stdout] 261 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:238:68: 261:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:263:64 [INFO] [stdout] | [INFO] [stdout] 263 | async fn position(&self, category: &str) -> Option { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 264 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 265 | | params.insert(String::from("category"), Value::from(category)); [INFO] [stdout] 266 | | params.insert(String::from("settleCoin"), Value::from("USDT")); [INFO] [stdout] ... | [INFO] [stdout] 281 | | } [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:263:64: 282:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:283:64 [INFO] [stdout] | [INFO] [stdout] 283 | async fn get_klines(&self, symbol: &str) -> Option { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 284 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 285 | | params.insert(String::from("symbol"), Value::from(symbol)); [INFO] [stdout] 286 | | [INFO] [stdout] ... | [INFO] [stdout] 305 | | } [INFO] [stdout] 306 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:283:64: 306:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:309:71 [INFO] [stdout] | [INFO] [stdout] 309 | async fn get_open_orders(&self, category: &str) -> Option { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 310 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 311 | | [INFO] [stdout] 312 | | params.insert(String::from("category"), Value::from(category)); [INFO] [stdout] ... | [INFO] [stdout] 328 | | } [INFO] [stdout] 329 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:309:71: 329:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:333:60 [INFO] [stdout] | [INFO] [stdout] 333 | async fn get_open_orders_usdc(&self) -> Option { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 334 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 335 | | [INFO] [stdout] 336 | | params.insert(String::from("category"), Value::from("spot")); [INFO] [stdout] ... | [INFO] [stdout] 353 | | } [INFO] [stdout] 354 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:333:60: 354:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:357:69 [INFO] [stdout] | [INFO] [stdout] 357 | async fn get_income(&self, income_type: &str) -> Option { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 358 | | let mut params: HashMap = HashMap::new(); [INFO] [stdout] 359 | | [INFO] [stdout] 360 | | let response = self [INFO] [stdout] ... | [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `core::fmt::rt::Opaque`, which is required by `{async block@src/actors/adapters/bybit/futures_api.rs:357:69: 374:6}: std::marker::Send` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> src/actors/adapters/bybit/futures_api.rs:130:37 [INFO] [stdout] | [INFO] [stdout] 128 | "code status error: {}-{}", [INFO] [stdout] | -- has type `core::fmt::rt::Argument<'_>` which is not `Send` [INFO] [stdout] 129 | response.status(), [INFO] [stdout] 130 | response.text().await.unwrap() [INFO] [stdout] | ^^^^^ await occurs here, with `{}` maybe used later [INFO] [stdout] = note: required for the cast from `Pin>` to `Pin> + std::marker::Send>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor_server` (lib) due to 28 previous errors; 53 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a8bc6003347b681a479321993408b27331f0446c8623a2e01f8b5e492a804d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a8bc6003347b681a479321993408b27331f0446c8623a2e01f8b5e492a804d2", kill_on_drop: false }` [INFO] [stdout] 6a8bc6003347b681a479321993408b27331f0446c8623a2e01f8b5e492a804d2