[INFO] cloning repository https://github.com/sehyunsix/six-trading
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sehyunsix/six-trading" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsehyunsix%2Fsix-trading", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsehyunsix%2Fsix-trading'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10ebd934c187ed862e39ccda80b1753cfa15b015
[INFO] testing sehyunsix/six-trading against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsehyunsix%2Fsix-trading" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sehyunsix/six-trading
[INFO] finished tweaking git repo https://github.com/sehyunsix/six-trading
[INFO] tweaked toml for git repo https://github.com/sehyunsix/six-trading written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sehyunsix/six-trading on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sehyunsix/six-trading already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crc v3.4.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.104
[INFO] [stderr]   Downloaded redox_syscall v0.7.0
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.6
[INFO] [stderr]   Downloaded event-listener v5.4.1
[INFO] [stderr]   Downloaded zmij v1.0.0
[INFO] [stderr]   Downloaded binance v0.21.2
[INFO] [stderr]   Downloaded jiff-static v0.2.17
[INFO] [stderr]   Downloaded cc v1.2.51
[INFO] [stderr]   Downloaded serde_json v1.0.148
[INFO] [stderr]   Downloaded base64ct v1.8.1
[INFO] [stderr]   Downloaded flate2 v1.1.5
[INFO] [stderr]   Downloaded rsa v0.9.9
[INFO] [stderr]   Downloaded h2 v0.3.27
[INFO] [stderr]   Downloaded portable-atomic v1.13.0
[INFO] [stderr]   Downloaded hdrhistogram v7.5.4
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.6
[INFO] [stderr]   Downloaded jiff v0.2.17
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7d374a8bd4a9fe7e8306ac320ca9573acce8238516d024d905c4a4aa8ee2657
[INFO] running `Command { std: "docker" "start" "-a" "c7d374a8bd4a9fe7e8306ac320ca9573acce8238516d024d905c4a4aa8ee2657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7d374a8bd4a9fe7e8306ac320ca9573acce8238516d024d905c4a4aa8ee2657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7d374a8bd4a9fe7e8306ac320ca9573acce8238516d024d905c4a4aa8ee2657", kill_on_drop: false }`
[INFO] [stdout] c7d374a8bd4a9fe7e8306ac320ca9573acce8238516d024d905c4a4aa8ee2657
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b23ba266727ad37083e518d4256ba9ebe6e62cd8563a0113e7e3fa6c436cdd67
[INFO] running `Command { std: "docker" "start" "-a" "b23ba266727ad37083e518d4256ba9ebe6e62cd8563a0113e7e3fa6c436cdd67", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling zmij v1.0.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling jiff v0.2.17
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling axum v0.8.8
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[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 sqlx v0.8.6
[INFO] [stderr]    Compiling binance v0.21.2
[INFO] [stderr]    Compiling six-trading v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/market_data/downloader.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{info, error, warn};
[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: `std::time::Instant`
[INFO] [stdout]  --> src/strategy/parabolic_sar.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::market_data::downloader::MarketType`
[INFO] [stdout]   --> src/web/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::market_data::downloader::MarketType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TradingStrategy`
[INFO] [stdout]   --> src/web/mod.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::strategy::{TradingStrategy, Signal};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol_log`
[INFO] [stdout]   --> src/market_data/websocket.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let symbol_log = symbol.clone();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_log`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> src/market_data/downloader.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let results: Vec<_> = stream::iter(chunks)
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop_loss_distance`
[INFO] [stdout]    --> src/strategy/momentum_breakout.rs:166:21
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 let stop_loss_distance = self.atr * 2.0;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_loss_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategy/vwap_strategy.rs:88:68
[INFO] [stdout]    |
[INFO] [stdout] 88 |     async fn process_aggr_trade(&mut self, trade: AggrTradesEvent, state: SharedState) -> Vec<Opportunity> {
[INFO] [stdout]    |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategy/scalper_strategy.rs:96:68
[INFO] [stdout]    |
[INFO] [stdout] 96 |     async fn process_aggr_trade(&mut self, trade: AggrTradesEvent, state: SharedState) -> Vec<Opportunity> {
[INFO] [stdout]    |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategy/rsi_strategy.rs:73:58
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn process_orderbook(&mut self, ob: OrderBook, state: SharedState) -> Vec<Opportunity> {
[INFO] [stdout]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sma`
[INFO] [stdout]   --> src/strategy/bb_squeeze.rs:72:36
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if let Some((upper, lower, sma, squeeze)) = self.calculate_metrics() {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_sma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sqrt_period`
[INFO] [stdout]   --> src/strategy/hull_ma.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let sqrt_period = (self.period as f64).sqrt() as usize;
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sqrt_period`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Shutdown` is never constructed
[INFO] [stdout]   --> src/execution/binance_worker.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum BinanceCommand {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinanceCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `time` are never read
[INFO] [stdout]   --> src/execution/binance_worker.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct TradeInfo {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 54 |     pub id: u64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub time: u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradeInfo` 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: fields `symbol` and `qty` are never read
[INFO] [stdout]   --> src/execution/binance_worker.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     OrderSuccess { order_id: u64, symbol: String, qty: f64 },
[INFO] [stdout]    |     ------------                  ^^^^^^          ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinanceResponse` 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: enum `MarginType` is never used
[INFO] [stdout]   --> src/execution/futures_worker.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum MarginType {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PositionSide` is never used
[INFO] [stdout]   --> src/execution/futures_worker.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum PositionSide {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FuturesCommand` is never used
[INFO] [stdout]   --> src/execution/futures_worker.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum FuturesCommand {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuturesPosition` is never constructed
[INFO] [stdout]   --> src/execution/futures_worker.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct FuturesPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuturesBalance` is never constructed
[INFO] [stdout]   --> src/execution/futures_worker.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct FuturesBalance {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FuturesResponse` is never used
[INFO] [stdout]    --> src/execution/futures_worker.rs:102:10
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub enum FuturesResponse {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuturesWorker` is never constructed
[INFO] [stdout]    --> src/execution/futures_worker.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct FuturesWorker {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/execution/futures_worker.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | impl FuturesWorker {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 119 |     /// Creates a new Futures worker with the given API credentials
[INFO] [stdout] 120 |     pub fn new(api_key: String, secret_key: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub async fn market_buy(&self, symbol: String, quantity: f64) -> Result<u64, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub async fn market_sell(&self, symbol: String, quantity: f64) -> Result<u64, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub async fn set_leverage(&self, symbol: String, leverage: u8) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn set_margin_type(&self, symbol: String, margin_type: MarginType) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub async fn get_account(&self) -> Result<Vec<FuturesBalance>, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     pub async fn get_positions(&self) -> Result<Vec<FuturesPosition>, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `prices` is never read
[INFO] [stdout]   --> src/strategy/trix_strategy.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct TRIXStrategy {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 10 |     prices: VecDeque<f64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `all` is never used
[INFO] [stdout]   --> src/state_machine/mod.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SystemState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn all() -> Vec<SystemState> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `market_sender` is never read
[INFO] [stdout]   --> src/web/mod.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AppState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub market_sender: mpsc::Sender<crate::market_data::MarketEvent>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_historical_trades` is never used
[INFO] [stdout]    --> src/database/repository.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub async fn get_historical_trades(pool: &Pool<Postgres>, symbol: &str) -> Result<Vec<TradeEvent>, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] running `Command { std: "docker" "inspect" "b23ba266727ad37083e518d4256ba9ebe6e62cd8563a0113e7e3fa6c436cdd67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b23ba266727ad37083e518d4256ba9ebe6e62cd8563a0113e7e3fa6c436cdd67", kill_on_drop: false }`
[INFO] [stdout] b23ba266727ad37083e518d4256ba9ebe6e62cd8563a0113e7e3fa6c436cdd67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ddee0ee01354ce1323d7b9bc91c8a0e375df6add1738ac99f3195d0f007871d
[INFO] running `Command { std: "docker" "start" "-a" "1ddee0ee01354ce1323d7b9bc91c8a0e375df6add1738ac99f3195d0f007871d", kill_on_drop: false }`
[INFO] [stderr]    Compiling six-trading v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/market_data/downloader.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{info, error, warn};
[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: `std::time::Instant`
[INFO] [stdout]  --> src/strategy/parabolic_sar.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::market_data::downloader::MarketType`
[INFO] [stdout]   --> src/web/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::market_data::downloader::MarketType;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TradingStrategy`
[INFO] [stdout]   --> src/web/mod.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::strategy::{TradingStrategy, Signal};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `symbol_log`
[INFO] [stdout]   --> src/market_data/websocket.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let symbol_log = symbol.clone();
[INFO] [stdout]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_log`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> src/market_data/downloader.rs:143:13
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let results: Vec<_> = stream::iter(chunks)
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop_loss_distance`
[INFO] [stdout]    --> src/strategy/momentum_breakout.rs:166:21
[INFO] [stdout]     |
[INFO] [stdout] 166 |                 let stop_loss_distance = self.atr * 2.0;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_loss_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategy/vwap_strategy.rs:88:68
[INFO] [stdout]    |
[INFO] [stdout] 88 |     async fn process_aggr_trade(&mut self, trade: AggrTradesEvent, state: SharedState) -> Vec<Opportunity> {
[INFO] [stdout]    |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategy/scalper_strategy.rs:96:68
[INFO] [stdout]    |
[INFO] [stdout] 96 |     async fn process_aggr_trade(&mut self, trade: AggrTradesEvent, state: SharedState) -> Vec<Opportunity> {
[INFO] [stdout]    |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]   --> src/strategy/rsi_strategy.rs:73:58
[INFO] [stdout]    |
[INFO] [stdout] 73 |     async fn process_orderbook(&mut self, ob: OrderBook, state: SharedState) -> Vec<Opportunity> {
[INFO] [stdout]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sma`
[INFO] [stdout]   --> src/strategy/bb_squeeze.rs:72:36
[INFO] [stdout]    |
[INFO] [stdout] 72 |         if let Some((upper, lower, sma, squeeze)) = self.calculate_metrics() {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_sma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sqrt_period`
[INFO] [stdout]   --> src/strategy/hull_ma.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let sqrt_period = (self.period as f64).sqrt() as usize;
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sqrt_period`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Shutdown` is never constructed
[INFO] [stdout]   --> src/execution/binance_worker.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum BinanceCommand {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     Shutdown,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinanceCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `time` are never read
[INFO] [stdout]   --> src/execution/binance_worker.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct TradeInfo {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 54 |     pub id: u64,
[INFO] [stdout]    |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub time: u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradeInfo` 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: fields `symbol` and `qty` are never read
[INFO] [stdout]   --> src/execution/binance_worker.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     OrderSuccess { order_id: u64, symbol: String, qty: f64 },
[INFO] [stdout]    |     ------------                  ^^^^^^          ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BinanceResponse` 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: enum `MarginType` is never used
[INFO] [stdout]   --> src/execution/futures_worker.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum MarginType {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PositionSide` is never used
[INFO] [stdout]   --> src/execution/futures_worker.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum PositionSide {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FuturesCommand` is never used
[INFO] [stdout]   --> src/execution/futures_worker.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub enum FuturesCommand {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuturesPosition` is never constructed
[INFO] [stdout]   --> src/execution/futures_worker.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct FuturesPosition {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuturesBalance` is never constructed
[INFO] [stdout]   --> src/execution/futures_worker.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct FuturesBalance {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FuturesResponse` is never used
[INFO] [stdout]    --> src/execution/futures_worker.rs:102:10
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub enum FuturesResponse {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FuturesWorker` is never constructed
[INFO] [stdout]    --> src/execution/futures_worker.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub struct FuturesWorker {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/execution/futures_worker.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | impl FuturesWorker {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 119 |     /// Creates a new Futures worker with the given API credentials
[INFO] [stdout] 120 |     pub fn new(api_key: String, secret_key: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub async fn market_buy(&self, symbol: String, quantity: f64) -> Result<u64, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 286 |     pub async fn market_sell(&self, symbol: String, quantity: f64) -> Result<u64, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 302 |     pub async fn set_leverage(&self, symbol: String, leverage: u8) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn set_margin_type(&self, symbol: String, margin_type: MarginType) -> Result<(), String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 334 |     pub async fn get_account(&self) -> Result<Vec<FuturesBalance>, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 350 |     pub async fn get_positions(&self) -> Result<Vec<FuturesPosition>, String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `prices` is never read
[INFO] [stdout]   --> src/strategy/trix_strategy.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct TRIXStrategy {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 10 |     prices: VecDeque<f64>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `all` is never used
[INFO] [stdout]   --> src/state_machine/mod.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl SystemState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn all() -> Vec<SystemState> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `market_sender` is never read
[INFO] [stdout]   --> src/web/mod.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AppState {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 90 |     pub market_sender: mpsc::Sender<crate::market_data::MarketEvent>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_historical_trades` is never used
[INFO] [stdout]    --> src/database/repository.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub async fn get_historical_trades(pool: &Pool<Postgres>, symbol: &str) -> Result<Vec<TradeEvent>, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.28s
[INFO] running `Command { std: "docker" "inspect" "1ddee0ee01354ce1323d7b9bc91c8a0e375df6add1738ac99f3195d0f007871d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ddee0ee01354ce1323d7b9bc91c8a0e375df6add1738ac99f3195d0f007871d", kill_on_drop: false }`
[INFO] [stdout] 1ddee0ee01354ce1323d7b9bc91c8a0e375df6add1738ac99f3195d0f007871d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0ffda808debe5f9e5c735a514e5495b5470b1ddbcbd91eba568b06345387fdc5
[INFO] running `Command { std: "docker" "start" "-a" "0ffda808debe5f9e5c735a514e5495b5470b1ddbcbd91eba568b06345387fdc5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/market_data/downloader.rs:6:24
[INFO] [stderr]   |
[INFO] [stderr] 6 | use log::{info, error, warn};
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Instant`
[INFO] [stderr]  --> src/strategy/parabolic_sar.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::time::Instant;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::market_data::downloader::MarketType`
[INFO] [stderr]   --> src/web/mod.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use crate::market_data::downloader::MarketType;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `TradingStrategy`
[INFO] [stderr]   --> src/web/mod.rs:21:23
[INFO] [stderr]    |
[INFO] [stderr] 21 | use crate::strategy::{TradingStrategy, Signal};
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `symbol_log`
[INFO] [stderr]   --> src/market_data/websocket.rs:28:17
[INFO] [stderr]    |
[INFO] [stderr] 28 |             let symbol_log = symbol.clone();
[INFO] [stderr]    |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_log`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `results`
[INFO] [stderr]    --> src/market_data/downloader.rs:143:13
[INFO] [stderr]     |
[INFO] [stderr] 143 |         let results: Vec<_> = stream::iter(chunks)
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `stop_loss_distance`
[INFO] [stderr]    --> src/strategy/momentum_breakout.rs:166:21
[INFO] [stderr]     |
[INFO] [stderr] 166 |                 let stop_loss_distance = self.atr * 2.0;
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_loss_distance`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/strategy/vwap_strategy.rs:88:68
[INFO] [stderr]    |
[INFO] [stderr] 88 |     async fn process_aggr_trade(&mut self, trade: AggrTradesEvent, state: SharedState) -> Vec<Opportunity> {
[INFO] [stderr]    |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/strategy/scalper_strategy.rs:96:68
[INFO] [stderr]    |
[INFO] [stderr] 96 |     async fn process_aggr_trade(&mut self, trade: AggrTradesEvent, state: SharedState) -> Vec<Opportunity> {
[INFO] [stderr]    |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]   --> src/strategy/rsi_strategy.rs:73:58
[INFO] [stderr]    |
[INFO] [stderr] 73 |     async fn process_orderbook(&mut self, ob: OrderBook, state: SharedState) -> Vec<Opportunity> {
[INFO] [stderr]    |                                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sma`
[INFO] [stderr]   --> src/strategy/bb_squeeze.rs:72:36
[INFO] [stderr]    |
[INFO] [stderr] 72 |         if let Some((upper, lower, sma, squeeze)) = self.calculate_metrics() {
[INFO] [stderr]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_sma`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sqrt_period`
[INFO] [stderr]   --> src/strategy/hull_ma.rs:45:13
[INFO] [stderr]    |
[INFO] [stderr] 45 |         let sqrt_period = (self.period as f64).sqrt() as usize;
[INFO] [stderr]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sqrt_period`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Shutdown` is never constructed
[INFO] [stderr]   --> src/execution/binance_worker.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub enum BinanceCommand {
[INFO] [stderr]    |          -------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 48 |     Shutdown,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BinanceCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id` and `time` are never read
[INFO] [stderr]   --> src/execution/binance_worker.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub struct TradeInfo {
[INFO] [stderr]    |            --------- fields in this struct
[INFO] [stderr] 54 |     pub id: u64,
[INFO] [stderr]    |         ^^
[INFO] [stderr] ...
[INFO] [stderr] 60 |     pub time: u64,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TradeInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `symbol` and `qty` are never read
[INFO] [stderr]   --> src/execution/binance_worker.rs:66:35
[INFO] [stderr]    |
[INFO] [stderr] 66 |     OrderSuccess { order_id: u64, symbol: String, qty: f64 },
[INFO] [stderr]    |     ------------                  ^^^^^^          ^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BinanceResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: enum `MarginType` is never used
[INFO] [stderr]   --> src/execution/futures_worker.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub enum MarginType {
[INFO] [stderr]    |          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `PositionSide` is never used
[INFO] [stderr]   --> src/execution/futures_worker.rs:30:10
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub enum PositionSide {
[INFO] [stderr]    |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `FuturesCommand` is never used
[INFO] [stderr]   --> src/execution/futures_worker.rs:48:10
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub enum FuturesCommand {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FuturesPosition` is never constructed
[INFO] [stderr]   --> src/execution/futures_worker.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub struct FuturesPosition {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FuturesBalance` is never constructed
[INFO] [stderr]   --> src/execution/futures_worker.rs:92:12
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub struct FuturesBalance {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `FuturesResponse` is never used
[INFO] [stderr]    --> src/execution/futures_worker.rs:102:10
[INFO] [stderr]     |
[INFO] [stderr] 102 | pub enum FuturesResponse {
[INFO] [stderr]     |          ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `FuturesWorker` is never constructed
[INFO] [stderr]    --> src/execution/futures_worker.rs:113:12
[INFO] [stderr]     |
[INFO] [stderr] 113 | pub struct FuturesWorker {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/execution/futures_worker.rs:120:12
[INFO] [stderr]     |
[INFO] [stderr] 118 | impl FuturesWorker {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 119 |     /// Creates a new Futures worker with the given API credentials
[INFO] [stderr] 120 |     pub fn new(api_key: String, secret_key: String) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 270 |     pub async fn market_buy(&self, symbol: String, quantity: f64) -> Result<u64, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 286 |     pub async fn market_sell(&self, symbol: String, quantity: f64) -> Result<u64, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 302 |     pub async fn set_leverage(&self, symbol: String, leverage: u8) -> Result<(), String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 318 |     pub async fn set_margin_type(&self, symbol: String, margin_type: MarginType) -> Result<(), String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 334 |     pub async fn get_account(&self) -> Result<Vec<FuturesBalance>, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 350 |     pub async fn get_positions(&self) -> Result<Vec<FuturesPosition>, String> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `prices` is never read
[INFO] [stderr]   --> src/strategy/trix_strategy.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct TRIXStrategy {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 10 |     prices: VecDeque<f64>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `all` is never used
[INFO] [stderr]   --> src/state_machine/mod.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl SystemState {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn all() -> Vec<SystemState> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `market_sender` is never read
[INFO] [stderr]   --> src/web/mod.rs:90:9
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct AppState {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 90 |     pub market_sender: mpsc::Sender<crate::market_data::MarketEvent>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_historical_trades` is never used
[INFO] [stderr]    --> src/database/repository.rs:121:14
[INFO] [stderr]     |
[INFO] [stderr] 121 | pub async fn get_historical_trades(pool: &Pool<Postgres>, symbol: &str) -> Result<Vec<TradeEvent>, sqlx::Error> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `six-trading` (bin "six-trading" test) generated 27 warnings (run `cargo fix --bin "six-trading" -p six-trading --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/six_trading-95bea140aaac2682)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0ffda808debe5f9e5c735a514e5495b5470b1ddbcbd91eba568b06345387fdc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ffda808debe5f9e5c735a514e5495b5470b1ddbcbd91eba568b06345387fdc5", kill_on_drop: false }`
[INFO] [stdout] 0ffda808debe5f9e5c735a514e5495b5470b1ddbcbd91eba568b06345387fdc5
