[INFO] cloning repository https://github.com/StarPlatin4m/crypto-analyze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StarPlatin4m/crypto-analyze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarPlatin4m%2Fcrypto-analyze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarPlatin4m%2Fcrypto-analyze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6516ae6de816364ad3417d12eac4a9c1312bf2f1 [INFO] checking StarPlatin4m/crypto-analyze against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarPlatin4m%2Fcrypto-analyze" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StarPlatin4m/crypto-analyze on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/StarPlatin4m/crypto-analyze [INFO] finished tweaking git repo https://github.com/StarPlatin4m/crypto-analyze [INFO] tweaked toml for git repo https://github.com/StarPlatin4m/crypto-analyze written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/StarPlatin4m/crypto-analyze already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b6f548276e92bf8436375b923082062b5e3058cc2d26c596cc5feaaf270465d [INFO] running `Command { std: "docker" "start" "-a" "3b6f548276e92bf8436375b923082062b5e3058cc2d26c596cc5feaaf270465d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b6f548276e92bf8436375b923082062b5e3058cc2d26c596cc5feaaf270465d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6f548276e92bf8436375b923082062b5e3058cc2d26c596cc5feaaf270465d", kill_on_drop: false }` [INFO] [stdout] 3b6f548276e92bf8436375b923082062b5e3058cc2d26c596cc5feaaf270465d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8fa2b635f2bc9b1bc62519e70f1ef8d3c9401a68bf9833fd141cfdb592f52fe [INFO] running `Command { std: "docker" "start" "-a" "b8fa2b635f2bc9b1bc62519e70f1ef8d3c9401a68bf9833fd141cfdb592f52fe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking binance v0.17.0 (https://github.com/wisespace-io/binance-rs.git#2c976fef) [INFO] [stderr] Checking binance-trader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/threaded.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threaded::t_sell` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use threaded::t_sell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen::generate`, `rund::simulate` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{gen::generate, read::readtovec, rund::simulate, threaded::t_buy}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/threaded.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `threaded::t_sell` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use threaded::t_sell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `gen::generate`, `rund::simulate` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{gen::generate, read::readtovec, rund::simulate, threaded::t_buy}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `det` [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | let (det, curr) = readtovec(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_det` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr` [INFO] [stdout] --> src/main.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let (det, curr) = readtovec(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_curr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `determinant` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(determinant: &str, pair: &str, startdate: u64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_determinant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(determinant: &str, pair: &str, startdate: u64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `startdate` [INFO] [stdout] --> src/main.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(determinant: &str, pair: &str, startdate: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_startdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle1` [INFO] [stdout] --> src/threaded.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let handle1 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> src/threaded.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let handle2 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle3` [INFO] [stdout] --> src/threaded.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let handle3 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle4` [INFO] [stdout] --> src/threaded.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let handle4 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle5` [INFO] [stdout] --> src/threaded.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let handle5 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle6` [INFO] [stdout] --> src/threaded.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let handle6 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle7` [INFO] [stdout] --> src/threaded.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let handle7 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle1` [INFO] [stdout] --> src/threaded.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let handle1 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> src/threaded.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let handle2 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle3` [INFO] [stdout] --> src/threaded.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let handle3 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle4` [INFO] [stdout] --> src/threaded.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let handle4 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle5` [INFO] [stdout] --> src/threaded.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let handle5 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle6` [INFO] [stdout] --> src/threaded.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let handle6 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle8` [INFO] [stdout] --> src/threaded.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let handle8 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DETERMINANT` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const DETERMINANT: &str = "ETHUSDT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIAT` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const FIAT: &str = "USDT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CURRENCY` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CURRENCY: &str = "ETH"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PAIR` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const PAIR: &str = "ETHUSDT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `det` [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | let (det, curr) = readtovec(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_det` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr` [INFO] [stdout] --> src/main.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let (det, curr) = readtovec(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_curr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `determinant` [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(determinant: &str, pair: &str, startdate: u64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_determinant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pair` [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(determinant: &str, pair: &str, startdate: u64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `startdate` [INFO] [stdout] --> src/main.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run(determinant: &str, pair: &str, startdate: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_startdate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle1` [INFO] [stdout] --> src/threaded.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let handle1 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> src/threaded.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let handle2 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle3` [INFO] [stdout] --> src/threaded.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let handle3 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle4` [INFO] [stdout] --> src/threaded.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let handle4 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle5` [INFO] [stdout] --> src/threaded.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let handle5 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle6` [INFO] [stdout] --> src/threaded.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let handle6 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle7` [INFO] [stdout] --> src/threaded.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let handle7 = thread::spawn(move || optim_sell(perc_up, time_up, d1, d2, time_d, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle1` [INFO] [stdout] --> src/threaded.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let handle1 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle2` [INFO] [stdout] --> src/threaded.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let handle2 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle3` [INFO] [stdout] --> src/threaded.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | let handle3 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle4` [INFO] [stdout] --> src/threaded.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let handle4 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle5` [INFO] [stdout] --> src/threaded.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let handle5 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle6` [INFO] [stdout] --> src/threaded.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let handle6 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle8` [INFO] [stdout] --> src/threaded.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let handle8 = thread::spawn(move || optim_buy(perc_down, time_d, d1, d2, time_up, d, c)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DETERMINANT` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const DETERMINANT: &str = "ETHUSDT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIAT` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const FIAT: &str = "USDT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CURRENCY` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CURRENCY: &str = "ETH"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PAIR` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const PAIR: &str = "ETHUSDT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.47s [INFO] running `Command { std: "docker" "inspect" "b8fa2b635f2bc9b1bc62519e70f1ef8d3c9401a68bf9833fd141cfdb592f52fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8fa2b635f2bc9b1bc62519e70f1ef8d3c9401a68bf9833fd141cfdb592f52fe", kill_on_drop: false }` [INFO] [stdout] b8fa2b635f2bc9b1bc62519e70f1ef8d3c9401a68bf9833fd141cfdb592f52fe