[INFO] cloning repository https://github.com/windopper/ctb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/windopper/ctb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindopper%2Fctb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindopper%2Fctb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cceb98b8fb0ad60c514eb764c6fa630790b15ea5
[INFO] checking windopper/ctb against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindopper%2Fctb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/windopper/ctb
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/windopper/ctb
[INFO] tweaked toml for git repo https://github.com/windopper/ctb written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/windopper/ctb on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/windopper/ctb 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded webhook v2.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76ba9ef2c8ab9e8666a183aa18444b5f831a71dac1c02fd44cc6089248abc4d2
[INFO] running `Command { std: "docker" "start" "-a" "76ba9ef2c8ab9e8666a183aa18444b5f831a71dac1c02fd44cc6089248abc4d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76ba9ef2c8ab9e8666a183aa18444b5f831a71dac1c02fd44cc6089248abc4d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76ba9ef2c8ab9e8666a183aa18444b5f831a71dac1c02fd44cc6089248abc4d2", kill_on_drop: false }`
[INFO] [stdout] 76ba9ef2c8ab9e8666a183aa18444b5f831a71dac1c02fd44cc6089248abc4d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4b56c0722f8e000c0dfbcfdc40be26a4646bf817203de14942b714c63c36bdb
[INFO] running `Command { std: "docker" "start" "-a" "a4b56c0722f8e000c0dfbcfdc40be26a4646bf817203de14942b714c63c36bdb", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-src v300.5.1+3.5.1
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking nix v0.30.1
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking jwt v0.16.0
[INFO] [stderr]     Checking simba v0.9.0
[INFO] [stderr]     Checking ctrlc v3.4.7
[INFO] [stderr]    Compiling dotenv_codegen_implementation v0.15.0
[INFO] [stderr]     Checking dotenv_codegen v0.15.0
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking nalgebra v0.33.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking linregress v0.5.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tungstenite v0.27.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking webhook v2.1.2
[INFO] [stderr]     Checking tokio-tungstenite v0.27.0
[INFO] [stderr]     Checking ctb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `level::find_support_resistance`, `previous::find_previous_trough_with_index`, and `rsi::calculate_rsi`
[INFO] [stdout]  --> src/strategy/vwma_ma.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...te_adx, AdxCandle}, level::find_support_resistance, previous::find_previous_trough_with_index, rsi::calculate_rsi, sma::calculate_sma,...
[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 imports: `level::find_support_resistance` and `previous::find_previous_trough_with_index`
[INFO] [stdout]  --> src/strategy/vwma_ma_grok.rs:4:100
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...rCandle}, ema::calculate_ema, level::find_support_resistance, previous::find_previous_trough_with_index, rsi::calculate_rsi, sma::calc...
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/strategy/orderbook.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if (supports.len() == 1) {
[INFO] [stdout]    |               ^                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -     } else if (supports.len() == 1) {
[INFO] [stdout] 52 +     } else if supports.len() == 1  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/strategy/orderbook.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |     } else if (resistances.len() == 1) {
[INFO] [stdout]    |               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 84 -     } else if (resistances.len() == 1) {
[INFO] [stdout] 84 +     } else if resistances.len() == 1  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `footprint`, `orderbook::Orderbook`, and `orderbook::top_n_orderbook_ratio`
[INFO] [stdout]  --> src/strategy/of1.rs:3:81
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...}, orderbook::Orderbook, signal::{Signal, SignalReason}, ticker::Ticker, trade::Trade}, helper::{footprint::{footprint, FootprintValue}, orderbook::top_n_orderbook_ratio}};
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^                                                                                      ^^^^^^^^^                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtrCandle`, `CandleTrait`, and `calculate_atr`
[INFO] [stdout]  --> src/strategy/candle_pattern.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::{candle::{Candle, CandleTrait}, signal::{Signal, SignalReason}}, 
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 4 |     helper::{atr::{calculate_atr, AtrCandle}, bollinger_bands::calculate_bollinger_bands, candle::{identify_candle_pattern, CandlePattern...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/helper/support_resistance.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `lib::MarketState` and `orderbook`
[INFO] [stdout]  --> src/backtest/simulate.rs:8:107
[INFO] [stdout]   |
[INFO] [stdout] 8 | ...{candle_pattern, lib::MarketState, of1::{calculate_of1_indicator_every_1mcandle, of1, Of1Params, Of1State}, orderbook}, 
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^                                                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/webhook/lib.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let profit_potential = ((take_profit - price) / price * 100.0);
[INFO] [stdout]    |                            ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     let profit_potential = ((take_profit - price) / price * 100.0);
[INFO] [stdout] 49 +     let profit_potential = (take_profit - price) / price * 100.0 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/webhook/lib.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let loss_potential = ((price - stop_loss) / price * 100.0);
[INFO] [stdout]    |                          ^                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -     let loss_potential = ((price - stop_loss) / price * 100.0);
[INFO] [stdout] 50 +     let loss_potential = (price - stop_loss) / price * 100.0 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `level::find_support_resistance`, `previous::find_previous_trough_with_index`, and `rsi::calculate_rsi`
[INFO] [stdout]  --> src/strategy/vwma_ma.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...te_adx, AdxCandle}, level::find_support_resistance, previous::find_previous_trough_with_index, rsi::calculate_rsi, sma::calculate_sma,...
[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 imports: `level::find_support_resistance` and `previous::find_previous_trough_with_index`
[INFO] [stdout]  --> src/strategy/vwma_ma_grok.rs:4:100
[INFO] [stdout]   |
[INFO] [stdout] 4 | ...rCandle}, ema::calculate_ema, level::find_support_resistance, previous::find_previous_trough_with_index, rsi::calculate_rsi, sma::calc...
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/strategy/orderbook.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 |     } else if (supports.len() == 1) {
[INFO] [stdout]    |               ^                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -     } else if (supports.len() == 1) {
[INFO] [stdout] 52 +     } else if supports.len() == 1  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/strategy/orderbook.rs:84:15
[INFO] [stdout]    |
[INFO] [stdout] 84 |     } else if (resistances.len() == 1) {
[INFO] [stdout]    |               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 84 -     } else if (resistances.len() == 1) {
[INFO] [stdout] 84 +     } else if resistances.len() == 1  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `footprint`, `orderbook::Orderbook`, and `orderbook::top_n_orderbook_ratio`
[INFO] [stdout]  --> src/strategy/of1.rs:3:81
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...}, orderbook::Orderbook, signal::{Signal, SignalReason}, ticker::Ticker, trade::Trade}, helper::{footprint::{footprint, FootprintValue}, orderbook::top_n_orderbook_ratio}};
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^                                                                                      ^^^^^^^^^                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AtrCandle`, `CandleTrait`, and `calculate_atr`
[INFO] [stdout]  --> src/strategy/candle_pattern.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::{candle::{Candle, CandleTrait}, signal::{Signal, SignalReason}}, 
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout] 4 |     helper::{atr::{calculate_atr, AtrCandle}, bollinger_bands::calculate_bollinger_bands, candle::{identify_candle_pattern, CandlePattern...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/helper/support_resistance.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `lib::MarketState` and `orderbook`
[INFO] [stdout]  --> src/backtest/simulate.rs:8:107
[INFO] [stdout]   |
[INFO] [stdout] 8 | ...{candle_pattern, lib::MarketState, of1::{calculate_of1_indicator_every_1mcandle, of1, Of1Params, Of1State}, orderbook}, 
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^                                                                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/webhook/lib.rs:49:28
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let profit_potential = ((take_profit - price) / price * 100.0);
[INFO] [stdout]    |                            ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 49 -     let profit_potential = ((take_profit - price) / price * 100.0);
[INFO] [stdout] 49 +     let profit_potential = (take_profit - price) / price * 100.0 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/webhook/lib.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let loss_potential = ((price - stop_loss) / price * 100.0);
[INFO] [stdout]    |                          ^                                   ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -     let loss_potential = ((price - stop_loss) / price * 100.0);
[INFO] [stdout] 50 +     let loss_potential = (price - stop_loss) / price * 100.0 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `candle::CandleTrait`
[INFO] [stdout]  --> src/strategy/vwma_ma.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::{candle::CandleTrait, signal::{Signal, SignalReason}}, 
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `candle::CandleTrait`
[INFO] [stdout]  --> src/strategy/vwma_ma_grok.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::{candle::CandleTrait, signal::{Signal, SignalReason}},
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `candle::CandleTrait`
[INFO] [stdout]  --> src/strategy/vwma_ma.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::{candle::CandleTrait, signal::{Signal, SignalReason}}, 
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `candle::CandleTrait`
[INFO] [stdout]  --> src/strategy/vwma_ma_grok.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 |     core::{candle::CandleTrait, signal::{Signal, SignalReason}},
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/strategy/vi_rsi.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn run(state: &mut MarketState, params: &StrategyParams, current_position: &mut PositionState) -> Signal {
[INFO] [stdout]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn run(state: &mut MarketState, params: &StrategyParams, current_position: &mut PositionState) -> Signal {
[INFO] [stdout]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_last_ema_5`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_last_ema_5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_last_ema_20`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_last_ema_20`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_last_macd_positive`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let is_last_macd_positive = last_macd > 0.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last_macd_positive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rsi`
[INFO] [stdout]   --> src/strategy/scalp.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let rsi = calculate_rsi(&closes, 14);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rsi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]  --> src/strategy/orderbook.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn run(state: &mut MarketState, params: &StrategyParams, position: &mut PositionState) -> Signal {
[INFO] [stdout]   |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_price`
[INFO] [stdout]    --> src/strategy/orderbook.rs:109:47
[INFO] [stdout]     |
[INFO] [stdout] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_asset`
[INFO] [stdout]    --> src/strategy/orderbook.rs:109:60
[INFO] [stdout]     |
[INFO] [stdout] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^ help: try ignoring the field: `entry_asset: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trailing_stop_price`
[INFO] [stdout]    --> src/strategy/orderbook.rs:109:92
[INFO] [stdout]     |
[INFO] [stdout] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `trailing_stop_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/strategy/of1.rs:74:69
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn calculate_of1_indicator_every_1mcandle(state: &mut Of1State, params: &Of1Params) {
[INFO] [stdout]    |                                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ask_volume_sum` is assigned to, but never used
[INFO] [stdout]    --> src/strategy/of1.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |             let mut ask_volume_sum = 0.0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ask_volume_sum` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ask_volume_sum` is never read
[INFO] [stdout]    --> src/strategy/of1.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 ask_volume_sum += ask_volume;
[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: unused variable: `entry_price`
[INFO] [stdout]    --> src/strategy/of1.rs:215:47
[INFO] [stdout]     |
[INFO] [stdout] 215 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_asset`
[INFO] [stdout]    --> src/strategy/of1.rs:215:60
[INFO] [stdout]     |
[INFO] [stdout] 215 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^ help: try ignoring the field: `entry_asset: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `calculated_stop`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_calculated_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_volume`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:389:28
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_volume`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:599:38
[INFO] [stdout]     |
[INFO] [stdout] 599 |     fn calculate_volume_ratio(&self, config: &CandlePatternStrategyConfig) -> (f64, f64) {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_volume`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:656:28
[INFO] [stdout]     |
[INFO] [stdout] 656 |         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_volume`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_trade_interval`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:709:9
[INFO] [stdout]     |
[INFO] [stdout] 709 |     let min_trade_interval = 3;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_trade_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/strategy/vi_rsi.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn run(state: &mut MarketState, params: &StrategyParams, current_position: &mut PositionState) -> Signal {
[INFO] [stdout]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:10:37
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn run(state: &mut MarketState, params: &StrategyParams, current_position: &mut PositionState) -> Signal {
[INFO] [stdout]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_last_ema_5`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_last_ema_5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `second_last_ema_20`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_last_ema_20`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_last_macd_positive`
[INFO] [stdout]   --> src/strategy/supertrend_ema.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let is_last_macd_positive = last_macd > 0.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last_macd_positive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `next_sar` is never read
[INFO] [stdout]   --> src/helper/parabolic_sar.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut next_sar = sar;
[INFO] [stdout]    |                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rsi`
[INFO] [stdout]   --> src/strategy/scalp.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let rsi = calculate_rsi(&closes, 14);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rsi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orderbook`
[INFO] [stdout]  --> src/helper/orderbook.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn orderbook_helper(orderbook: &Orderbook) {
[INFO] [stdout]   |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_emoji`
[INFO] [stdout]    --> src/webhook/lib.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let (emoji, color_emoji) = if profit_loss >= 0.0 {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_emoji`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]  --> src/strategy/orderbook.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn run(state: &mut MarketState, params: &StrategyParams, position: &mut PositionState) -> Signal {
[INFO] [stdout]   |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_price`
[INFO] [stdout]    --> src/strategy/orderbook.rs:109:47
[INFO] [stdout]     |
[INFO] [stdout] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_asset`
[INFO] [stdout]    --> src/strategy/orderbook.rs:109:60
[INFO] [stdout]     |
[INFO] [stdout] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^ help: try ignoring the field: `entry_asset: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trailing_stop_price`
[INFO] [stdout]    --> src/strategy/orderbook.rs:109:92
[INFO] [stdout]     |
[INFO] [stdout] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `trailing_stop_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `params`
[INFO] [stdout]   --> src/strategy/of1.rs:74:69
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn calculate_of1_indicator_every_1mcandle(state: &mut Of1State, params: &Of1Params) {
[INFO] [stdout]    |                                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ask_volume_sum` is assigned to, but never used
[INFO] [stdout]    --> src/strategy/of1.rs:105:17
[INFO] [stdout]     |
[INFO] [stdout] 105 |             let mut ask_volume_sum = 0.0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ask_volume_sum` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ask_volume_sum` is never read
[INFO] [stdout]    --> src/strategy/of1.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |                 ask_volume_sum += ask_volume;
[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: unused variable: `entry_price`
[INFO] [stdout]    --> src/strategy/of1.rs:215:47
[INFO] [stdout]     |
[INFO] [stdout] 215 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                               ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry_asset`
[INFO] [stdout]    --> src/strategy/of1.rs:215:60
[INFO] [stdout]     |
[INFO] [stdout] 215 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stdout]     |                                                            ^^^^^^^^^^^ help: try ignoring the field: `entry_asset: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `calculated_stop`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_calculated_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_volume`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:389:28
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_volume`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:599:38
[INFO] [stdout]     |
[INFO] [stdout] 599 |     fn calculate_volume_ratio(&self, config: &CandlePatternStrategyConfig) -> (f64, f64) {
[INFO] [stdout]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `avg_volume`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:656:28
[INFO] [stdout]     |
[INFO] [stdout] 656 |         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_volume`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_trade_interval`
[INFO] [stdout]    --> src/strategy/candle_pattern.rs:709:9
[INFO] [stdout]     |
[INFO] [stdout] 709 |     let min_trade_interval = 3;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_trade_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/webhook/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Ok(result) => {
[INFO] [stdout]    |            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSI_OVERBOUGHT` is never used
[INFO] [stdout]   --> src/strategy/scalp.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const RSI_OVERBOUGHT: f64 = 70.0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `next_sar` is never read
[INFO] [stdout]   --> src/helper/parabolic_sar.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let mut next_sar = sar;
[INFO] [stdout]    |                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSI_OVERSOLD` is never used
[INFO] [stdout]   --> src/strategy/scalp.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const RSI_OVERSOLD: f64 = 30.0; // 매수 조건에 활용 가능
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_pct` is never read
[INFO] [stdout]   --> src/strategy/vwma_ma_grok.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct StrategyParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     risk_pct: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `volume_threshold`, `max_consecutive_losses`, `trend_strength_threshold`, and `ema_slope_period` are never read
[INFO] [stdout]   --> src/strategy/candle_pattern.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct CandlePatternStrategyConfig {
[INFO] [stdout]    |            --------------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     volume_threshold: f64, // 거래량 임계값 (평균 대비)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     max_consecutive_losses: usize, // 최대 연속 손실 허용 횟수
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     trend_strength_threshold: f64, // 추세 강도 임계값
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     reversal_volume_multiplier: f64, // 반전 신호 거래량 배수
[INFO] [stdout] 36 |     ema_slope_period: usize, // EMA 기울기 계산을 위한 기간
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `orderbook`
[INFO] [stdout]  --> src/helper/orderbook.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn orderbook_helper(orderbook: &Orderbook) {
[INFO] [stdout]   |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_emoji`
[INFO] [stdout]    --> src/webhook/lib.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let (emoji, color_emoji) = if profit_loss >= 0.0 {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_emoji`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/webhook/lib.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |         Ok(result) => {
[INFO] [stdout]    |            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSI_OVERBOUGHT` is never used
[INFO] [stdout]   --> src/strategy/scalp.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const RSI_OVERBOUGHT: f64 = 70.0;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSI_OVERSOLD` is never used
[INFO] [stdout]   --> src/strategy/scalp.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const RSI_OVERSOLD: f64 = 30.0; // 매수 조건에 활용 가능
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `risk_pct` is never read
[INFO] [stdout]   --> src/strategy/vwma_ma_grok.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct StrategyParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     risk_pct: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `volume_threshold`, `max_consecutive_losses`, `trend_strength_threshold`, and `ema_slope_period` are never read
[INFO] [stdout]   --> src/strategy/candle_pattern.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct CandlePatternStrategyConfig {
[INFO] [stdout]    |            --------------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     volume_threshold: f64, // 거래량 임계값 (평균 대비)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     max_consecutive_losses: usize, // 최대 연속 손실 허용 횟수
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     trend_strength_threshold: f64, // 추세 강도 임계값
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     reversal_volume_multiplier: f64, // 반전 신호 거래량 배수
[INFO] [stdout] 36 |     ema_slope_period: usize, // EMA 기울기 계산을 위한 기간
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime`, `Duration`, `TimeZone`, and `Utc`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, Utc, Duration, TimeZone};
[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: `CandleTrait`
[INFO] [stdout]  --> examples/candle_patterns.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ctb::core::candle::{Candle, CandleBase, CandleTrait};
[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 imports: `DateTime`, `Duration`, `TimeZone`, and `Utc`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use chrono::{DateTime, Utc, Duration, TimeZone};
[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 implementer of `Future` that must be used
[INFO] [stdout]   --> tests/webhook.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     send_buy_signal(
[INFO] [stdout] 12 | |         "KRW-BTC",
[INFO] [stdout] 13 | |         50000000.0,
[INFO] [stdout] 14 | |         0.001,
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |         "SuperTrend + EMA"
[INFO] [stdout] 19 | |     );
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> tests/webhook.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | /     send_sell_signal(
[INFO] [stdout] 25 | |         "KRW-BTC",
[INFO] [stdout] 26 | |         52000000.0,
[INFO] [stdout] 27 | |         0.001,
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         "목표가 도달"
[INFO] [stdout] 32 | |     );
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> tests/webhook.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     send_sell_signal(
[INFO] [stdout] 38 | |         "KRW-BTC",
[INFO] [stdout] 39 | |         48000000.0,
[INFO] [stdout] 40 | |         0.001,
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |         "손절가 도달"
[INFO] [stdout] 45 | |     );
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused implementer of `Future` that must be used
[INFO] [stdout]   --> tests/webhook.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | /     send_trade_summary(
[INFO] [stdout] 51 | |         "KRW-BTC",
[INFO] [stdout] 52 | |         100,
[INFO] [stdout] 53 | |         65,
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |         -500000.0
[INFO] [stdout] 58 | |     );
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CODES` is never used
[INFO] [stdout]   --> src/main.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const CODES: [&str; 5] = ["KRW-XRP", "KRW-BLAST", "KRW-BTC", "KRW-ETH", "KRW-GLM"];
[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 `realtime_simulation` is never used
[INFO] [stdout]   --> src/main.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | async fn realtime_simulation() {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CODES` is never used
[INFO] [stdout]   --> src/main.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const CODES: [&str; 5] = ["KRW-XRP", "KRW-BLAST", "KRW-BTC", "KRW-ETH", "KRW-GLM"];
[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 `realtime_simulation` is never used
[INFO] [stdout]   --> src/main.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | async fn realtime_simulation() {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 07s
[INFO] running `Command { std: "docker" "inspect" "a4b56c0722f8e000c0dfbcfdc40be26a4646bf817203de14942b714c63c36bdb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4b56c0722f8e000c0dfbcfdc40be26a4646bf817203de14942b714c63c36bdb", kill_on_drop: false }`
[INFO] [stdout] a4b56c0722f8e000c0dfbcfdc40be26a4646bf817203de14942b714c63c36bdb
