[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] testing windopper/ctb against 1.91.0 for beta-1.92-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwindopper%2Fctb" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/windopper/ctb on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dotenv_codegen v0.15.0
[INFO] [stderr]   Downloaded webhook v2.1.2
[INFO] [stderr]   Downloaded matrixmultiply v0.3.10
[INFO] [stderr]   Downloaded dotenv_codegen_implementation v0.15.0
[INFO] [stderr]   Downloaded colored v2.2.0
[INFO] [stderr]   Downloaded simba v0.9.0
[INFO] [stderr]   Downloaded jwt v0.16.0
[INFO] [stderr]   Downloaded linregress v0.5.4
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded nalgebra v0.33.2
[INFO] [stderr]   Downloaded openssl-src v300.5.1+3.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2dec940460caa9d436d87bdd99d3a0704cb11891ccc526bbce677fb66465226
[INFO] running `Command { std: "docker" "start" "-a" "d2dec940460caa9d436d87bdd99d3a0704cb11891ccc526bbce677fb66465226", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2dec940460caa9d436d87bdd99d3a0704cb11891ccc526bbce677fb66465226", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2dec940460caa9d436d87bdd99d3a0704cb11891ccc526bbce677fb66465226", kill_on_drop: false }`
[INFO] [stdout] d2dec940460caa9d436d87bdd99d3a0704cb11891ccc526bbce677fb66465226
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87df427277d6e2936cbb35ac5d515877baf0c18aa5fe25f3e9e1422733c19e17
[INFO] running `Command { std: "docker" "start" "-a" "87df427277d6e2936cbb35ac5d515877baf0c18aa5fe25f3e9e1422733c19e17", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling bytemuck v1.23.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling openssl-src v300.5.1+3.5.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling dotenv_codegen_implementation v0.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling dotenv_codegen v0.15.0
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling simba v0.9.0
[INFO] [stderr]    Compiling ctrlc v3.4.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling serde v1.0.219
[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 icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling nalgebra v0.33.2
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling jwt v0.16.0
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling linregress v0.5.4
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tungstenite v0.27.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling webhook v2.1.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.27.0
[INFO] [stderr]    Compiling 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 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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 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] 
[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]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]    |
[INFO] [stdout] 26 -     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout] 26 +     let backtest::lib::INITIAL_ASSET = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |
[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]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]    |
[INFO] [stdout] 29 -     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout] 29 +     let backtest::lib::INITIAL_ASSET = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |
[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: `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: `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: `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/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: variable `ask_volume_sum` is assigned to, but never used
[INFO] [stdout]    --> src/strategy/of1.rs:105:21
[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] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 105 -             let mut ask_volume_sum = 0.0;
[INFO] [stdout] 105 +             let mut backtest::lib::INITIAL_ASSET = 0.0;
[INFO] [stdout]     |
[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: 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]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let _calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 203 -         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout] 203 +         let backtest::lib::INITIAL_ASSET = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |
[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]     |                            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 389 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout] 389 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |
[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]     |                            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 656 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 656 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout] 656 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |
[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: value assigned to `next_sar` is never read
[INFO] [stdout]   --> src/helper/parabolic_sar.rs:30:17
[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]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[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: 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: 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 3m 19s
[INFO] running `Command { std: "docker" "inspect" "87df427277d6e2936cbb35ac5d515877baf0c18aa5fe25f3e9e1422733c19e17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87df427277d6e2936cbb35ac5d515877baf0c18aa5fe25f3e9e1422733c19e17", kill_on_drop: false }`
[INFO] [stdout] 87df427277d6e2936cbb35ac5d515877baf0c18aa5fe25f3e9e1422733c19e17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62add29cdecd3ff03d415643949b1aea07fc1cb442a6f59fcf38d05da0fb7434
[INFO] running `Command { std: "docker" "start" "-a" "62add29cdecd3ff03d415643949b1aea07fc1cb442a6f59fcf38d05da0fb7434", kill_on_drop: false }`
[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 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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 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] 
[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]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]    |
[INFO] [stdout] 26 -     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout] 26 +     let backtest::lib::INITIAL_ASSET = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |
[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]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]    |
[INFO] [stdout] 29 -     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout] 29 +     let backtest::lib::INITIAL_ASSET = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |
[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: `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: `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: `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/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: variable `ask_volume_sum` is assigned to, but never used
[INFO] [stdout]    --> src/strategy/of1.rs:105:21
[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] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 105 -             let mut ask_volume_sum = 0.0;
[INFO] [stdout] 105 +             let mut backtest::lib::INITIAL_ASSET = 0.0;
[INFO] [stdout]     |
[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] [stderr]    Compiling ctb v0.1.0 (/opt/rustwide/workdir)
[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]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let _calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 203 -         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout] 203 +         let backtest::lib::INITIAL_ASSET = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |
[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]     |                            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 389 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout] 389 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |
[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]     |                            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 656 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 656 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout] 656 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |
[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: value assigned to `next_sar` is never read
[INFO] [stdout]   --> src/helper/parabolic_sar.rs:30:17
[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]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[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: 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: 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: 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: 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: 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: 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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 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] 
[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]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let _second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]    |
[INFO] [stdout] 26 -     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stdout] 26 +     let backtest::lib::INITIAL_ASSET = ema_5[ema_5.len() - 2];
[INFO] [stdout]    |
[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]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]    |
[INFO] [stdout] 29 -     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stdout] 29 +     let backtest::lib::INITIAL_ASSET = ema_20[ema_20.len() - 2];
[INFO] [stdout]    |
[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: `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: `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: `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/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: variable `ask_volume_sum` is assigned to, but never used
[INFO] [stdout]    --> src/strategy/of1.rs:105:21
[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] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 105 -             let mut ask_volume_sum = 0.0;
[INFO] [stdout] 105 +             let mut backtest::lib::INITIAL_ASSET = 0.0;
[INFO] [stdout]     |
[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: 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]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let _calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |             +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 203 -         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout] 203 +         let backtest::lib::INITIAL_ASSET = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stdout]     |
[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]     |                            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 389 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout] 389 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |
[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]     |                            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 656 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |                            +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stdout]     |
[INFO] [stdout] 656 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stdout] 656 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stdout]     |
[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: value assigned to `next_sar` is never read
[INFO] [stdout]   --> src/helper/parabolic_sar.rs:30:17
[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]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[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: 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 11.79s
[INFO] running `Command { std: "docker" "inspect" "62add29cdecd3ff03d415643949b1aea07fc1cb442a6f59fcf38d05da0fb7434", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62add29cdecd3ff03d415643949b1aea07fc1cb442a6f59fcf38d05da0fb7434", kill_on_drop: false }`
[INFO] [stdout] 62add29cdecd3ff03d415643949b1aea07fc1cb442a6f59fcf38d05da0fb7434
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5b224c6a5d5ed16cc4d55d14ca51dfd1a525585bea15baf8f56f056f0f28abd1
[INFO] running `Command { std: "docker" "start" "-a" "5b224c6a5d5ed16cc4d55d14ca51dfd1a525585bea15baf8f56f056f0f28abd1", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `level::find_support_resistance`, `previous::find_previous_trough_with_index`, and `rsi::calculate_rsi`
[INFO] [stderr]  --> src/strategy/vwma_ma.rs:4:47
[INFO] [stderr]   |
[INFO] [stderr] 4 | ...te_adx, AdxCandle}, level::find_support_resistance, previous::find_previous_trough_with_index, rsi::calculate_rsi, sma::calculate_sma,...
[INFO] [stderr]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `level::find_support_resistance` and `previous::find_previous_trough_with_index`
[INFO] [stderr]  --> src/strategy/vwma_ma_grok.rs:4:100
[INFO] [stderr]   |
[INFO] [stderr] 4 | ...rCandle}, ema::calculate_ema, level::find_support_resistance, previous::find_previous_trough_with_index, rsi::calculate_rsi, sma::calc...
[INFO] [stderr]   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/strategy/orderbook.rs:52:15
[INFO] [stderr]    |
[INFO] [stderr] 52 |     } else if (supports.len() == 1) {
[INFO] [stderr]    |               ^                   ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 52 -     } else if (supports.len() == 1) {
[INFO] [stderr] 52 +     } else if supports.len() == 1 {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/strategy/orderbook.rs:84:15
[INFO] [stderr]    |
[INFO] [stderr] 84 |     } else if (resistances.len() == 1) {
[INFO] [stderr]    |               ^                      ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 84 -     } else if (resistances.len() == 1) {
[INFO] [stderr] 84 +     } else if resistances.len() == 1 {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `footprint`, `orderbook::Orderbook`, and `orderbook::top_n_orderbook_ratio`
[INFO] [stderr]  --> src/strategy/of1.rs:3:81
[INFO] [stderr]   |
[INFO] [stderr] 3 | ...}, orderbook::Orderbook, signal::{Signal, SignalReason}, ticker::Ticker, trade::Trade}, helper::{footprint::{footprint, FootprintValue}, orderbook::top_n_orderbook_ratio}};
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^                                                                                      ^^^^^^^^^                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AtrCandle`, `CandleTrait`, and `calculate_atr`
[INFO] [stderr]  --> src/strategy/candle_pattern.rs:3:29
[INFO] [stderr]   |
[INFO] [stderr] 3 |     core::{candle::{Candle, CandleTrait}, signal::{Signal, SignalReason}}, 
[INFO] [stderr]   |                             ^^^^^^^^^^^
[INFO] [stderr] 4 |     helper::{atr::{calculate_atr, AtrCandle}, bollinger_bands::calculate_bollinger_bands, candle::{identify_candle_pattern, CandlePattern...
[INFO] [stderr]   |                    ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/helper/support_resistance.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `lib::MarketState` and `orderbook`
[INFO] [stderr]  --> src/backtest/simulate.rs:8:107
[INFO] [stderr]   |
[INFO] [stderr] 8 | ...{candle_pattern, lib::MarketState, of1::{calculate_of1_indicator_every_1mcandle, of1, Of1Params, Of1State}, orderbook}, 
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^^^                                                                           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/webhook/lib.rs:49:28
[INFO] [stderr]    |
[INFO] [stderr] 49 |     let profit_potential = ((take_profit - price) / price * 100.0);
[INFO] [stderr]    |                            ^                                     ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 49 -     let profit_potential = ((take_profit - price) / price * 100.0);
[INFO] [stderr] 49 +     let profit_potential = (take_profit - price) / price * 100.0;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/webhook/lib.rs:50:26
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let loss_potential = ((price - stop_loss) / price * 100.0);
[INFO] [stderr]    |                          ^                                   ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 50 -     let loss_potential = ((price - stop_loss) / price * 100.0);
[INFO] [stderr] 50 +     let loss_potential = (price - stop_loss) / price * 100.0;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]   --> src/webhook/lib.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 |         Ok(result) => {
[INFO] [stderr]    |            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color_emoji`
[INFO] [stderr]    --> src/webhook/lib.rs:100:17
[INFO] [stderr]     |
[INFO] [stderr] 100 |     let (emoji, color_emoji) = if profit_loss >= 0.0 {
[INFO] [stderr]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_emoji`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `candle::CandleTrait`
[INFO] [stderr]  --> src/strategy/vwma_ma.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 |     core::{candle::CandleTrait, signal::{Signal, SignalReason}}, 
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `candle::CandleTrait`
[INFO] [stderr]  --> src/strategy/vwma_ma_grok.rs:3:12
[INFO] [stderr]   |
[INFO] [stderr] 3 |     core::{candle::CandleTrait, signal::{Signal, SignalReason}},
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `params`
[INFO] [stderr]   --> src/strategy/vi_rsi.rs:15:37
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn run(state: &mut MarketState, params: &StrategyParams, current_position: &mut PositionState) -> Signal {
[INFO] [stderr]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `second_last_ema_5`
[INFO] [stderr]   --> src/strategy/supertrend_ema.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let _second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stderr]    |         +
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stderr]    |
[INFO] [stderr] 26 -     let second_last_ema_5 = ema_5[ema_5.len() - 2];
[INFO] [stderr] 26 +     let backtest::lib::INITIAL_ASSET = ema_5[ema_5.len() - 2];
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `second_last_ema_20`
[INFO] [stderr]   --> src/strategy/supertrend_ema.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 29 |     let _second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stderr]    |         +
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stderr]    |
[INFO] [stderr] 29 -     let second_last_ema_20 = ema_20[ema_20.len() - 2];
[INFO] [stderr] 29 +     let backtest::lib::INITIAL_ASSET = ema_20[ema_20.len() - 2];
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_last_macd_positive`
[INFO] [stderr]   --> src/strategy/supertrend_ema.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |     let is_last_macd_positive = last_macd > 0.0;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last_macd_positive`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `params`
[INFO] [stderr]   --> src/strategy/supertrend_ema.rs:10:37
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn run(state: &mut MarketState, params: &StrategyParams, current_position: &mut PositionState) -> Signal {
[INFO] [stderr]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rsi`
[INFO] [stderr]   --> src/strategy/scalp.rs:37:9
[INFO] [stderr]    |
[INFO] [stderr] 37 |     let rsi = calculate_rsi(&closes, 14);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rsi`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entry_price`
[INFO] [stderr]    --> src/strategy/orderbook.rs:109:47
[INFO] [stderr]     |
[INFO] [stderr] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stderr]     |                                               ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entry_asset`
[INFO] [stderr]    --> src/strategy/orderbook.rs:109:60
[INFO] [stderr]     |
[INFO] [stderr] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^ help: try ignoring the field: `entry_asset: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `trailing_stop_price`
[INFO] [stderr]    --> src/strategy/orderbook.rs:109:92
[INFO] [stderr]     |
[INFO] [stderr] 109 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stderr]     |                                                                                            ^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `trailing_stop_price: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `params`
[INFO] [stderr]  --> src/strategy/orderbook.rs:6:37
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn run(state: &mut MarketState, params: &StrategyParams, position: &mut PositionState) -> Signal {
[INFO] [stderr]   |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `ask_volume_sum` is assigned to, but never used
[INFO] [stderr]    --> src/strategy/of1.rs:105:21
[INFO] [stderr]     |
[INFO] [stderr] 105 |             let mut ask_volume_sum = 0.0;
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_ask_volume_sum` instead
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stderr]     |
[INFO] [stderr] 105 -             let mut ask_volume_sum = 0.0;
[INFO] [stderr] 105 +             let mut backtest::lib::INITIAL_ASSET = 0.0;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `params`
[INFO] [stderr]   --> src/strategy/of1.rs:74:69
[INFO] [stderr]    |
[INFO] [stderr] 74 | pub fn calculate_of1_indicator_every_1mcandle(state: &mut Of1State, params: &Of1Params) {
[INFO] [stderr]    |                                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entry_price`
[INFO] [stderr]    --> src/strategy/of1.rs:215:47
[INFO] [stderr]     |
[INFO] [stderr] 215 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stderr]     |                                               ^^^^^^^^^^^ help: try ignoring the field: `entry_price: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entry_asset`
[INFO] [stderr]    --> src/strategy/of1.rs:215:60
[INFO] [stderr]     |
[INFO] [stderr] 215 |     } else if let PositionState::InPosition { entry_price, entry_asset, take_profit_price, trailing_stop_price } = position {
[INFO] [stderr]     |                                                            ^^^^^^^^^^^ help: try ignoring the field: `entry_asset: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `calculated_stop`
[INFO] [stderr]    --> src/strategy/candle_pattern.rs:203:13
[INFO] [stderr]     |
[INFO] [stderr] 203 |         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]     |
[INFO] [stderr] 203 |         let _calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stderr]     |             +
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stderr]     |
[INFO] [stderr] 203 -         let calculated_stop = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stderr] 203 +         let backtest::lib::INITIAL_ASSET = candle_based_stop.max(support_based_stop).max(fixed_stop).max(atr_based_stop);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `avg_volume`
[INFO] [stderr]    --> src/strategy/candle_pattern.rs:389:28
[INFO] [stderr]     |
[INFO] [stderr] 389 |         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stderr]     |                            ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]     |
[INFO] [stderr] 389 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stderr]     |                            +
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stderr]     |
[INFO] [stderr] 389 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stderr] 389 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]    --> src/strategy/candle_pattern.rs:599:38
[INFO] [stderr]     |
[INFO] [stderr] 599 |     fn calculate_volume_ratio(&self, config: &CandlePatternStrategyConfig) -> (f64, f64) {
[INFO] [stderr]     |                                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `avg_volume`
[INFO] [stderr]    --> src/strategy/candle_pattern.rs:656:28
[INFO] [stderr]     |
[INFO] [stderr] 656 |         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stderr]     |                            ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]     |
[INFO] [stderr] 656 |         let (volume_ratio, _avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stderr]     |                            +
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `INITIAL_ASSET`
[INFO] [stderr]     |
[INFO] [stderr] 656 -         let (volume_ratio, avg_volume) = self.calculate_volume_ratio(config);
[INFO] [stderr] 656 +         let (volume_ratio, backtest::lib::INITIAL_ASSET) = self.calculate_volume_ratio(config);
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `min_trade_interval`
[INFO] [stderr]    --> src/strategy/candle_pattern.rs:709:9
[INFO] [stderr]     |
[INFO] [stderr] 709 |     let min_trade_interval = 3;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_trade_interval`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `next_sar` is never read
[INFO] [stderr]   --> src/helper/parabolic_sar.rs:30:17
[INFO] [stderr]    |
[INFO] [stderr] 30 |         let mut next_sar = sar;
[INFO] [stderr]    |                 ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `orderbook`
[INFO] [stderr]  --> src/helper/orderbook.rs:3:25
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn orderbook_helper(orderbook: &Orderbook) {
[INFO] [stderr]   |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RSI_OVERBOUGHT` is never used
[INFO] [stderr]   --> src/strategy/scalp.rs:17:7
[INFO] [stderr]    |
[INFO] [stderr] 17 | const RSI_OVERBOUGHT: f64 = 70.0;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RSI_OVERSOLD` is never used
[INFO] [stderr]   --> src/strategy/scalp.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | const RSI_OVERSOLD: f64 = 30.0; // 매수 조건에 활용 가능
[INFO] [stderr]    |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `risk_pct` is never read
[INFO] [stderr]   --> src/strategy/vwma_ma_grok.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct StrategyParams {
[INFO] [stderr]    |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 14 |     risk_pct: f64,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `volume_threshold`, `max_consecutive_losses`, `trend_strength_threshold`, and `ema_slope_period` are never read
[INFO] [stderr]   --> src/strategy/candle_pattern.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct CandlePatternStrategyConfig {
[INFO] [stderr]    |            --------------------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     volume_threshold: f64, // 거래량 임계값 (평균 대비)
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 33 |     max_consecutive_losses: usize, // 최대 연속 손실 허용 횟수
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 34 |     trend_strength_threshold: f64, // 추세 강도 임계값
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 35 |     reversal_volume_multiplier: f64, // 반전 신호 거래량 배수
[INFO] [stderr] 36 |     ema_slope_period: usize, // EMA 기울기 계산을 위한 기간
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ctb` (lib) generated 39 warnings (run `cargo fix --lib -p ctb` to apply 16 suggestions)
[INFO] [stderr] warning: `ctb` (lib test) generated 39 warnings (39 duplicates)
[INFO] [stderr] warning: unused imports: `DateTime`, `Duration`, `TimeZone`, and `Utc`
[INFO] [stderr]  --> src/main.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 | use chrono::{DateTime, Utc, Duration, TimeZone};
[INFO] [stderr]   |              ^^^^^^^^  ^^^  ^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CODES` is never used
[INFO] [stderr]   --> src/main.rs:10:7
[INFO] [stderr]    |
[INFO] [stderr] 10 | const CODES: [&str; 5] = ["KRW-XRP", "KRW-BLAST", "KRW-BTC", "KRW-ETH", "KRW-GLM"];
[INFO] [stderr]    |       ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `realtime_simulation` is never used
[INFO] [stderr]   --> src/main.rs:60:10
[INFO] [stderr]    |
[INFO] [stderr] 60 | async fn realtime_simulation() {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `Future` that must be used
[INFO] [stderr]   --> tests/webhook.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | /     send_buy_signal(
[INFO] [stderr] 12 | |         "KRW-BTC",
[INFO] [stderr] 13 | |         50000000.0,
[INFO] [stderr] 14 | |         0.001,
[INFO] [stderr] ...  |
[INFO] [stderr] 18 | |         "SuperTrend + EMA"
[INFO] [stderr] 19 | |     );
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `Future` that must be used
[INFO] [stderr]   --> tests/webhook.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | /     send_sell_signal(
[INFO] [stderr] 25 | |         "KRW-BTC",
[INFO] [stderr] 26 | |         52000000.0,
[INFO] [stderr] 27 | |         0.001,
[INFO] [stderr] ...  |
[INFO] [stderr] 31 | |         "목표가 도달"
[INFO] [stderr] 32 | |     );
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `Future` that must be used
[INFO] [stderr]   --> tests/webhook.rs:37:5
[INFO] [stderr]    |
[INFO] [stderr] 37 | /     send_sell_signal(
[INFO] [stderr] 38 | |         "KRW-BTC",
[INFO] [stderr] 39 | |         48000000.0,
[INFO] [stderr] 40 | |         0.001,
[INFO] [stderr] ...  |
[INFO] [stderr] 44 | |         "손절가 도달"
[INFO] [stderr] 45 | |     );
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr] 
[INFO] [stderr] warning: unused implementer of `Future` that must be used
[INFO] [stderr]   --> tests/webhook.rs:50:5
[INFO] [stderr]    |
[INFO] [stderr] 50 | /     send_trade_summary(
[INFO] [stderr] 51 | |         "KRW-BTC",
[INFO] [stderr] 52 | |         100,
[INFO] [stderr] 53 | |         65,
[INFO] [stderr] ...  |
[INFO] [stderr] 57 | |         -500000.0
[INFO] [stderr] 58 | |     );
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: futures do nothing unless you `.await` or poll them
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `CandleTrait`
[INFO] [stderr]  --> examples/candle_patterns.rs:1:45
[INFO] [stderr]   |
[INFO] [stderr] 1 | use ctb::core::candle::{Candle, CandleBase, CandleTrait};
[INFO] [stderr]   |                                             ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ctb` (bin "ctb" test) generated 3 warnings (run `cargo fix --bin "ctb" --tests` to apply 1 suggestion)
[INFO] [stderr] warning: `ctb` (test "webhook") generated 4 warnings
[INFO] [stderr] warning: `ctb` (example "candle_patterns") generated 1 warning (run `cargo fix --example "candle_patterns"` to apply 1 suggestion)
[INFO] [stderr] warning: `ctb` (bin "ctb") generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ctb-49e276e8953d7766)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ctb-6b70551bbce959fd)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/account.rs (/opt/rustwide/target/debug/deps/account-46662aa7ec7e97b9)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_check_my_account ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_check_my_account stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_check_my_account' (26) panicked at src/lib.rs:13:22:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: EnvVar(NotPresent)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5b0abc691772 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b0abc691772 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b0abc691772 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5b0abc691772 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h4e0a3aeea0f9c085
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5b0abc6a321f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5b0abc6a321f - core::fmt::write::hecf68a131630c74d
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5b0abc65d351 - std::io::default_write_fmt::ha6b238eff7f0ef8a
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b0abc65d351 - std::io::Write::write_fmt::h9846fe3d2a36c1ea
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5b0abc66a152 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5b0abc66f1bf - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5b0abc66f051 - std::panicking::default_hook::h63f9bf8161c5d325
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5b0abbe5f82e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb8126f8384f98101
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   12:     0x5b0abbe5f82e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b0abc66f92f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha703f6686c81d0c6
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9
[INFO] [stdout]   14:     0x5b0abc66f92f - std::panicking::panic_with_hook::h3173740e06bd0752
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5b0abc66f6da - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x5b0abc66a299 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5b0abc65171d - __rustc[de0091b922c53d7e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5b0abc6ad6f0 - core::panicking::panic_fmt::h5138da2ef87be35b
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5b0abc6ac9c6 - core::result::unwrap_failed::h5d9b16b0b732a2ac
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/result.rs:1855:5
[INFO] [stdout]   20:     0x5b0abbe91281 - core::result::Result<T,E>::unwrap::h4cf0aafa820c2f6e
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/result.rs:1226:23
[INFO] [stdout]   21:     0x5b0abbe91281 - ctb::env_var::hb97da8cc8263a88e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:13:22
[INFO] [stdout]   22:     0x5b0abbe93103 - ctb::upbit_api::utils::create_jwt_token::hd9e1228ce2bc7106
[INFO] [stdout]                                at /opt/rustwide/workdir/src/upbit_api/utils.rs:25:23
[INFO] [stdout]   23:     0x5b0abbe94682 - ctb::upbit_api::utils::create_authorization_token::h3f104536dbda58a2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/upbit_api/utils.rs:39:21
[INFO] [stdout]   24:     0x5b0abbe93d43 - ctb::upbit_api::utils::request_upbit_api::{{closure}}::h7807035105eaf6d8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/upbit_api/utils.rs:45:31
[INFO] [stdout]   25:     0x5b0abbe9b7a4 - ctb::upbit_api::account::check_my_account::{{closure}}::haead6f690578a062
[INFO] [stdout]                                at /opt/rustwide/workdir/src/upbit_api/account.rs:19:53
[INFO] [stdout]   26:     0x5b0abbe3e710 - account::test_check_my_account::{{closure}}::h758227e48edc3f2d
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/account.rs:5:37
[INFO] [stdout]   27:     0x5b0abbe3e332 - <core::pin::Pin<P> as core::future::future::Future>::poll::h56cda7288dac7b64
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/future/future.rs:133:9
[INFO] [stdout]   28:     0x5b0abbe3e36d - <core::pin::Pin<P> as core::future::future::Future>::poll::h595b4cabefd46dd5
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/future/future.rs:133:9
[INFO] [stdout]   29:     0x5b0abbe3de9d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h7a1e76c8f0712743
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:742:70
[INFO] [stdout]   30:     0x5b0abbe3dc5b - tokio::task::coop::with_budget::h26ab1c59e60a47e7
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/coop/mod.rs:167:5
[INFO] [stdout]   31:     0x5b0abbe3dc5b - tokio::task::coop::budget::h2a7f3d7e23387c6a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/task/coop/mod.rs:133:5
[INFO] [stdout]   32:     0x5b0abbe3dc5b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::ha5fc1d71c635e413
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:742:25
[INFO] [stdout]   33:     0x5b0abbe3b250 - tokio::runtime::scheduler::current_thread::Context::enter::h5353159c556532d0
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:432:19
[INFO] [stdout]   34:     0x5b0abbe3d30d - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::hf05a6a7d98769570
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:741:44
[INFO] [stdout]   35:     0x5b0abbe3c544 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::haa80a2e27ce05070
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:829:68
[INFO] [stdout]   36:     0x5b0abbe38bab - tokio::runtime::context::scoped::Scoped<T>::set::h438283ed2a422e43
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   37:     0x5b0abbe388a9 - tokio::runtime::context::set_scheduler::{{closure}}::h3586e11c9e5397f7
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context.rs:176:38
[INFO] [stdout]   38:     0x5b0abbe35c42 - std::thread::local::LocalKey<T>::try_with::h5d9616a17cf59d7b
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/local.rs:315:12
[INFO] [stdout]   39:     0x5b0abbe3510e - std::thread::local::LocalKey<T>::with::he55dfc0792a85d32
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/local.rs:279:20
[INFO] [stdout]   40:     0x5b0abbe3881d - tokio::runtime::context::set_scheduler::h01f736e633275bc9
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context.rs:176:17
[INFO] [stdout]   41:     0x5b0abbe3beb0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::h2e62dc12b837423d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:829:27
[INFO] [stdout]   42:     0x5b0abbe3c563 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h65bd7fe79de8027e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:729:24
[INFO] [stdout]   43:     0x5b0abbe3a850 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h84b5c0995af1ec6e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   44:     0x5b0abbe38e60 - tokio::runtime::context::runtime::enter_runtime::h044eb019b0a156d4
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   45:     0x5b0abbe3a211 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h590d21e7e6913527
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   46:     0x5b0abbe39ce4 - tokio::runtime::runtime::Runtime::block_on_inner::h1e687ca7c979c6f8
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/runtime.rs:356:52
[INFO] [stdout]   47:     0x5b0abbe39fbc - tokio::runtime::runtime::Runtime::block_on::h69156a8bcbd78a48
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.46.1/src/runtime/runtime.rs:330:18
[INFO] [stdout]   48:     0x5b0abbe3e553 - account::test_check_my_account::hf4764fa7d9fce2a9
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/account.rs:6:30
[INFO] [stdout]   49:     0x5b0abbe3e867 - account::test_check_my_account::{{closure}}::hfa39c501f7e0b5db
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/account.rs:4:33
[INFO] [stdout]   50:     0x5b0abbe363a6 - core::ops::function::FnOnce::call_once::hb172173c9e65b798
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   51:     0x5b0abbe5f60b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   52:     0x5b0abbe5f60b - test::__rust_begin_short_backtrace::h447963718d05a644
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18
[INFO] [stdout]   53:     0x5b0abbe75245 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74
[INFO] [stdout]   54:     0x5b0abbe75245 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   55:     0x5b0abbe75245 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40
[INFO] [stdout]   56:     0x5b0abbe75245 - std::panicking::catch_unwind::h24d3b93458b5ba67
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19
[INFO] [stdout]   57:     0x5b0abbe75245 - std::panic::catch_unwind::h46eeec7cf9c9336c
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14
[INFO] [stdout]   58:     0x5b0abbe75245 - test::run_test_in_process::h290de6e559006104
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27
[INFO] [stdout]   59:     0x5b0abbe75245 - test::run_test::{{closure}}::h26eeb2c5f7e9a995
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43
[INFO] [stdout]   60:     0x5b0abbe4ba44 - test::run_test::{{closure}}::h85af00882daabeaa
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41
[INFO] [stdout]   61:     0x5b0abbe4ba44 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   62:     0x5b0abbe4f3ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   63:     0x5b0abbe4f3ea - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   64:     0x5b0abbe4f3ea - std::panicking::catch_unwind::do_call::he3e0bef721d99583
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40
[INFO] [stdout]   65:     0x5b0abbe4f3ea - std::panicking::catch_unwind::ha8241964d3d773cd
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19
[INFO] [stdout]   66:     0x5b0abbe4f3ea - std::panic::catch_unwind::ha8554bc7696cae72
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14
[INFO] [stdout]   67:     0x5b0abbe4f3ea - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   68:     0x5b0abbe4f3ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   69:     0x5b0abc66547f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h43642ed9c40e0ab2
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   70:     0x5b0abc66547f - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2
[INFO] [stdout]                                at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17
[INFO] [stdout]   71:     0x7c01192abaa4 - <unknown>
[INFO] [stdout]   72:     0x7c0119338a34 - clone
[INFO] [stdout]   73:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_check_my_account
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test account`
[INFO] running `Command { std: "docker" "inspect" "5b224c6a5d5ed16cc4d55d14ca51dfd1a525585bea15baf8f56f056f0f28abd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b224c6a5d5ed16cc4d55d14ca51dfd1a525585bea15baf8f56f056f0f28abd1", kill_on_drop: false }`
[INFO] [stdout] 5b224c6a5d5ed16cc4d55d14ca51dfd1a525585bea15baf8f56f056f0f28abd1
