[INFO] cloning repository https://github.com/zachhornung/first-trading-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachhornung/first-trading-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachhornung%2Ffirst-trading-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachhornung%2Ffirst-trading-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 82d4bda8ccabba9f743e0eea3634347874e1bf93
[INFO] testing zachhornung/first-trading-app against beta-2026-03-05 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachhornung%2Ffirst-trading-app" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zachhornung/first-trading-app
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/zachhornung/first-trading-app
[INFO] tweaked toml for git repo https://github.com/zachhornung/first-trading-app written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zachhornung/first-trading-app on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zachhornung/first-trading-app 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" "+beta-2026-03-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe607ebe41a3b0584f86fc4caac82d5394a3ea81cabbc3d280014b6150d207d8
[INFO] running `Command { std: "docker" "start" "-a" "fe607ebe41a3b0584f86fc4caac82d5394a3ea81cabbc3d280014b6150d207d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe607ebe41a3b0584f86fc4caac82d5394a3ea81cabbc3d280014b6150d207d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe607ebe41a3b0584f86fc4caac82d5394a3ea81cabbc3d280014b6150d207d8", kill_on_drop: false }`
[INFO] [stdout] fe607ebe41a3b0584f86fc4caac82d5394a3ea81cabbc3d280014b6150d207d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40d1eb9a7e79ef1c2c98a083b94806d0c45eb5d15ca1ebb35399bc062440e9de
[INFO] running `Command { std: "docker" "start" "-a" "40d1eb9a7e79ef1c2c98a083b94806d0c45eb5d15ca1ebb35399bc062440e9de", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling cc v1.2.25
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling xml-rs v0.8.26
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling rust_decimal v1.37.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ta v0.5.0
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[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 futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling rust_decimal_macros v1.37.1
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling pest v2.8.0
[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 serde v1.0.219
[INFO] [stderr]    Compiling pest_meta v2.8.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling pest_derive v2.8.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling serde-xml-rs v0.5.1
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling time-tz v1.0.3
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling toml v0.8.22
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling ibapi v0.4.3
[INFO] [stderr]    Compiling first-trading-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/historical_backtesting.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, warn, error};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar_size`
[INFO] [stdout]    --> src/ibkr.rs:516:13
[INFO] [stdout]     |
[INFO] [stdout] 516 |         let bar_size = match request.bar_size.as_str() {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `what_to_show`
[INFO] [stdout]    --> src/ibkr.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let what_to_show = match request.what_to_show.as_str() {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_what_to_show`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date_time`
[INFO] [stdout]    --> src/ibkr.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let end_date_time = request.end_date_time
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_bar_date` is never used
[INFO] [stdout]    --> src/ibkr.rs:620:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl IBKRClient {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `analytics_engine` is never read
[INFO] [stdout]   --> src/historical_backtesting.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct HistoricalBacktestEngine {
[INFO] [stdout]    |            ------------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     analytics_engine: AnalyticsEngine,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]  --> src/bin/backtest.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc, NaiveDate, TimeZone};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/bin/backtest.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, error, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HistoricalBacktestConfig`
[INFO] [stdout]   --> src/bin/backtest.rs:10:75
[INFO] [stdout]    |
[INFO] [stdout] 10 | use first_trading_app::historical_backtesting::{HistoricalBacktestEngine, HistoricalBacktestConfig};
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar_size`
[INFO] [stdout]    --> src/ibkr.rs:516:13
[INFO] [stdout]     |
[INFO] [stdout] 516 |         let bar_size = match request.bar_size.as_str() {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `what_to_show`
[INFO] [stdout]    --> src/ibkr.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let what_to_show = match request.what_to_show.as_str() {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_what_to_show`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date_time`
[INFO] [stdout]    --> src/ibkr.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let end_date_time = request.end_date_time
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricalBar` is never constructed
[INFO] [stdout]   --> src/ibkr.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct HistoricalBar {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricalDataRequest` is never constructed
[INFO] [stdout]   --> src/ibkr.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct HistoricalDataRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ibkr.rs:275:18
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl IBKRClient {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 275 |     pub async fn cancel_market_data(&mut self, symbol: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     async fn cancel_realtime_bars(&mut self, symbol: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub async fn cancel_tick_data(&mut self, symbol: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn update_position(&self, symbol: String, position: Position) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 492 |     pub async fn get_account_summary(&self) -> Result<HashMap<String, String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 501 |     pub async fn get_historical_data(&self, request: &HistoricalDataRequest) -> Result<Vec<HistoricalBar>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 644 |     pub async fn get_multiple_historical_data(&self, requests: &[HistoricalDataRequest]) -> Result<HashMap<String, Vec<HistoricalBa...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_tick_data` and `get_statistics` are never used
[INFO] [stdout]    --> src/data.rs:199:18
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl MarketDataManager {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub async fn get_tick_data(&self, symbol: &str, limit: Option<usize>) -> Vec<TickData> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub async fn get_statistics(&self, symbol: &str) -> Option<MarketStatistics> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketStatistics` is never constructed
[INFO] [stdout]    --> src/data.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub struct MarketStatistics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `with_initial_cash` is never used
[INFO] [stdout]   --> src/portfolio.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | impl PortfolioManager {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn with_initial_cash(initial_cash: Decimal) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndicatorValue` is never constructed
[INFO] [stdout]  --> src/indicators.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct IndicatorValue {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BollingerBands` is never constructed
[INFO] [stdout]   --> src/indicators.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct BollingerBands {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MACD` is never constructed
[INFO] [stdout]   --> src/indicators.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct MACD {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stochastic` is never constructed
[INFO] [stdout]   --> src/indicators.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Stochastic {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndicatorSignal` is never constructed
[INFO] [stdout]   --> src/indicators.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct IndicatorSignal {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SignalType` is never used
[INFO] [stdout]   --> src/indicators.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum SignalType {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RSI` is never constructed
[INFO] [stdout]   --> src/indicators.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct RSI {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl RSI {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  63 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn update(&mut self, price: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn generate_signal(&self, rsi_value: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MACDIndicator` is never constructed
[INFO] [stdout]    --> src/indicators.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub struct MACDIndicator {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:145:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl MACDIndicator {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 145 |     pub fn new(fast_period: usize, slow_period: usize, signal_period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn update(&mut self, price: f64) -> Option<MACD> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn generate_signal(&self, macd: &MACD) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BollingerBandsIndicator` is never constructed
[INFO] [stdout]    --> src/indicators.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub struct BollingerBandsIndicator {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl BollingerBandsIndicator {
[INFO] [stdout]     | ---------------------------- associated items in this implementation
[INFO] [stdout] 211 |     pub fn new(period: usize, std_dev_multiplier: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     pub fn update(&mut self, price: f64) -> Option<BollingerBands> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn generate_signal(&self, bands: &BollingerBands, current_price: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StochasticIndicator` is never constructed
[INFO] [stdout]    --> src/indicators.rs:269:12
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct StochasticIndicator {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:280:12
[INFO] [stdout]     |
[INFO] [stdout] 279 | impl StochasticIndicator {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 280 |     pub fn new(k_period: usize, d_period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 292 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<Stochastic> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     pub fn generate_signal(&self, stoch: &Stochastic) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WilliamsR` is never constructed
[INFO] [stdout]    --> src/indicators.rs:344:12
[INFO] [stdout]     |
[INFO] [stdout] 344 | pub struct WilliamsR {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:351:12
[INFO] [stdout]     |
[INFO] [stdout] 350 | impl WilliamsR {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 351 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 359 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn generate_signal(&self, williams_r: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CCI` is never constructed
[INFO] [stdout]    --> src/indicators.rs:401:12
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct CCI {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:408:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | impl CCI {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 408 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 416 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 439 |     pub fn generate_signal(&self, cci: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ATR` is never constructed
[INFO] [stdout]    --> src/indicators.rs:460:12
[INFO] [stdout]     |
[INFO] [stdout] 460 | pub struct ATR {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `update` are never used
[INFO] [stdout]    --> src/indicators.rs:468:12
[INFO] [stdout]     |
[INFO] [stdout] 467 | impl ATR {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 468 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 477 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SMA` is never constructed
[INFO] [stdout]    --> src/indicators.rs:494:12
[INFO] [stdout]     |
[INFO] [stdout] 494 | pub struct SMA {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `update` are never used
[INFO] [stdout]    --> src/indicators.rs:500:12
[INFO] [stdout]     |
[INFO] [stdout] 499 | impl SMA {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 500 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 507 |     pub fn update(&mut self, value: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EMA` is never constructed
[INFO] [stdout]    --> src/indicators.rs:523:12
[INFO] [stdout]     |
[INFO] [stdout] 523 | pub struct EMA {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `update` are never used
[INFO] [stdout]    --> src/indicators.rs:530:12
[INFO] [stdout]     |
[INFO] [stdout] 529 | impl EMA {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 530 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 538 |     pub fn update(&mut self, value: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VolumeIndicators` is never constructed
[INFO] [stdout]    --> src/indicators.rs:555:12
[INFO] [stdout]     |
[INFO] [stdout] 555 | pub struct VolumeIndicators {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, `volume_ratio`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:562:12
[INFO] [stdout]     |
[INFO] [stdout] 561 | impl VolumeIndicators {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 562 |     pub fn new(period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 570 |     pub fn update(&mut self, volume: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub fn volume_ratio(&self, current_volume: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 592 |     pub fn generate_signal(&self, volume_ratio: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SupportResistance` is never constructed
[INFO] [stdout]    --> src/indicators.rs:613:12
[INFO] [stdout]     |
[INFO] [stdout] 613 | pub struct SupportResistance {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `update`, `calculate_levels`, `get_nearest_resistance`, `get_nearest_support`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:622:12
[INFO] [stdout]     |
[INFO] [stdout] 621 | impl SupportResistance {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 622 |     pub fn new(lookback_period: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 632 |     pub fn update(&mut self, high: f64, low: f64, _close: f64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 646 |     fn calculate_levels(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 672 |     pub fn get_nearest_resistance(&self, price: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 679 |     pub fn get_nearest_support(&self, price: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 686 |     pub fn generate_signal(&self, current_price: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StrategyEngineConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct StrategyEngineConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BaseStrategyType` is never used
[INFO] [stdout]   --> src/strategy_engine.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum BaseStrategyType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndicatorConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct IndicatorConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RSIConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct RSIConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MACDConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct MACDConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BollingerBandsConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct BollingerBandsConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StochasticConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct StochasticConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WilliamsRConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct WilliamsRConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CCIConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct CCIConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ATRConfig` is never constructed
[INFO] [stdout]   --> src/strategy_engine.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct ATRConfig {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VolumeConfig` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub struct VolumeConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SupportResistanceConfig` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct SupportResistanceConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EMAConfig` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct EMAConfig {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalWeights` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct SignalWeights {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RiskParameters` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct RiskParameters {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestingConfig` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct BacktestingConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EnhancedTradingSignal` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct EnhancedTradingSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]    --> src/strategy_engine.rs:174:10
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub enum Action {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StrategyEngine` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct StrategyEngine {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndicatorCollection` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout] 189 | struct IndicatorCollection {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerformanceMetrics` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub struct PerformanceMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/strategy_engine.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl StrategyEngine {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 218 |     pub fn new(config: StrategyEngineConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub async fn analyze(&mut self, symbol: &str, price_data: &PriceData) -> Result<Vec<EnhancedTradingSignal>> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |     fn generate_combined_signals(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     fn calculate_weighted_scores(&self, signals: &HashMap<String, IndicatorSignal>) -> (f64, f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     fn get_indicator_weight(&self, indicator_name: &str) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     fn determine_action(&self, bullish_score: f64, bearish_score: f64) -> (Action, f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     fn calculate_risk_score(&self, signals: &HashMap<String, IndicatorSignal>) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 464 |     fn calculate_expected_return(&self, combined_score: f64, risk_score: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 473 |     fn calculate_stop_take_levels(&self, price_data: &PriceData, action: &Action) -> (Option<Decimal>, Option<Decimal>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 493 |     fn build_reasoning_string(&self, signals: &HashMap<String, IndicatorSignal>, combined_score: f64) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 514 |     pub fn get_performance_metrics(&self) -> &PerformanceMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 518 |     pub fn update_performance_metrics(&mut self, trade_result: &TradeResult) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 |     pub fn get_signal_history(&self, symbol: &str) -> Option<&Vec<EnhancedTradingSignal>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/strategy_engine.rs:553:8
[INFO] [stdout]     |
[INFO] [stdout] 552 | impl IndicatorCollection {
[INFO] [stdout]     | ------------------------ associated function in this implementation
[INFO] [stdout] 553 |     fn new(config: &IndicatorConfig) -> Result<Self> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeResult` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:714:12
[INFO] [stdout]     |
[INFO] [stdout] 714 | pub struct TradeResult {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestingEngine` is never constructed
[INFO] [stdout]   --> src/backtesting.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct BacktestingEngine {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestConfig` is never constructed
[INFO] [stdout]   --> src/backtesting.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct BacktestConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestResults` is never constructed
[INFO] [stdout]   --> src/backtesting.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct BacktestResults {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestPortfolio` is never constructed
[INFO] [stdout]   --> src/backtesting.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct BacktestPortfolio {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestPosition` is never constructed
[INFO] [stdout]   --> src/backtesting.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct BacktestPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestTrade` is never constructed
[INFO] [stdout]   --> src/backtesting.rs:81:12
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct BacktestTrade {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EquityPoint` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct EquityPoint {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DailyReturn` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct DailyReturn {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DrawdownPeriod` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct DrawdownPeriod {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WalkForwardAnalysis` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct WalkForwardAnalysis {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WalkForwardPeriod` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct WalkForwardPeriod {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/backtesting.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl BacktestingEngine {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 150 |     pub fn new(config: BacktestConfig) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn run_backtest(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn create_timeline(&self, price_data: &HashMap<String, Vec<OHLCV>>) -> Result<Vec<(DateTime<Utc>, HashMap<String, OHLCV>)>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn update_portfolio_values(&mut self, current_prices: &HashMap<String, OHLCV>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     fn execute_signal(&mut self, signal: &EnhancedTradingSignal, trade_id: &mut u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     fn execute_buy_order(&mut self, signal: &EnhancedTradingSignal, price: f64, trade_id: &mut u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |     fn execute_sell_order(&mut self, signal: &EnhancedTradingSignal, price: f64, trade_id: &mut u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 414 |     fn apply_slippage(&self, price: f64, action: &Action) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     fn calculate_current_drawdown(&self, current_value: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 438 |     fn calculate_results(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 596 |     pub fn generate_report(&self) -> BacktestReport {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 607 |     pub async fn run_walk_forward_analysis(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestReport` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:656:12
[INFO] [stdout]     |
[INFO] [stdout] 656 | pub struct BacktestReport {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderType` is never used
[INFO] [stdout]   --> src/orders.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum OrderType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderSide` is never used
[INFO] [stdout]   --> src/orders.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum OrderSide {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TimeInForce` is never used
[INFO] [stdout]   --> src/orders.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum TimeInForce {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OrderStatus` is never used
[INFO] [stdout]   --> src/orders.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub enum OrderStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AdvancedOrder` is never constructed
[INFO] [stdout]   --> src/orders.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct AdvancedOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BracketOrder` is never constructed
[INFO] [stdout]   --> src/orders.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct BracketOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OCOOrder` is never constructed
[INFO] [stdout]   --> src/orders.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct OCOOrder {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TrailingStopOrder` is never constructed
[INFO] [stdout]   --> src/orders.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct TrailingStopOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TrailType` is never used
[INFO] [stdout]   --> src/orders.rs:96:10
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub enum TrailType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderCondition` is never constructed
[INFO] [stdout]    --> src/orders.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub struct OrderCondition {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ConditionType` is never used
[INFO] [stdout]    --> src/orders.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub enum ConditionType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ComparisonOperator` is never used
[INFO] [stdout]    --> src/orders.rs:123:10
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub enum ComparisonOperator {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LogicOperator` is never used
[INFO] [stdout]    --> src/orders.rs:133:10
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum LogicOperator {
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExecutionInstruction` is never constructed
[INFO] [stdout]    --> src/orders.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct ExecutionInstruction {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `InstructionType` is never used
[INFO] [stdout]    --> src/orders.rs:145:10
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub enum InstructionType {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Fill` is never constructed
[INFO] [stdout]    --> src/orders.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct Fill {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBook` is never constructed
[INFO] [stdout]    --> src/orders.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 | pub struct OrderBook {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BookLevel` is never constructed
[INFO] [stdout]    --> src/orders.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | pub struct BookLevel {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderManager` is never constructed
[INFO] [stdout]    --> src/orders.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct OrderManager {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/orders.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl OrderManager {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 194 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn create_market_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn create_limit_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn create_stop_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn create_stop_limit_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 337 |     pub fn create_bracket_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 394 |     pub fn create_oco_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 449 |     pub fn create_trailing_stop_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 496 |     pub fn add_condition_to_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub fn add_execution_instruction(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 524 |     pub fn update_order_status(&mut self, order_id: &str, status: OrderStatus) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 534 |     pub fn fill_order(
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 603 |     fn handle_bracket_order_completion(&mut self, parent_order_id: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 616 |     fn handle_oco_order_completion(&mut self, filled_order_id: &str) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 637 |     pub fn update_trailing_stop(&mut self, symbol: &str, current_price: Decimal) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 698 |     pub fn cancel_order(&mut self, order_id: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 712 |     pub fn get_order(&self, order_id: &str) -> Option<&AdvancedOrder> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 716 |     pub fn get_orders_by_symbol(&self, symbol: &str) -> Vec<&AdvancedOrder> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 722 |     pub fn get_active_orders(&self) -> Vec<&AdvancedOrder> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 730 |     pub fn get_fills_by_order(&self, order_id: &str) -> Vec<&Fill> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 736 |     pub fn get_fills_by_symbol(&self, symbol: &str) -> Vec<&Fill> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 742 |     pub fn evaluate_conditions(&self, order_id: &str, market_data: &HashMap<String, Decimal>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 763 |     fn evaluate_single_condition(&self, condition: &OrderCondition, market_data: &HashMap<String, Decimal>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 793 |     fn compare_values(&self, left: Decimal, right: Decimal, operator: &ComparisonOperator) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 804 |     pub fn update_order_book(&mut self, symbol: String, order_book: OrderBook) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 808 |     pub fn get_order_book(&self, symbol: &str) -> Option<&OrderBook> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "40d1eb9a7e79ef1c2c98a083b94806d0c45eb5d15ca1ebb35399bc062440e9de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40d1eb9a7e79ef1c2c98a083b94806d0c45eb5d15ca1ebb35399bc062440e9de", kill_on_drop: false }`
[INFO] [stdout] 40d1eb9a7e79ef1c2c98a083b94806d0c45eb5d15ca1ebb35399bc062440e9de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] caebce646552903a7415dc04cd7f7f1903119d6d3ef7ff7888d7e15d6a4d4317
[INFO] running `Command { std: "docker" "start" "-a" "caebce646552903a7415dc04cd7f7f1903119d6d3ef7ff7888d7e15d6a4d4317", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling first-trading-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/historical_backtesting.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, warn, error};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]  --> src/historical_backtesting.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, warn, error};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar_size`
[INFO] [stdout]    --> src/ibkr.rs:516:13
[INFO] [stdout]     |
[INFO] [stdout] 516 |         let bar_size = match request.bar_size.as_str() {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `what_to_show`
[INFO] [stdout]    --> src/ibkr.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let what_to_show = match request.what_to_show.as_str() {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_what_to_show`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date_time`
[INFO] [stdout]    --> src/ibkr.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let end_date_time = request.end_date_time
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_bar_date` is never used
[INFO] [stdout]    --> src/ibkr.rs:620:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl IBKRClient {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `analytics_engine` is never read
[INFO] [stdout]   --> src/historical_backtesting.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct HistoricalBacktestEngine {
[INFO] [stdout]    |            ------------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     analytics_engine: AnalyticsEngine,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar_size`
[INFO] [stdout]    --> src/ibkr.rs:516:13
[INFO] [stdout]     |
[INFO] [stdout] 516 |         let bar_size = match request.bar_size.as_str() {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `what_to_show`
[INFO] [stdout]    --> src/ibkr.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let what_to_show = match request.what_to_show.as_str() {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_what_to_show`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date_time`
[INFO] [stdout]    --> src/ibkr.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let end_date_time = request.end_date_time
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]  --> src/bin/backtest.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc, NaiveDate, TimeZone};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/bin/backtest.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use log::{info, error, warn};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HistoricalBacktestConfig`
[INFO] [stdout]   --> src/bin/backtest.rs:10:75
[INFO] [stdout]    |
[INFO] [stdout] 10 | use first_trading_app::historical_backtesting::{HistoricalBacktestEngine, HistoricalBacktestConfig};
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse_bar_date` is never used
[INFO] [stdout]    --> src/ibkr.rs:620:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl IBKRClient {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `analytics_engine` is never read
[INFO] [stdout]   --> src/historical_backtesting.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct HistoricalBacktestEngine {
[INFO] [stdout]    |            ------------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 98 |     analytics_engine: AnalyticsEngine,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DateTime` and `Utc`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> src/config.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bar_size`
[INFO] [stdout]    --> src/ibkr.rs:516:13
[INFO] [stdout]     |
[INFO] [stdout] 516 |         let bar_size = match request.bar_size.as_str() {
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `what_to_show`
[INFO] [stdout]    --> src/ibkr.rs:527:13
[INFO] [stdout]     |
[INFO] [stdout] 527 |         let what_to_show = match request.what_to_show.as_str() {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_what_to_show`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end_date_time`
[INFO] [stdout]    --> src/ibkr.rs:536:13
[INFO] [stdout]     |
[INFO] [stdout] 536 |         let end_date_time = request.end_date_time
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricalBar` is never constructed
[INFO] [stdout]   --> src/ibkr.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct HistoricalBar {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricalDataRequest` is never constructed
[INFO] [stdout]   --> src/ibkr.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct HistoricalDataRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/ibkr.rs:275:18
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl IBKRClient {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 275 |     pub async fn cancel_market_data(&mut self, symbol: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 300 |     async fn cancel_realtime_bars(&mut self, symbol: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 379 |     pub async fn cancel_tick_data(&mut self, symbol: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn update_position(&self, symbol: String, position: Position) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 492 |     pub async fn get_account_summary(&self) -> Result<HashMap<String, String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 501 |     pub async fn get_historical_data(&self, request: &HistoricalDataRequest) -> Result<Vec<HistoricalBar>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 644 |     pub async fn get_multiple_historical_data(&self, requests: &[HistoricalDataRequest]) -> Result<HashMap<String, Vec<HistoricalBa...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndicatorValue` is never constructed
[INFO] [stdout]  --> src/indicators.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct IndicatorValue {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stochastic` is never constructed
[INFO] [stdout]   --> src/indicators.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Stochastic {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_signal` is never used
[INFO] [stdout]    --> src/indicators.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout]  62 | impl RSI {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn generate_signal(&self, rsi_value: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_signal` is never used
[INFO] [stdout]    --> src/indicators.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl MACDIndicator {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn generate_signal(&self, macd: &MACD) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generate_signal` is never used
[INFO] [stdout]    --> src/indicators.rs:246:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl BollingerBandsIndicator {
[INFO] [stdout]     | ---------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn generate_signal(&self, bands: &BollingerBands, current_price: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `k_period`, `highs`, `lows`, `closes`, and `d_sma` are never read
[INFO] [stdout]    --> src/indicators.rs:270:5
[INFO] [stdout]     |
[INFO] [stdout] 269 | pub struct StochasticIndicator {
[INFO] [stdout]     |            ------------------- fields in this struct
[INFO] [stdout] 270 |     k_period: usize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     _d_period: usize,
[INFO] [stdout] 272 |     highs: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 273 |     lows: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 274 |     closes: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 275 |     _k_values: VecDeque<f64>,
[INFO] [stdout] 276 |     d_sma: SMA,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StochasticIndicator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 279 | impl StochasticIndicator {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 292 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<Stochastic> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     pub fn generate_signal(&self, stoch: &Stochastic) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `period`, `highs`, and `lows` are never read
[INFO] [stdout]    --> src/indicators.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 344 | pub struct WilliamsR {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 345 |     period: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 346 |     highs: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 347 |     lows: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WilliamsR` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:359:12
[INFO] [stdout]     |
[INFO] [stdout] 350 | impl WilliamsR {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 359 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     pub fn generate_signal(&self, williams_r: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `period`, `typical_prices`, and `sma` are never read
[INFO] [stdout]    --> src/indicators.rs:402:5
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct CCI {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 402 |     period: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 403 |     typical_prices: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 404 |     sma: SMA,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CCI` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update` and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:416:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | impl CCI {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 416 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 439 |     pub fn generate_signal(&self, cci: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `atr_ema` and `previous_close` are never read
[INFO] [stdout]    --> src/indicators.rs:463:5
[INFO] [stdout]     |
[INFO] [stdout] 460 | pub struct ATR {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 463 |     atr_ema: EMA,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 464 |     previous_close: Option<f64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ATR` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/indicators.rs:477:12
[INFO] [stdout]     |
[INFO] [stdout] 467 | impl ATR {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 477 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `period`, `volumes`, and `volume_sma` are never read
[INFO] [stdout]    --> src/indicators.rs:556:5
[INFO] [stdout]     |
[INFO] [stdout] 555 | pub struct VolumeIndicators {
[INFO] [stdout]     |            ---------------- fields in this struct
[INFO] [stdout] 556 |     period: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 557 |     volumes: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 558 |     volume_sma: SMA,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `VolumeIndicators` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update`, `volume_ratio`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:570:12
[INFO] [stdout]     |
[INFO] [stdout] 561 | impl VolumeIndicators {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 570 |     pub fn update(&mut self, volume: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 579 |     pub fn volume_ratio(&self, current_volume: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 592 |     pub fn generate_signal(&self, volume_ratio: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `lookback_period`, `highs`, `lows`, `resistance_levels`, and `support_levels` are never read
[INFO] [stdout]    --> src/indicators.rs:614:5
[INFO] [stdout]     |
[INFO] [stdout] 613 | pub struct SupportResistance {
[INFO] [stdout]     |            ----------------- fields in this struct
[INFO] [stdout] 614 |     lookback_period: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 615 |     highs: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 616 |     lows: VecDeque<f64>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 617 |     resistance_levels: Vec<f64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 618 |     support_levels: Vec<f64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SupportResistance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update`, `calculate_levels`, `get_nearest_resistance`, `get_nearest_support`, and `generate_signal` are never used
[INFO] [stdout]    --> src/indicators.rs:632:12
[INFO] [stdout]     |
[INFO] [stdout] 621 | impl SupportResistance {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 632 |     pub fn update(&mut self, high: f64, low: f64, _close: f64) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 646 |     fn calculate_levels(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 672 |     pub fn get_nearest_resistance(&self, price: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 679 |     pub fn get_nearest_support(&self, price: f64) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 686 |     pub fn generate_signal(&self, current_price: f64) -> IndicatorSignal {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `indicators`, `signal_history`, and `performance_metrics` are never read
[INFO] [stdout]    --> src/strategy_engine.rs:184:5
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub struct StrategyEngine {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 183 |     config: StrategyEngineConfig,
[INFO] [stdout] 184 |     indicators: IndicatorCollection,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 185 |     signal_history: HashMap<String, Vec<EnhancedTradingSignal>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 186 |     performance_metrics: PerformanceMetrics,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/strategy_engine.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 189 | struct IndicatorCollection {
[INFO] [stdout]     |        ------------------- fields in this struct
[INFO] [stdout] 190 |     rsi: Option<RSI>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 191 |     macd: Option<MACDIndicator>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 192 |     bollinger_bands: Option<BollingerBandsIndicator>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 193 |     stochastic: Option<StochasticIndicator>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 194 |     williams_r: Option<WilliamsR>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 195 |     cci: Option<CCI>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 196 |     atr: Option<ATR>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 197 |     volume: Option<VolumeIndicators>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 198 |     support_resistance: Option<SupportResistance>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/strategy_engine.rs:229:18
[INFO] [stdout]     |
[INFO] [stdout] 217 | impl StrategyEngine {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub async fn analyze(&mut self, symbol: &str, price_data: &PriceData) -> Result<Vec<EnhancedTradingSignal>> {
[INFO] [stdout]     |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |     fn generate_combined_signals(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     fn calculate_weighted_scores(&self, signals: &HashMap<String, IndicatorSignal>) -> (f64, f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     fn calculate_risk_score(&self, signals: &HashMap<String, IndicatorSignal>) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 464 |     fn calculate_expected_return(&self, combined_score: f64, risk_score: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 473 |     fn calculate_stop_take_levels(&self, price_data: &PriceData, action: &Action) -> (Option<Decimal>, Option<Decimal>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 493 |     fn build_reasoning_string(&self, signals: &HashMap<String, IndicatorSignal>, combined_score: f64) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 514 |     pub fn get_performance_metrics(&self) -> &PerformanceMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 518 |     pub fn update_performance_metrics(&mut self, trade_result: &TradeResult) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 547 |     pub fn get_signal_history(&self, symbol: &str) -> Option<&Vec<EnhancedTradingSignal>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TradeResult` is never constructed
[INFO] [stdout]    --> src/strategy_engine.rs:714:12
[INFO] [stdout]     |
[INFO] [stdout] 714 | pub struct TradeResult {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WalkForwardAnalysis` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct WalkForwardAnalysis {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WalkForwardPeriod` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct WalkForwardPeriod {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/backtesting.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl BacktestingEngine {
[INFO] [stdout]     | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn run_backtest(
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     fn create_timeline(&self, price_data: &HashMap<String, Vec<OHLCV>>) -> Result<Vec<(DateTime<Utc>, HashMap<String, OHLCV>)>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 263 |     fn update_portfolio_values(&mut self, current_prices: &HashMap<String, OHLCV>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     fn execute_signal(&mut self, signal: &EnhancedTradingSignal, trade_id: &mut u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     fn execute_buy_order(&mut self, signal: &EnhancedTradingSignal, price: f64, trade_id: &mut u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 356 |     fn execute_sell_order(&mut self, signal: &EnhancedTradingSignal, price: f64, trade_id: &mut u32) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     fn calculate_current_drawdown(&self, current_value: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 438 |     fn calculate_results(&mut self) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 596 |     pub fn generate_report(&self) -> BacktestReport {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 607 |     pub async fn run_walk_forward_analysis(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BacktestReport` is never constructed
[INFO] [stdout]    --> src/backtesting.rs:656:12
[INFO] [stdout]     |
[INFO] [stdout] 656 | pub struct BacktestReport {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `order_books` is never read
[INFO] [stdout]    --> src/orders.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct OrderManager {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 190 |     order_books: HashMap<String, OrderBook>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/orders.rs:303:12
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl OrderManager {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn create_stop_limit_order(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub fn add_execution_instruction(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 637 |     pub fn update_trailing_stop(&mut self, symbol: &str, current_price: Decimal) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 716 |     pub fn get_orders_by_symbol(&self, symbol: &str) -> Vec<&AdvancedOrder> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 722 |     pub fn get_active_orders(&self) -> Vec<&AdvancedOrder> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 730 |     pub fn get_fills_by_order(&self, order_id: &str) -> Vec<&Fill> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 736 |     pub fn get_fills_by_symbol(&self, symbol: &str) -> Vec<&Fill> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 804 |     pub fn update_order_book(&mut self, symbol: String, order_book: OrderBook) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 808 |     pub fn get_order_book(&self, symbol: &str) -> Option<&OrderBook> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 33.93s
[INFO] running `Command { std: "docker" "inspect" "caebce646552903a7415dc04cd7f7f1903119d6d3ef7ff7888d7e15d6a4d4317", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caebce646552903a7415dc04cd7f7f1903119d6d3ef7ff7888d7e15d6a4d4317", kill_on_drop: false }`
[INFO] [stdout] caebce646552903a7415dc04cd7f7f1903119d6d3ef7ff7888d7e15d6a4d4317
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2c247aa221dc15fa97720b33d662d74d1b90dadef2d3660b973bedab2d1f0631
[INFO] running `Command { std: "docker" "start" "-a" "2c247aa221dc15fa97720b33d662d74d1b90dadef2d3660b973bedab2d1f0631", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `DateTime` and `Utc`
[INFO] [stderr]  --> src/config.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::{DateTime, Utc};
[INFO] [stderr]   |              ^^^^^^^^  ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rust_decimal::Decimal`
[INFO] [stderr]  --> src/config.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rust_decimal::Decimal;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `error`
[INFO] [stderr]  --> src/historical_backtesting.rs:3:23
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{info, warn, error};
[INFO] [stderr]   |                       ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bar_size`
[INFO] [stderr]    --> src/ibkr.rs:516:13
[INFO] [stderr]     |
[INFO] [stderr] 516 |         let bar_size = match request.bar_size.as_str() {
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bar_size`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `what_to_show`
[INFO] [stderr]    --> src/ibkr.rs:527:13
[INFO] [stderr]     |
[INFO] [stderr] 527 |         let what_to_show = match request.what_to_show.as_str() {
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_what_to_show`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end_date_time`
[INFO] [stderr]    --> src/ibkr.rs:536:13
[INFO] [stderr]     |
[INFO] [stderr] 536 |         let end_date_time = request.end_date_time
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_date_time`
[INFO] [stderr] 
[INFO] [stderr] warning: method `parse_bar_date` is never used
[INFO] [stderr]    --> src/ibkr.rs:620:8
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl IBKRClient {
[INFO] [stderr]     | --------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `analytics_engine` is never read
[INFO] [stderr]   --> src/historical_backtesting.rs:98:5
[INFO] [stderr]    |
[INFO] [stderr] 94 | pub struct HistoricalBacktestEngine {
[INFO] [stderr]    |            ------------------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 98 |     analytics_engine: AnalyticsEngine,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `first-trading-app` (lib) generated 8 warnings (run `cargo fix --lib -p first-trading-app` to apply 6 suggestions)
[INFO] [stderr] warning: `first-trading-app` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr] warning: unused import: `DateTime`
[INFO] [stderr]  --> src/bin/backtest.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::{DateTime, Utc, NaiveDate, TimeZone};
[INFO] [stderr]   |              ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/bin/backtest.rs:3:24
[INFO] [stderr]   |
[INFO] [stderr] 3 | use log::{info, error, warn};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HistoricalBacktestConfig`
[INFO] [stderr]   --> src/bin/backtest.rs:10:75
[INFO] [stderr]    |
[INFO] [stderr] 10 | use first_trading_app::historical_backtesting::{HistoricalBacktestEngine, HistoricalBacktestConfig};
[INFO] [stderr]    |                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HistoricalBar` is never constructed
[INFO] [stderr]   --> src/ibkr.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub struct HistoricalBar {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HistoricalDataRequest` is never constructed
[INFO] [stderr]   --> src/ibkr.rs:91:12
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub struct HistoricalDataRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/ibkr.rs:275:18
[INFO] [stderr]     |
[INFO] [stderr] 100 | impl IBKRClient {
[INFO] [stderr]     | --------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 275 |     pub async fn cancel_market_data(&mut self, symbol: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 300 |     async fn cancel_realtime_bars(&mut self, symbol: &str) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 379 |     pub async fn cancel_tick_data(&mut self, symbol: &str) -> Result<()> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 483 |     pub async fn update_position(&self, symbol: String, position: Position) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 492 |     pub async fn get_account_summary(&self) -> Result<HashMap<String, String>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 501 |     pub async fn get_historical_data(&self, request: &HistoricalDataRequest) -> Result<Vec<HistoricalBar>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 620 |     fn parse_bar_date(&self, time_str: &str) -> Result<DateTime<Utc>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 644 |     pub async fn get_multiple_historical_data(&self, requests: &[HistoricalDataRequest]) -> Result<HashMap<String, Vec<HistoricalBa...
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `IndicatorValue` is never constructed
[INFO] [stderr]  --> src/indicators.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct IndicatorValue {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Stochastic` is never constructed
[INFO] [stderr]   --> src/indicators.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub struct Stochastic {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `generate_signal` is never used
[INFO] [stderr]    --> src/indicators.rs:113:12
[INFO] [stderr]     |
[INFO] [stderr]  62 | impl RSI {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 113 |     pub fn generate_signal(&self, rsi_value: f64) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `generate_signal` is never used
[INFO] [stderr]    --> src/indicators.rs:182:12
[INFO] [stderr]     |
[INFO] [stderr] 144 | impl MACDIndicator {
[INFO] [stderr]     | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 182 |     pub fn generate_signal(&self, macd: &MACD) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `generate_signal` is never used
[INFO] [stderr]    --> src/indicators.rs:246:12
[INFO] [stderr]     |
[INFO] [stderr] 210 | impl BollingerBandsIndicator {
[INFO] [stderr]     | ---------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 246 |     pub fn generate_signal(&self, bands: &BollingerBands, current_price: f64) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `k_period`, `highs`, `lows`, `closes`, and `d_sma` are never read
[INFO] [stderr]    --> src/indicators.rs:270:5
[INFO] [stderr]     |
[INFO] [stderr] 269 | pub struct StochasticIndicator {
[INFO] [stderr]     |            ------------------- fields in this struct
[INFO] [stderr] 270 |     k_period: usize,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 271 |     _d_period: usize,
[INFO] [stderr] 272 |     highs: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 273 |     lows: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 274 |     closes: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 275 |     _k_values: VecDeque<f64>,
[INFO] [stderr] 276 |     d_sma: SMA,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `StochasticIndicator` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update` and `generate_signal` are never used
[INFO] [stderr]    --> src/indicators.rs:292:12
[INFO] [stderr]     |
[INFO] [stderr] 279 | impl StochasticIndicator {
[INFO] [stderr]     | ------------------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 292 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<Stochastic> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 323 |     pub fn generate_signal(&self, stoch: &Stochastic) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `period`, `highs`, and `lows` are never read
[INFO] [stderr]    --> src/indicators.rs:345:5
[INFO] [stderr]     |
[INFO] [stderr] 344 | pub struct WilliamsR {
[INFO] [stderr]     |            --------- fields in this struct
[INFO] [stderr] 345 |     period: usize,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 346 |     highs: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 347 |     lows: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `WilliamsR` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update` and `generate_signal` are never used
[INFO] [stderr]    --> src/indicators.rs:359:12
[INFO] [stderr]     |
[INFO] [stderr] 350 | impl WilliamsR {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 359 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 380 |     pub fn generate_signal(&self, williams_r: f64) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `period`, `typical_prices`, and `sma` are never read
[INFO] [stderr]    --> src/indicators.rs:402:5
[INFO] [stderr]     |
[INFO] [stderr] 401 | pub struct CCI {
[INFO] [stderr]     |            --- fields in this struct
[INFO] [stderr] 402 |     period: usize,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 403 |     typical_prices: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] 404 |     sma: SMA,
[INFO] [stderr]     |     ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `CCI` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update` and `generate_signal` are never used
[INFO] [stderr]    --> src/indicators.rs:416:12
[INFO] [stderr]     |
[INFO] [stderr] 407 | impl CCI {
[INFO] [stderr]     | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 416 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 439 |     pub fn generate_signal(&self, cci: f64) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `atr_ema` and `previous_close` are never read
[INFO] [stderr]    --> src/indicators.rs:463:5
[INFO] [stderr]     |
[INFO] [stderr] 460 | pub struct ATR {
[INFO] [stderr]     |            --- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 463 |     atr_ema: EMA,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 464 |     previous_close: Option<f64>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ATR` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `update` is never used
[INFO] [stderr]    --> src/indicators.rs:477:12
[INFO] [stderr]     |
[INFO] [stderr] 467 | impl ATR {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 477 |     pub fn update(&mut self, high: f64, low: f64, close: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `period`, `volumes`, and `volume_sma` are never read
[INFO] [stderr]    --> src/indicators.rs:556:5
[INFO] [stderr]     |
[INFO] [stderr] 555 | pub struct VolumeIndicators {
[INFO] [stderr]     |            ---------------- fields in this struct
[INFO] [stderr] 556 |     period: usize,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 557 |     volumes: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 558 |     volume_sma: SMA,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `VolumeIndicators` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update`, `volume_ratio`, and `generate_signal` are never used
[INFO] [stderr]    --> src/indicators.rs:570:12
[INFO] [stderr]     |
[INFO] [stderr] 561 | impl VolumeIndicators {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 570 |     pub fn update(&mut self, volume: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 579 |     pub fn volume_ratio(&self, current_volume: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 592 |     pub fn generate_signal(&self, volume_ratio: f64) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `lookback_period`, `highs`, `lows`, `resistance_levels`, and `support_levels` are never read
[INFO] [stderr]    --> src/indicators.rs:614:5
[INFO] [stderr]     |
[INFO] [stderr] 613 | pub struct SupportResistance {
[INFO] [stderr]     |            ----------------- fields in this struct
[INFO] [stderr] 614 |     lookback_period: usize,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 615 |     highs: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 616 |     lows: VecDeque<f64>,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 617 |     resistance_levels: Vec<f64>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 618 |     support_levels: Vec<f64>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `SupportResistance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `update`, `calculate_levels`, `get_nearest_resistance`, `get_nearest_support`, and `generate_signal` are never used
[INFO] [stderr]    --> src/indicators.rs:632:12
[INFO] [stderr]     |
[INFO] [stderr] 621 | impl SupportResistance {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 632 |     pub fn update(&mut self, high: f64, low: f64, _close: f64) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 646 |     fn calculate_levels(&mut self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 672 |     pub fn get_nearest_resistance(&self, price: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 679 |     pub fn get_nearest_support(&self, price: f64) -> Option<f64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 686 |     pub fn generate_signal(&self, current_price: f64) -> IndicatorSignal {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `indicators`, `signal_history`, and `performance_metrics` are never read
[INFO] [stderr]    --> src/strategy_engine.rs:184:5
[INFO] [stderr]     |
[INFO] [stderr] 182 | pub struct StrategyEngine {
[INFO] [stderr]     |            -------------- fields in this struct
[INFO] [stderr] 183 |     config: StrategyEngineConfig,
[INFO] [stderr] 184 |     indicators: IndicatorCollection,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 185 |     signal_history: HashMap<String, Vec<EnhancedTradingSignal>>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] 186 |     performance_metrics: PerformanceMetrics,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]    --> src/strategy_engine.rs:190:5
[INFO] [stderr]     |
[INFO] [stderr] 189 | struct IndicatorCollection {
[INFO] [stderr]     |        ------------------- fields in this struct
[INFO] [stderr] 190 |     rsi: Option<RSI>,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 191 |     macd: Option<MACDIndicator>,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 192 |     bollinger_bands: Option<BollingerBandsIndicator>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 193 |     stochastic: Option<StochasticIndicator>,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 194 |     williams_r: Option<WilliamsR>,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr] 195 |     cci: Option<CCI>,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 196 |     atr: Option<ATR>,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 197 |     volume: Option<VolumeIndicators>,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 198 |     support_resistance: Option<SupportResistance>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/strategy_engine.rs:229:18
[INFO] [stderr]     |
[INFO] [stderr] 217 | impl StrategyEngine {
[INFO] [stderr]     | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 229 |     pub async fn analyze(&mut self, symbol: &str, price_data: &PriceData) -> Result<Vec<EnhancedTradingSignal>> {
[INFO] [stderr]     |                  ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 328 |     fn generate_combined_signals(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 377 |     fn calculate_weighted_scores(&self, signals: &HashMap<String, IndicatorSignal>) -> (f64, f64) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 436 |     fn calculate_risk_score(&self, signals: &HashMap<String, IndicatorSignal>) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 464 |     fn calculate_expected_return(&self, combined_score: f64, risk_score: f64) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 473 |     fn calculate_stop_take_levels(&self, price_data: &PriceData, action: &Action) -> (Option<Decimal>, Option<Decimal>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 493 |     fn build_reasoning_string(&self, signals: &HashMap<String, IndicatorSignal>, combined_score: f64) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 514 |     pub fn get_performance_metrics(&self) -> &PerformanceMetrics {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 518 |     pub fn update_performance_metrics(&mut self, trade_result: &TradeResult) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 547 |     pub fn get_signal_history(&self, symbol: &str) -> Option<&Vec<EnhancedTradingSignal>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TradeResult` is never constructed
[INFO] [stderr]    --> src/strategy_engine.rs:714:12
[INFO] [stderr]     |
[INFO] [stderr] 714 | pub struct TradeResult {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WalkForwardAnalysis` is never constructed
[INFO] [stderr]    --> src/backtesting.rs:130:12
[INFO] [stderr]     |
[INFO] [stderr] 130 | pub struct WalkForwardAnalysis {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `WalkForwardPeriod` is never constructed
[INFO] [stderr]    --> src/backtesting.rs:139:12
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub struct WalkForwardPeriod {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/backtesting.rs:168:18
[INFO] [stderr]     |
[INFO] [stderr] 149 | impl BacktestingEngine {
[INFO] [stderr]     | ---------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 168 |     pub async fn run_backtest(
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 244 |     fn create_timeline(&self, price_data: &HashMap<String, Vec<OHLCV>>) -> Result<Vec<(DateTime<Utc>, HashMap<String, OHLCV>)>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 263 |     fn update_portfolio_values(&mut self, current_prices: &HashMap<String, OHLCV>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 277 |     fn execute_signal(&mut self, signal: &EnhancedTradingSignal, trade_id: &mut u32) -> Result<()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 294 |     fn execute_buy_order(&mut self, signal: &EnhancedTradingSignal, price: f64, trade_id: &mut u32) -> Result<()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 356 |     fn execute_sell_order(&mut self, signal: &EnhancedTradingSignal, price: f64, trade_id: &mut u32) -> Result<()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 422 |     fn calculate_current_drawdown(&self, current_value: f64) -> f64 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 438 |     fn calculate_results(&mut self) -> Result<()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 596 |     pub fn generate_report(&self) -> BacktestReport {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 607 |     pub async fn run_walk_forward_analysis(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BacktestReport` is never constructed
[INFO] [stderr]    --> src/backtesting.rs:656:12
[INFO] [stderr]     |
[INFO] [stderr] 656 | pub struct BacktestReport {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `order_books` is never read
[INFO] [stderr]    --> src/orders.rs:190:5
[INFO] [stderr]     |
[INFO] [stderr] 184 | pub struct OrderManager {
[INFO] [stderr]     |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 190 |     order_books: HashMap<String, OrderBook>,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/orders.rs:303:12
[INFO] [stderr]     |
[INFO] [stderr] 193 | impl OrderManager {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 303 |     pub fn create_stop_limit_order(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 510 |     pub fn add_execution_instruction(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 637 |     pub fn update_trailing_stop(&mut self, symbol: &str, current_price: Decimal) -> Result<()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 716 |     pub fn get_orders_by_symbol(&self, symbol: &str) -> Vec<&AdvancedOrder> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 722 |     pub fn get_active_orders(&self) -> Vec<&AdvancedOrder> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 730 |     pub fn get_fills_by_order(&self, order_id: &str) -> Vec<&Fill> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 736 |     pub fn get_fills_by_symbol(&self, symbol: &str) -> Vec<&Fill> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 804 |     pub fn update_order_book(&mut self, symbol: String, order_book: OrderBook) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 808 |     pub fn get_order_book(&self, symbol: &str) -> Option<&OrderBook> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `first-trading-app` (bin "backtest" test) generated 3 warnings (run `cargo fix --bin "backtest" -p first-trading-app --tests` to apply 3 suggestions)
[INFO] [stderr] warning: `first-trading-app` (bin "first-trading-app" test) generated 35 warnings (5 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/first_trading_app-c344205ed1f8cb98)
[INFO] [stdout] 
[INFO] [stdout] running 49 tests
[INFO] [stdout] test analytics::tests::test_analytics_engine_creation ... ok
[INFO] [stdout] test analytics::tests::test_sharpe_ratio_calculation ... ok
[INFO] [stdout] test analytics::tests::test_max_drawdown_calculation ... ok
[INFO] [stdout] test analytics::tests::test_var_calculation ... ok
[INFO] [stdout] test analytics::tests::test_volatility_calculation ... ok
[INFO] [stdout] test analytics::tests::test_total_return_calculation ... ok
[INFO] [stdout] test backtesting::tests::test_slippage_calculation ... ok
[INFO] [stdout] test config::tests::test_config_load_with_env_vars ... ok
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test backtesting::tests::test_backtest_engine_creation ... ok
[INFO] [stdout] test data::tests::test_ohlcv_data ... ok
[INFO] [stdout] test data::tests::test_market_data_manager ... ok
[INFO] [stdout] test data::tests::test_tick_data ... ok
[INFO] [stdout] test data::tests::test_statistics ... ok
[INFO] [stdout] test indicators::tests::test_bollinger_bands ... ok
[INFO] [stdout] test ibkr::tests::test_connection_status ... ok
[INFO] [stdout] test indicators::tests::test_macd_calculation ... ok
[INFO] [stdout] test orders::tests::test_cancel_order ... ok
[INFO] [stdout] test historical_backtesting::tests::test_duration_calculation ... ok
[INFO] [stdout] test historical_backtesting::tests::test_historical_backtest_config_creation ... ok
[INFO] [stdout] test orders::tests::test_fill_order ... ok
[INFO] [stdout] test ibkr::tests::test_market_data_handler ... ok
[INFO] [stdout] test indicators::tests::test_rsi_calculation ... ok
[INFO] [stdout] test ibkr::tests::test_client_creation ... ok
[INFO] [stdout] test ibkr::tests::test_order_creation ... ok
[INFO] [stdout] test indicators::tests::test_ema_calculation ... ok
[INFO] [stdout] test portfolio::tests::test_buy_position ... ok
[INFO] [stdout] test portfolio::tests::test_can_take_position ... ok
[INFO] [stdout] test orders::tests::test_trailing_stop_order ... ok
[INFO] [stdout] test portfolio::tests::test_empty_position ... ok
[INFO] [stdout] test portfolio::tests::test_insufficient_cash ... ok
[INFO] [stdout] test config::tests::test_config_load_missing_required_env ... ok
[INFO] [stdout] test ibkr::tests::test_market_data_subscription ... ok
[INFO] [stdout] test orders::tests::test_order_conditions ... ok
[INFO] [stderr]      Running unittests src/bin/backtest.rs (/opt/rustwide/target/debug/deps/backtest-d3d4d793e2692d50)
[INFO] [stdout] test portfolio::tests::test_portfolio_summary ... ok
[INFO] [stdout] test portfolio::tests::test_position_updates ... ok
[INFO] [stdout] test strategy::tests::test_ema_calculator ... ok
[INFO] [stdout] test portfolio::tests::test_risk_limits ... ok
[INFO] [stdout] test strategy::tests::test_trend_direction ... ok
[INFO] [stdout] test strategy_engine::tests::test_action_determination ... ok
[INFO] [stdout] test indicators::tests::test_sma_calculation ... ok
[INFO] [stdout] test strategy_engine::tests::test_indicator_weights ... ok
[INFO] [stdout] test config::tests::test_config_serialization ... ok
[INFO] [stdout] test orders::tests::test_create_bracket_order ... ok
[INFO] [stdout] test orders::tests::test_oco_order ... ok
[INFO] [stdout] test portfolio::tests::test_sell_position ... ok
[INFO] [stdout] test strategy_engine::tests::test_strategy_engine_creation ... ok
[INFO] [stdout] test portfolio::tests::test_new_portfolio ... ok
[INFO] [stdout] test orders::tests::test_create_market_order ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 49 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[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/first_trading_app-2351daaa044af57c)
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test backtesting::tests::test_backtest_engine_creation ... ok
[INFO] [stdout] test backtesting::tests::test_slippage_calculation ... ok
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test data::tests::test_statistics ... ok
[INFO] [stdout] test ibkr::tests::test_client_creation ... ok
[INFO] [stdout] test data::tests::test_tick_data ... ok
[INFO] [stdout] test data::tests::test_ohlcv_data ... ok
[INFO] [stdout] test data::tests::test_market_data_manager ... ok
[INFO] [stdout] test ibkr::tests::test_order_creation ... ok
[INFO] [stdout] test ibkr::tests::test_market_data_handler ... ok
[INFO] [stdout] test indicators::tests::test_macd_calculation ... ok
[INFO] [stdout] test indicators::tests::test_bollinger_bands ... ok
[INFO] [stdout] test ibkr::tests::test_connection_status ... ok
[INFO] [stdout] test indicators::tests::test_rsi_calculation ... ok
[INFO] [stdout] test indicators::tests::test_ema_calculation ... ok
[INFO] [stdout] test indicators::tests::test_sma_calculation ... ok
[INFO] [stdout] test orders::tests::test_cancel_order ... ok
[INFO] [stdout] test orders::tests::test_create_bracket_order ... ok
[INFO] [stdout] test config::tests::test_config_serialization ... ok
[INFO] [stdout] test orders::tests::test_create_market_order ... ok
[INFO] [stdout] test orders::tests::test_fill_order ... ok
[INFO] [stdout] test orders::tests::test_oco_order ... ok
[INFO] [stdout] test orders::tests::test_order_conditions ... ok
[INFO] [stdout] test portfolio::tests::test_buy_position ... ok
[INFO] [stdout] test portfolio::tests::test_can_take_position ... ok
[INFO] [stdout] test portfolio::tests::test_empty_position ... ok
[INFO] [stdout] test orders::tests::test_trailing_stop_order ... ok
[INFO] [stdout] test portfolio::tests::test_new_portfolio ... ok
[INFO] [stdout] test portfolio::tests::test_risk_limits ... ok
[INFO] [stdout] test portfolio::tests::test_portfolio_summary ... ok
[INFO] [stdout] test portfolio::tests::test_position_updates ... ok
[INFO] [stdout] test strategy::tests::test_ema_calculator ... ok
[INFO] [stdout] test strategy::tests::test_trend_direction ... ok
[INFO] [stdout] test strategy_engine::tests::test_action_determination ... ok
[INFO] [stdout] test strategy_engine::tests::test_indicator_weights ... ok
[INFO] [stdout] test portfolio::tests::test_sell_position ... ok
[INFO] [stdout] test strategy_engine::tests::test_strategy_engine_creation ... ok
[INFO] [stdout] test config::tests::test_config_load_missing_required_env ... ok
[INFO] [stdout] test portfolio::tests::test_insufficient_cash ... ok
[INFO] [stdout] test config::tests::test_config_load_with_env_vars ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--bin first-trading-app`
[INFO] [stdout] test ibkr::tests::test_market_data_subscription ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- config::tests::test_config_load_with_env_vars stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'config::tests::test_config_load_with_env_vars' (78) panicked at src/config.rs:543:32:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: IBKR_ACCOUNT_ID environment variable is required
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: anyhow::error::<impl anyhow::Error>::msg
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14
[INFO] [stdout]    1: anyhow::__private::format_err
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/lib.rs:694:13
[INFO] [stdout]    2: first_trading_app::config::Config::load_from_env::{{closure}}
[INFO] [stdout]              at ./src/config.rs:176:26
[INFO] [stdout]    3: core::result::Result<T,E>::map_err
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/result.rs:968:27
[INFO] [stdout]    4: first_trading_app::config::Config::load_from_env
[INFO] [stdout]              at ./src/config.rs:176:14
[INFO] [stdout]    5: first_trading_app::config::tests::test_config_load_with_env_vars
[INFO] [stdout]              at ./src/config.rs:543:16
[INFO] [stdout]    6: first_trading_app::config::tests::test_config_load_with_env_vars::{{closure}}
[INFO] [stdout]              at ./src/config.rs:527:40
[INFO] [stdout]    7: core::ops::function::FnOnce::call_once
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    8: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    9: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:663:18
[INFO] [stdout]   10: test::run_test_in_process::{closure#0}
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:74
[INFO] [stdout]   11: <core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   12: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   13: std::panicking::catch_unwind::<core::result::Result<(), alloc::string::String>, core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   14: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   15: test::run_test_in_process
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:27
[INFO] [stdout]   16: test::run_test::{closure#0}
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:607:43
[INFO] [stdout]   17: test::run_test::{closure#1}
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:637:41
[INFO] [stdout]   18: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   19: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   20: <core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   21: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   22: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   23: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   24: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   25: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26: <alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output = ()> + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   27: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]              at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   28: <unknown>
[INFO] [stdout]   29: clone
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6381935e73ba - std[b80a194dd3c418bb]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6381935e73ba - std[b80a194dd3c418bb]::backtrace_rs::backtrace::trace_unsynchronized::<std[b80a194dd3c418bb]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6381935e73ba - std[b80a194dd3c418bb]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6381935e73ba - <<std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[10b6fa85044e1869]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6381935fd97a - <core[10b6fa85044e1869]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6381935fd97a - core[10b6fa85044e1869]::fmt::write
[INFO] [stdout]    6:     0x6381935ec282 - std[b80a194dd3c418bb]::io::default_write_fmt::<alloc[dd269455e567d8e9]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x6381935ec282 - <alloc[dd269455e567d8e9]::vec::Vec<u8> as std[b80a194dd3c418bb]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6381935c57af - <std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6381935c57af - std[b80a194dd3c418bb]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6381935df2d9 - std[b80a194dd3c418bb]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x63819349632c - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x63819349632c - test[826cbc6ef54ab466]::test_main_with_exit_callback::<test[826cbc6ef54ab466]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6381935df552 - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x6381935df552 - std[b80a194dd3c418bb]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6381935c5868 - std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x6381935bcac9 - std[b80a194dd3c418bb]::sys::backtrace::__rust_end_short_backtrace::<std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6381935c682d - __rustc[9698a3e60dd14283]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6381935fe28c - core[10b6fa85044e1869]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6381935fdfd2 - core[10b6fa85044e1869]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x63819331703e - core::result::Result<T,E>::unwrap::ha4e758b4a36db01f
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x63819331703e - first_trading_app::config::tests::test_config_load_with_env_vars::h1d3e696d3063d816
[INFO] [stdout]                                at /opt/rustwide/workdir/src/config.rs:543:32
[INFO] [stdout]   22:     0x638193317667 - first_trading_app::config::tests::test_config_load_with_env_vars::{{closure}}::he0d1c3f50adaa906
[INFO] [stdout]                                at /opt/rustwide/workdir/src/config.rs:527:40
[INFO] [stdout]   23:     0x638193357796 - core::ops::function::FnOnce::call_once::ha3e3a437cb0e7a22
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x63819348a40b - <fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x63819348a40b - test[826cbc6ef54ab466]::__rust_begin_short_backtrace::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x638193496dfb - test[826cbc6ef54ab466]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x638193496dfb - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x638193496dfb - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x638193496dfb - std[b80a194dd3c418bb]::panicking::catch_unwind::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x638193496dfb - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x638193496dfb - test[826cbc6ef54ab466]::run_test_in_process
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x638193496dfb - test[826cbc6ef54ab466]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x638193492514 - test[826cbc6ef54ab466]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x638193492514 - std[b80a194dd3c418bb]::sys::backtrace::__rust_begin_short_backtrace::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x638193499a02 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x638193499a02 - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x638193499a02 - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x638193499a02 - std[b80a194dd3c418bb]::panicking::catch_unwind::<(), core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x638193499a02 - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x638193499a02 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x638193499a02 - <std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1} as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x6381935e6c8f - <alloc[dd269455e567d8e9]::boxed::Box<dyn core[10b6fa85044e1869]::ops::function::FnOnce<(), Output = ()> + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   43:     0x6381935e6c8f - <std[b80a194dd3c418bb]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7aa2816c7aa4 - <unknown>
[INFO] [stdout]   45:     0x7aa281754a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     config::tests::test_config_load_with_env_vars
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 40 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2c247aa221dc15fa97720b33d662d74d1b90dadef2d3660b973bedab2d1f0631", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c247aa221dc15fa97720b33d662d74d1b90dadef2d3660b973bedab2d1f0631", kill_on_drop: false }`
[INFO] [stdout] 2c247aa221dc15fa97720b33d662d74d1b90dadef2d3660b973bedab2d1f0631
