[INFO] cloning repository https://github.com/thetrung/ocm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thetrung/ocm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetrung%2Focm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetrung%2Focm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b0441d1a63ec83b34fa581d4283e3b308be4721 [INFO] testing thetrung/ocm against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthetrung%2Focm" "/workspace/builds/worker-109/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-109/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thetrung/ocm on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thetrung/ocm [INFO] finished tweaking git repo https://github.com/thetrung/ocm [INFO] tweaked toml for git repo https://github.com/thetrung/ocm written to /workspace/builds/worker-109/source/Cargo.toml [INFO] crate git repo https://github.com/thetrung/ocm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9ac4a1309b35718609463b46737edcda17876ab834d0d86acd55068b302a777 [INFO] running `Command { std: "docker" "start" "-a" "d9ac4a1309b35718609463b46737edcda17876ab834d0d86acd55068b302a777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ac4a1309b35718609463b46737edcda17876ab834d0d86acd55068b302a777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ac4a1309b35718609463b46737edcda17876ab834d0d86acd55068b302a777", kill_on_drop: false }` [INFO] [stdout] d9ac4a1309b35718609463b46737edcda17876ab834d0d86acd55068b302a777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f722263a3019f71cfad11a254d668ba269492995c1f6b83d56bdd099e50fb8d2 [INFO] running `Command { std: "docker" "start" "-a" "f722263a3019f71cfad11a254d668ba269492995c1f6b83d56bdd099e50fb8d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling configparser v2.0.0 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling tracing v0.1.24 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tungstenite v0.15.0 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling binance v0.18.2 [INFO] [stderr] Compiling railgun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `configparser::ini::Ini` [INFO] [stdout] --> src/analyzer/executor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use configparser::ini::Ini; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `binance::model::Transaction` [INFO] [stdout] --> src/analyzer/executor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use binance::model::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/analyzer/executor.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | thread::{self, JoinHandle} , [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/analyzer.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 347 | / loop { [INFO] [stdout] 348 | | let benchmark = SystemTime::now(); // BENCHMARK [INFO] [stdout] 349 | | let mut tickers_update_time:Duration = Duration::from_millis(0); [INFO] [stdout] 350 | | let mut tickers_a: HashMap = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 443 | | } [INFO] [stdout] 444 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 445 | // ending [INFO] [stdout] 446 | println!("\n> RailGun Out.\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `binance::api` [INFO] [stdout] --> src/analyzer/executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use binance::api::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data_cache` is never read [INFO] [stdout] --> src/analyzer.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut data_cache:Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_profit` is never read [INFO] [stdout] --> src/analyzer.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | let mut final_profit:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `balance_qty` is never read [INFO] [stdout] --> src/analyzer/executor.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut balance_qty:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `custom_price` is never read [INFO] [stdout] --> src/analyzer/executor.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut custom_price:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `balance_qty` is never read [INFO] [stdout] --> src/analyzer/executor.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let mut balance_qty:f64 = 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: `custom_price` [INFO] [stdout] --> src/analyzer/executor.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut custom_price:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/analyzer/executor.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `finish_count` is never read [INFO] [stdout] --> src/analyzer/executor.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | finish_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analyzer/executor.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let mut custom_price:f64 = 0.0; [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: function is never used: `execute_final_ring_pallarel` [INFO] [stdout] --> src/analyzer/executor.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn execute_final_ring_pallarel(account: &Account, market: &Market, ring_component: &RingComponent, final_ring: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.66s [INFO] running `Command { std: "docker" "inspect" "f722263a3019f71cfad11a254d668ba269492995c1f6b83d56bdd099e50fb8d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f722263a3019f71cfad11a254d668ba269492995c1f6b83d56bdd099e50fb8d2", kill_on_drop: false }` [INFO] [stdout] f722263a3019f71cfad11a254d668ba269492995c1f6b83d56bdd099e50fb8d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b022d9cf712d3ab7cee546615a03f18471bd9a5e4df86fd8cfacbafdfe6b23f5 [INFO] running `Command { std: "docker" "start" "-a" "b022d9cf712d3ab7cee546615a03f18471bd9a5e4df86fd8cfacbafdfe6b23f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling railgun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `configparser::ini::Ini` [INFO] [stdout] --> src/analyzer/executor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use configparser::ini::Ini; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `binance::model::Transaction` [INFO] [stdout] --> src/analyzer/executor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use binance::model::Transaction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/analyzer/executor.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | thread::{self, JoinHandle} , [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/analyzer.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 347 | / loop { [INFO] [stdout] 348 | | let benchmark = SystemTime::now(); // BENCHMARK [INFO] [stdout] 349 | | let mut tickers_update_time:Duration = Duration::from_millis(0); [INFO] [stdout] 350 | | let mut tickers_a: HashMap = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 443 | | } [INFO] [stdout] 444 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 445 | // ending [INFO] [stdout] 446 | println!("\n> RailGun Out.\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `binance::api` [INFO] [stdout] --> src/analyzer/executor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use binance::api::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `data_cache` is never read [INFO] [stdout] --> src/analyzer.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut data_cache:Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_profit` is never read [INFO] [stdout] --> src/analyzer.rs:406:29 [INFO] [stdout] | [INFO] [stdout] 406 | let mut final_profit:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `balance_qty` is never read [INFO] [stdout] --> src/analyzer/executor.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut balance_qty:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `custom_price` is never read [INFO] [stdout] --> src/analyzer/executor.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut custom_price:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `balance_qty` is never read [INFO] [stdout] --> src/analyzer/executor.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let mut balance_qty:f64 = 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: `custom_price` [INFO] [stdout] --> src/analyzer/executor.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | let mut custom_price:f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/analyzer/executor.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | index = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `finish_count` is never read [INFO] [stdout] --> src/analyzer/executor.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | finish_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analyzer/executor.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let mut custom_price:f64 = 0.0; [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: function is never used: `execute_final_ring_pallarel` [INFO] [stdout] --> src/analyzer/executor.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn execute_final_ring_pallarel(account: &Account, market: &Market, ring_component: &RingComponent, final_ring: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.76s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/railgun-c6bf623f27b067f8) [INFO] running `Command { std: "docker" "inspect" "b022d9cf712d3ab7cee546615a03f18471bd9a5e4df86fd8cfacbafdfe6b23f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b022d9cf712d3ab7cee546615a03f18471bd9a5e4df86fd8cfacbafdfe6b23f5", kill_on_drop: false }` [INFO] [stdout] b022d9cf712d3ab7cee546615a03f18471bd9a5e4df86fd8cfacbafdfe6b23f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59f59241950494320898fcaeafcf39db371a6bf536daed62e79cd71047c3c4a9 [INFO] running `Command { std: "docker" "start" "-a" "59f59241950494320898fcaeafcf39db371a6bf536daed62e79cd71047c3c4a9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `configparser::ini::Ini` [INFO] [stderr] --> src/analyzer/executor.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use configparser::ini::Ini; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `binance::model::Transaction` [INFO] [stderr] --> src/analyzer/executor.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use binance::model::Transaction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `JoinHandle` [INFO] [stderr] --> src/analyzer/executor.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | thread::{self, JoinHandle} , [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/analyzer.rs:446:5 [INFO] [stderr] | [INFO] [stderr] 347 | / loop { [INFO] [stderr] 348 | | let benchmark = SystemTime::now(); // BENCHMARK [INFO] [stderr] 349 | | let mut tickers_update_time:Duration = Duration::from_millis(0); [INFO] [stderr] 350 | | let mut tickers_a: HashMap = HashMap::new(); [INFO] [stderr] ... | [INFO] [stderr] 443 | | } [INFO] [stderr] 444 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 445 | // ending [INFO] [stderr] 446 | println!("\n> RailGun Out.\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `binance::api` [INFO] [stderr] --> src/analyzer/executor.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use binance::api::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `data_cache` is never read [INFO] [stderr] --> src/analyzer.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | let mut data_cache:Vec = vec![]; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `final_profit` is never read [INFO] [stderr] --> src/analyzer.rs:406:29 [INFO] [stderr] | [INFO] [stderr] 406 | let mut final_profit:f64 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `balance_qty` is never read [INFO] [stderr] --> src/analyzer/executor.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | let mut balance_qty:f64 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `custom_price` is never read [INFO] [stderr] --> src/analyzer/executor.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | let mut custom_price:f64 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `balance_qty` is never read [INFO] [stderr] --> src/analyzer/executor.rs:288:13 [INFO] [stderr] | [INFO] [stderr] 288 | let mut balance_qty:f64 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `custom_price` [INFO] [stderr] --> src/analyzer/executor.rs:289:13 [INFO] [stderr] | [INFO] [stderr] 289 | let mut custom_price:f64 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_custom_price` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `index` is never read [INFO] [stderr] --> src/analyzer/executor.rs:383:13 [INFO] [stderr] | [INFO] [stderr] 383 | index = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `finish_count` is never read [INFO] [stderr] --> src/analyzer/executor.rs:384:13 [INFO] [stderr] | [INFO] [stderr] 384 | finish_count = 0; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/analyzer/executor.rs:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | let mut custom_price:f64 = 0.0; [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: function is never used: `execute_final_ring_pallarel` [INFO] [stderr] --> src/analyzer/executor.rs:273:8 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn execute_final_ring_pallarel(account: &Account, market: &Market, ring_component: &RingComponent, final_ring: &Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `railgun` (bin "railgun" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/railgun-c6bf623f27b067f8) [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" "59f59241950494320898fcaeafcf39db371a6bf536daed62e79cd71047c3c4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f59241950494320898fcaeafcf39db371a6bf536daed62e79cd71047c3c4a9", kill_on_drop: false }` [INFO] [stdout] 59f59241950494320898fcaeafcf39db371a6bf536daed62e79cd71047c3c4a9