[INFO] cloning repository https://github.com/a-korkin/money_maker
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-korkin/money_maker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-korkin%2Fmoney_maker", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-korkin%2Fmoney_maker'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e85f329cd8bdfd3e3923d486f0af7056777fe06
[INFO] building a-korkin/money_maker against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-korkin%2Fmoney_maker" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/a-korkin/money_maker
[INFO] finished tweaking git repo https://github.com/a-korkin/money_maker
[INFO] tweaked toml for git repo https://github.com/a-korkin/money_maker written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/a-korkin/money_maker on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/a-korkin/money_maker 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded plotters-bitmap v0.3.7
[INFO] [stderr]   Downloaded windows-registry v0.5.2
[INFO] [stderr]   Downloaded yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]   Downloaded pathfinder_geometry v0.5.1
[INFO] [stderr]   Downloaded raylib v5.5.1
[INFO] [stderr]   Downloaded dwrote v0.11.3
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.5
[INFO] [stderr]   Downloaded prettyplease v0.2.33
[INFO] [stderr]   Downloaded font-kit v0.14.3
[INFO] [stderr]   Downloaded freetype-sys v0.20.1
[INFO] [stderr]   Downloaded raylib-sys v5.5.1
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b949ed3856d8d4a602b865663897ec6aca34cd103bb5c51aeaf3fb265f4afdc
[INFO] running `Command { std: "docker" "start" "-a" "4b949ed3856d8d4a602b865663897ec6aca34cd103bb5c51aeaf3fb265f4afdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b949ed3856d8d4a602b865663897ec6aca34cd103bb5c51aeaf3fb265f4afdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b949ed3856d8d4a602b865663897ec6aca34cd103bb5c51aeaf3fb265f4afdc", kill_on_drop: false }`
[INFO] [stdout] 4b949ed3856d8d4a602b865663897ec6aca34cd103bb5c51aeaf3fb265f4afdc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d5702d835a501c7f2694283dbeae8ccc4479a37e21db40e23b3768f8d32050f
[INFO] running `Command { std: "docker" "start" "-a" "8d5702d835a501c7f2694283dbeae8ccc4479a37e21db40e23b3768f8d32050f", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.25
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling bigdecimal v0.4.8
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling prettyplease v0.2.33
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling pathfinder_simd v0.5.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling bindgen v0.70.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling font-kit v0.14.3
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling clap_builder v4.5.39
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling clap v4.5.39
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling raylib-sys v5.5.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.19
[INFO] [stderr]    Compiling app v0.1.0 (/opt/rustwide/workdir/app)
[INFO] [stdout] warning: unused import: `TradeInfo`
[INFO] [stdout]  --> app/src/db/pg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     TradeInfo, TradeView,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> app/src/lib.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::{Duration, NaiveDate};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_candles`
[INFO] [stdout]   --> app/src/lib.rs:12:66
[INFO] [stdout]    |
[INFO] [stdout] 12 |     add_candles, add_securities, add_trades, get_all_securities, get_candles, init_db,
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Frame`, `TradeInfo`, and `TradeType`
[INFO] [stdout]   --> app/src/lib.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use models::common::{Candle, Frame, Trade, TradeInfo, TradeType};
[INFO] [stdout]    |                              ^^^^^         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> app/src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration as time_duration`
[INFO] [stdout]   --> app/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::time::Duration as time_duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `best_choice`, `pretty_print_info`, and `trade_info`
[INFO] [stdout]   --> app/src/lib.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | use strategy::strategy::{best_choice, pretty_print_candle, pretty_print_info, trade_info};
[INFO] [stdout]    |                          ^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> app/src/strategy/strategy.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut current_inner = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> app/src/strategy/strategy.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |         for (j, y) in hour_candles {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `volume_up` is assigned to, but never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     let mut volume_up: f32 = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_volume_up` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `volume_down` is assigned to, but never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let mut volume_down: f32 = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_volume_down` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_up` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             volume_up = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_up` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |             volume_up += candle.volume;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_down` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |             volume_down = 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 `volume_down` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:361:13
[INFO] [stdout]     |
[INFO] [stdout] 361 |             volume_down += candle.volume;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]    --> app/src/lib.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn display(candles: &Vec<Candle>) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print_info` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn pretty_print_info(info: &TradeInfo) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print_candle` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn pretty_print_candle(candle: &Candle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradesResult` is never constructed
[INFO] [stdout]   --> app/src/strategy/strategy.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct TradesResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `best_choice` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn best_choice(pool: &PgPool, security: &str, date: &NaiveDate) {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_quantities` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn get_quantities(scope_trades: &Vec<&TradeInfo>, datetime: &NaiveDateTime) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sum_quantity_scope` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn get_sum_quantity_scope(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_header` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn print_header() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_trades_result` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn print_trades_result(trades: &Vec<TradesResult>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cron v0.1.0 (/opt/rustwide/workdir/cron)
[INFO] [stderr]    Compiling raylib v5.5.1
[INFO] [stderr]    Compiling terminal v0.1.0 (/opt/rustwide/workdir/terminal)
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> terminal/src/lib.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Timelike};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> terminal/src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut dates = &start_info.dates.split(";").collect::<Vec<&str>>();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> terminal/src/lib.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut trades = pg::get_trades_view(
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scrolled`
[INFO] [stdout]    --> terminal/src/lib.rs:705:5
[INFO] [stdout]     |
[INFO] [stdout] 705 |     scrolled: bool,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrolled`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATE_FMT` is never used
[INFO] [stdout]   --> terminal/src/lib.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DATE_FMT: &str = "%Y-%m-%d";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_datepicker` is never used
[INFO] [stdout]    --> terminal/src/lib.rs:658:4
[INFO] [stdout]     |
[INFO] [stdout] 658 | fn draw_datepicker(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_arrow` is never used
[INFO] [stdout]    --> terminal/src/lib.rs:849:4
[INFO] [stdout]     |
[INFO] [stdout] 849 | fn draw_arrow(d: &mut RaylibDrawHandle, current_candle: &mut Candle) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `scrollPanelBounds` should have a snake case name
[INFO] [stdout]    --> terminal/src/lib.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let scrollPanelBounds: Rectangle =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_panel_bounds`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s
[INFO] running `Command { std: "docker" "inspect" "8d5702d835a501c7f2694283dbeae8ccc4479a37e21db40e23b3768f8d32050f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d5702d835a501c7f2694283dbeae8ccc4479a37e21db40e23b3768f8d32050f", kill_on_drop: false }`
[INFO] [stdout] 8d5702d835a501c7f2694283dbeae8ccc4479a37e21db40e23b3768f8d32050f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c4a21ee1eaef84046924d43c97c3b5485087eb8daef67dbbc9336d5e44a65c3
[INFO] running `Command { std: "docker" "start" "-a" "0c4a21ee1eaef84046924d43c97c3b5485087eb8daef67dbbc9336d5e44a65c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling cron v0.1.0 (/opt/rustwide/workdir/cron)
[INFO] [stdout] warning: unused import: `TradeInfo`
[INFO] [stdout]  --> app/src/db/pg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     TradeInfo, TradeView,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> app/src/lib.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::{Duration, NaiveDate};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_candles`
[INFO] [stdout]   --> app/src/lib.rs:12:66
[INFO] [stdout]    |
[INFO] [stdout] 12 |     add_candles, add_securities, add_trades, get_all_securities, get_candles, init_db,
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Frame`, `TradeInfo`, and `TradeType`
[INFO] [stdout]   --> app/src/lib.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use models::common::{Candle, Frame, Trade, TradeInfo, TradeType};
[INFO] [stdout]    |                              ^^^^^         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> app/src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration as time_duration`
[INFO] [stdout]   --> app/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::time::Duration as time_duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `best_choice`, `pretty_print_info`, and `trade_info`
[INFO] [stdout]   --> app/src/lib.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | use strategy::strategy::{best_choice, pretty_print_candle, pretty_print_info, trade_info};
[INFO] [stdout]    |                          ^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> app/src/strategy/strategy.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut current_inner = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> app/src/strategy/strategy.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |         for (j, y) in hour_candles {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `volume_up` is assigned to, but never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     let mut volume_up: f32 = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_volume_up` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `volume_down` is assigned to, but never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let mut volume_down: f32 = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_volume_down` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_up` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             volume_up = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_up` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |             volume_up += candle.volume;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_down` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |             volume_down = 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 `volume_down` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:361:13
[INFO] [stdout]     |
[INFO] [stdout] 361 |             volume_down += candle.volume;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]    --> app/src/lib.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn display(candles: &Vec<Candle>) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print_info` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn pretty_print_info(info: &TradeInfo) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print_candle` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn pretty_print_candle(candle: &Candle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradesResult` is never constructed
[INFO] [stdout]   --> app/src/strategy/strategy.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct TradesResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `best_choice` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn best_choice(pool: &PgPool, security: &str, date: &NaiveDate) {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_quantities` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn get_quantities(scope_trades: &Vec<&TradeInfo>, datetime: &NaiveDateTime) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sum_quantity_scope` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn get_sum_quantity_scope(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_header` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn print_header() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_trades_result` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn print_trades_result(trades: &Vec<TradesResult>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling app v0.1.0 (/opt/rustwide/workdir/app)
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> terminal/src/lib.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Timelike};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling terminal v0.1.0 (/opt/rustwide/workdir/terminal)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> terminal/src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut dates = &start_info.dates.split(";").collect::<Vec<&str>>();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> terminal/src/lib.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut trades = pg::get_trades_view(
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scrolled`
[INFO] [stdout]    --> terminal/src/lib.rs:705:5
[INFO] [stdout]     |
[INFO] [stdout] 705 |     scrolled: bool,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrolled`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATE_FMT` is never used
[INFO] [stdout]   --> terminal/src/lib.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DATE_FMT: &str = "%Y-%m-%d";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_datepicker` is never used
[INFO] [stdout]    --> terminal/src/lib.rs:658:4
[INFO] [stdout]     |
[INFO] [stdout] 658 | fn draw_datepicker(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_arrow` is never used
[INFO] [stdout]    --> terminal/src/lib.rs:849:4
[INFO] [stdout]     |
[INFO] [stdout] 849 | fn draw_arrow(d: &mut RaylibDrawHandle, current_candle: &mut Candle) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `scrollPanelBounds` should have a snake case name
[INFO] [stdout]    --> terminal/src/lib.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let scrollPanelBounds: Rectangle =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_panel_bounds`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> terminal/src/lib.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Datelike, NaiveDate, NaiveDateTime, Timelike};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> terminal/src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut dates = &start_info.dates.split(";").collect::<Vec<&str>>();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> terminal/src/lib.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let mut trades = pg::get_trades_view(
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scrolled`
[INFO] [stdout]    --> terminal/src/lib.rs:705:5
[INFO] [stdout]     |
[INFO] [stdout] 705 |     scrolled: bool,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scrolled`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATE_FMT` is never used
[INFO] [stdout]   --> terminal/src/lib.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DATE_FMT: &str = "%Y-%m-%d";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_datepicker` is never used
[INFO] [stdout]    --> terminal/src/lib.rs:658:4
[INFO] [stdout]     |
[INFO] [stdout] 658 | fn draw_datepicker(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_arrow` is never used
[INFO] [stdout]    --> terminal/src/lib.rs:849:4
[INFO] [stdout]     |
[INFO] [stdout] 849 | fn draw_arrow(d: &mut RaylibDrawHandle, current_candle: &mut Candle) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `scrollPanelBounds` should have a snake case name
[INFO] [stdout]    --> terminal/src/lib.rs:229:17
[INFO] [stdout]     |
[INFO] [stdout] 229 |             let scrollPanelBounds: Rectangle =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_panel_bounds`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TradeInfo`
[INFO] [stdout]  --> app/src/db/pg.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     TradeInfo, TradeView,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> app/src/lib.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use chrono::{Duration, NaiveDate};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_candles`
[INFO] [stdout]   --> app/src/lib.rs:12:66
[INFO] [stdout]    |
[INFO] [stdout] 12 |     add_candles, add_securities, add_trades, get_all_securities, get_candles, init_db,
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Frame`, `TradeInfo`, and `TradeType`
[INFO] [stdout]   --> app/src/lib.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 | use models::common::{Candle, Frame, Trade, TradeInfo, TradeType};
[INFO] [stdout]    |                              ^^^^^         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]   --> app/src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::str::FromStr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration as time_duration`
[INFO] [stdout]   --> app/src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::time::Duration as time_duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `best_choice`, `pretty_print_info`, and `trade_info`
[INFO] [stdout]   --> app/src/lib.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | use strategy::strategy::{best_choice, pretty_print_candle, pretty_print_info, trade_info};
[INFO] [stdout]    |                          ^^^^^^^^^^^                       ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> app/src/strategy/strategy.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut current_inner = 0;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> app/src/strategy/strategy.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |         for (j, y) in hour_candles {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `volume_up` is assigned to, but never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:324:9
[INFO] [stdout]     |
[INFO] [stdout] 324 |     let mut volume_up: f32 = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_volume_up` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `volume_down` is assigned to, but never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let mut volume_down: f32 = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_volume_down` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_up` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |             volume_up = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_up` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |             volume_up += candle.volume;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `volume_down` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:347:13
[INFO] [stdout]     |
[INFO] [stdout] 347 |             volume_down = 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 `volume_down` is never read
[INFO] [stdout]    --> app/src/strategy/strategy.rs:361:13
[INFO] [stdout]     |
[INFO] [stdout] 361 |             volume_down += candle.volume;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display` is never used
[INFO] [stdout]    --> app/src/lib.rs:108:4
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn display(candles: &Vec<Candle>) {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print_info` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn pretty_print_info(info: &TradeInfo) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pretty_print_candle` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn pretty_print_candle(candle: &Candle) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradesResult` is never constructed
[INFO] [stdout]   --> app/src/strategy/strategy.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct TradesResult {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `best_choice` is never used
[INFO] [stdout]   --> app/src/strategy/strategy.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn best_choice(pool: &PgPool, security: &str, date: &NaiveDate) {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_quantities` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:171:4
[INFO] [stdout]     |
[INFO] [stdout] 171 | fn get_quantities(scope_trades: &Vec<&TradeInfo>, datetime: &NaiveDateTime) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sum_quantity_scope` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:199:4
[INFO] [stdout]     |
[INFO] [stdout] 199 | fn get_sum_quantity_scope(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_header` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn print_header() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_trades_result` is never used
[INFO] [stdout]    --> app/src/strategy/strategy.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn print_trades_result(trades: &Vec<TradesResult>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.90s
[INFO] running `Command { std: "docker" "inspect" "0c4a21ee1eaef84046924d43c97c3b5485087eb8daef67dbbc9336d5e44a65c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c4a21ee1eaef84046924d43c97c3b5485087eb8daef67dbbc9336d5e44a65c3", kill_on_drop: false }`
[INFO] [stdout] 0c4a21ee1eaef84046924d43c97c3b5485087eb8daef67dbbc9336d5e44a65c3
