[INFO] cloning repository https://github.com/mkrfsbri/Repoly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkrfsbri/Repoly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkrfsbri%2FRepoly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkrfsbri%2FRepoly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85b6699e1574597fd6936229c67f0074f0161fe1 [INFO] checking mkrfsbri/Repoly against master#08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkrfsbri%2FRepoly" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mkrfsbri/Repoly [INFO] finished tweaking git repo https://github.com/mkrfsbri/Repoly [INFO] tweaked toml for git repo https://github.com/mkrfsbri/Repoly written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mkrfsbri/Repoly on toolchain 08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mkrfsbri/Repoly 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" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.115 [INFO] [stderr] Downloaded wasm-bindgen v0.2.115 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.115 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.65 [INFO] [stderr] Downloaded ethers-addressbook v2.0.14 [INFO] [stderr] Downloaded ethers-contract v2.0.14 [INFO] [stderr] Downloaded ethers-contract-abigen v2.0.14 [INFO] [stderr] Downloaded ethers-contract-derive v2.0.14 [INFO] [stderr] Downloaded ethers-middleware v2.0.14 [INFO] [stderr] Downloaded ethers-signers v2.0.14 [INFO] [stderr] Downloaded ethers-providers v2.0.14 [INFO] [stderr] Downloaded js-sys v0.3.92 [INFO] [stderr] Downloaded ethers-etherscan v2.0.14 [INFO] [stderr] Downloaded enr v0.10.0 [INFO] [stderr] Downloaded ethers-solc v2.0.14 [INFO] [stderr] Downloaded simple_asn1 v0.6.4 [INFO] [stderr] Downloaded ethers v2.0.14 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.115 [INFO] [stderr] Downloaded web-sys v0.3.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 294b0c70a1801a2a1c60af96066ce901a9ed42dc085bf5dc1beb6404d630a96f [INFO] running `Command { std: "docker" "start" "-a" "294b0c70a1801a2a1c60af96066ce901a9ed42dc085bf5dc1beb6404d630a96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "294b0c70a1801a2a1c60af96066ce901a9ed42dc085bf5dc1beb6404d630a96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294b0c70a1801a2a1c60af96066ce901a9ed42dc085bf5dc1beb6404d630a96f", kill_on_drop: false }` [INFO] [stdout] 294b0c70a1801a2a1c60af96066ce901a9ed42dc085bf5dc1beb6404d630a96f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c75c67ecdeb6c054da85ec98b50b1d565a8a95e36e5185a0f8e273859ffb510 [INFO] running `Command { std: "docker" "start" "-a" "7c75c67ecdeb6c054da85ec98b50b1d565a8a95e36e5185a0f8e273859ffb510", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.115 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking const-hex v1.18.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.115 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.115 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [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 strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling num_enum_derive v0.7.6 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Compiling rust_decimal_macros v1.40.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking num_enum v0.7.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking ratatui v0.26.3 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking pin-project v1.1.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.115 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking js-sys v0.3.92 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Compiling ethers-core v2.0.14 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking polymarket-signal-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RiskConfig`, `SignalConfig`, and `VolatilityConfig` [INFO] [stdout] --> src/backtest/engine.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{RiskConfig, SignalConfig, VolatilityConfig}; [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: `DateTime` [INFO] [stdout] --> src/backtest/engine.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/backtest/engine.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BacktestConfig`, `BacktestEngine`, `BacktestResult`, and `TradeRecord` [INFO] [stdout] --> src/backtest/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub use engine::{BacktestConfig, BacktestEngine, BacktestResult, TradeRecord}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/executor/balance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/executor/clob.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balance::BalanceTracker` [INFO] [stdout] --> src/executor/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use balance::BalanceTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClaimResult`, `ClaimSide`, and `ClaimablePosition` [INFO] [stdout] --> src/executor/mod.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub use claim::{AutoClaimer, ClaimResult, ClaimSide, ClaimablePosition}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClobClient`, `OrderRequest`, `OrderSide`, and `OrderStatus` [INFO] [stdout] --> src/executor/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub use clob::{ClobClient, OrderRequest, OrderSide, OrderStatus}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signing::PolyAuth` [INFO] [stdout] --> src/executor/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use signing::PolyAuth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/feeds/gamma_api.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinanceFeed` and `KlineBuffer` [INFO] [stdout] --> src/feeds/mod.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub use binance_ws::{BinanceFeed, KlineBar, KlineBuffer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GammaClient` and `PolyMarket` [INFO] [stdout] --> src/feeds/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub use gamma_api::{GammaClient, PolyMarket}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmaState` [INFO] [stdout] --> src/indicators/mod.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ema::{EmaStack, EmaState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gauge` [INFO] [stdout] --> src/monitor/tui.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | widgets::{Block, Borders, Gauge, List, ListItem, Paragraph}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/monitor/tui.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/monitor/tui.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlertKind` and `TelegramAlert` [INFO] [stdout] --> src/monitor/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub use telegram::{AlertKind, TelegramAlert}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui::TuiApp` [INFO] [stdout] --> src/monitor/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tui::TuiApp; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circuit::CircuitBreaker` [INFO] [stdout] --> src/risk/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use circuit::CircuitBreaker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kelly::KellySizer` [INFO] [stdout] --> src/risk/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use kelly::KellySizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conflict::resolve_conflicts` [INFO] [stdout] --> src/signals/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use conflict::resolve_conflicts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfluenceScore` and `Direction` [INFO] [stdout] --> src/signals/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub use scorer::{ConfluenceScore, Direction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monitor::tui::SharedDashboard` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use monitor::tui::SharedDashboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RiskConfig`, `SignalConfig`, and `VolatilityConfig` [INFO] [stdout] --> src/backtest/engine.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{RiskConfig, SignalConfig, VolatilityConfig}; [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: `DateTime` [INFO] [stdout] --> src/backtest/engine.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/backtest/engine.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BacktestConfig`, `BacktestEngine`, `BacktestResult`, and `TradeRecord` [INFO] [stdout] --> src/backtest/mod.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub use engine::{BacktestConfig, BacktestEngine, BacktestResult, TradeRecord}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/executor/balance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/executor/clob.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `balance::BalanceTracker` [INFO] [stdout] --> src/executor/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use balance::BalanceTracker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClaimResult`, `ClaimSide`, and `ClaimablePosition` [INFO] [stdout] --> src/executor/mod.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub use claim::{AutoClaimer, ClaimResult, ClaimSide, ClaimablePosition}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClobClient`, `OrderRequest`, `OrderSide`, and `OrderStatus` [INFO] [stdout] --> src/executor/mod.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub use clob::{ClobClient, OrderRequest, OrderSide, OrderStatus}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signing::PolyAuth` [INFO] [stdout] --> src/executor/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use signing::PolyAuth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/feeds/gamma_api.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinanceFeed` and `KlineBuffer` [INFO] [stdout] --> src/feeds/mod.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | pub use binance_ws::{BinanceFeed, KlineBar, KlineBuffer}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GammaClient` and `PolyMarket` [INFO] [stdout] --> src/feeds/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub use gamma_api::{GammaClient, PolyMarket}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EmaState` [INFO] [stdout] --> src/indicators/mod.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub use ema::{EmaStack, EmaState}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gauge` [INFO] [stdout] --> src/monitor/tui.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | widgets::{Block, Borders, Gauge, List, ListItem, Paragraph}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sleep` [INFO] [stdout] --> src/monitor/tui.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::time::{sleep, Duration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/monitor/tui.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlertKind` and `TelegramAlert` [INFO] [stdout] --> src/monitor/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub use telegram::{AlertKind, TelegramAlert}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tui::TuiApp` [INFO] [stdout] --> src/monitor/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tui::TuiApp; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `circuit::CircuitBreaker` [INFO] [stdout] --> src/risk/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use circuit::CircuitBreaker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kelly::KellySizer` [INFO] [stdout] --> src/risk/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use kelly::KellySizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conflict::resolve_conflicts` [INFO] [stdout] --> src/signals/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use conflict::resolve_conflicts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfluenceScore` and `Direction` [INFO] [stdout] --> src/signals/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub use scorer::{ConfluenceScore, Direction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `monitor::tui::SharedDashboard` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use monitor::tui::SharedDashboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | use tracing_subscriber::{fmt, EnvFilter}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/feeds/binance_ws.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `won` [INFO] [stdout] --> src/backtest/engine.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 314 | let (pnl, won) = self.calculate_pnl( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_won` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_macd` is never read [INFO] [stdout] --> src/backtest/engine.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | let mut last_macd = crate::indicators::MacdSignal::Neutral; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/feeds/binance_ws.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `won` [INFO] [stdout] --> src/backtest/engine.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 314 | let (pnl, won) = self.calculate_pnl( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_won` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_macd` is never read [INFO] [stdout] --> src/backtest/engine.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | let mut last_macd = crate::indicators::MacdSignal::Neutral; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deployed_gauge_pct` [INFO] [stdout] --> src/monitor/tui.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let deployed_gauge_pct = (state.deployed_pct() as u16).min(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deployed_gauge_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `macd_sig` [INFO] [stdout] --> src/main.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | let (score, macd_sig) = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_macd_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `telegram_clone` [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let telegram_clone = telegram.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_telegram_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CsvKline` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct CsvKline { [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 `TradeRecord` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TradeRecord { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestResult` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct BacktestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combined_metric` is never used [INFO] [stdout] --> src/backtest/engine.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl BacktestResult { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 70 | pub fn combined_metric(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestParams` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct BacktestParams { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestConfig` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BacktestConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestEngine` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct BacktestEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_csv`, `run`, `calculate_pnl`, and `walk_forward` are never used [INFO] [stdout] --> src/backtest/engine.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl BacktestEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 135 | pub fn new(config: BacktestConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn load_csv(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn run(&self, bars: &[KlineBar]) -> BacktestResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn calculate_pnl( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn walk_forward( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridSearch` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct GridSearch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run_parallel` and `best_params` are never used [INFO] [stdout] --> src/backtest/engine.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl GridSearch { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 422 | pub fn run_parallel( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn best_params( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_sharpe` is never used [INFO] [stdout] --> src/backtest/engine.rs:488:4 [INFO] [stdout] | [INFO] [stdout] 488 | fn calculate_sharpe(returns: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance_cache_secs` is never read [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PolygonConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub balance_cache_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonConfig` 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 `order_timeout_secs`, `max_retries`, and `maker_rebate_bps` are never read [INFO] [stdout] --> src/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ClobConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub base_url: String, [INFO] [stdout] 61 | pub order_timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub tick_size: String, [INFO] [stdout] 64 | pub maker_rebate_bps: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClobConfig` 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 `max_position_pct`, `max_deployed_pct`, `kelly_window`, and `cold_start_pct` are never read [INFO] [stdout] --> src/config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct RiskConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 77 | pub max_position_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub max_deployed_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub kelly_window: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub cold_start_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskConfig` 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: field `cooldown_minutes` is never read [INFO] [stdout] --> src/config.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct CircuitBreakerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub cooldown_minutes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerConfig` 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: field `max_concurrent_positions` is never read [INFO] [stdout] --> src/config.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct SignalConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub max_concurrent_positions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignalConfig` 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: constant `USDC_DECIMALS` is never used [INFO] [stdout] --> src/executor/balance.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const USDC_DECIMALS: u32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalanceTracker` is never constructed [INFO] [stdout] --> src/executor/balance.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct BalanceTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `balance`, `refresh`, and `fetch_from_chain` are never used [INFO] [stdout] --> src/executor/balance.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl BalanceTracker { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn balance(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn refresh(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | async fn fetch_from_chain(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_polygon` is never used [INFO] [stdout] --> src/executor/balance.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn connect_polygon(rpc_url: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_id`, `question`, and `market_id` are never read [INFO] [stdout] --> src/executor/claim.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ClaimablePosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 48 | pub condition_id: String, // hex bytes32 (0x…) [INFO] [stdout] 49 | pub token_id: String, // ERC-1155 token ID (decimal string) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub question: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaimablePosition` 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: field `redeemed_at` is never read [INFO] [stdout] --> src/executor/claim.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ClaimResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub redeemed_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaimResult` 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: field `neg_risk_adapter` is never read [INFO] [stdout] --> src/executor/claim.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct AutoClaimer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | neg_risk_adapter: Address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `winning_index_set` are never used [INFO] [stdout] --> src/executor/claim.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 117 | impl AutoClaimer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn run(self: Arc) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub async fn winning_index_set(&self, condition_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderSide` is never used [INFO] [stdout] --> src/executor/clob.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum OrderSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderStatus` is never used [INFO] [stdout] --> src/executor/clob.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OrderStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderRequest` is never constructed [INFO] [stdout] --> src/executor/clob.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct OrderRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executor/clob.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl OrderRequest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderResponse` is never constructed [INFO] [stdout] --> src/executor/clob.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct OrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClobOrderPayload` is never constructed [INFO] [stdout] --> src/executor/clob.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct ClobOrderPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClobClient` is never constructed [INFO] [stdout] --> src/executor/clob.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ClobClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `submit_order`, `cancel_order`, `get_order`, and `submit_with_timeout` are never used [INFO] [stdout] --> src/executor/clob.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl ClobClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn submit_order(&self, req: &OrderRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub async fn cancel_order(&self, order_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn get_order(&self, order_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub async fn submit_with_timeout(&self, req: &OrderRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign_hash` is never used [INFO] [stdout] --> src/executor/signing.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl PolyAuth { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn sign_hash(&self, hash: H256) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `open` is never read [INFO] [stdout] --> src/feeds/binance_ws.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct KlineBar { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 18 | pub open: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KlineBar` 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 `is_empty`, `iter`, `closes`, `hlc`, and `close_volume` are never used [INFO] [stdout] --> src/feeds/binance_ws.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl KlineBuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn closes(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn hlc(&self) -> Vec<(f64, f64, f64)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn close_volume(&self) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `6`, `7`, `8`, `9`, `10`, and `11` are never read [INFO] [stdout] --> src/feeds/binance_ws.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct HistoricalKline( [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | i64, // close time [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | // remaining fields ignored [INFO] [stdout] 150 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `HistoricalKline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/feeds/gamma_api.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PolyMarket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub condition_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub token_yes_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub token_no_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub question: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub expiry: DateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub current_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub volume_24h: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub underlying: Underlying, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolyMarket` 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 `minutes_to_expiry` is never used [INFO] [stdout] --> src/feeds/gamma_api.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PolyMarket { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | pub fn minutes_to_expiry(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_markets` is never used [INFO] [stdout] --> src/feeds/gamma_api.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl GammaClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub async fn active_markets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tradeable` and `label` are never used [INFO] [stdout] --> src/indicators/atr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VolatilityRegime { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 12 | pub fn is_tradeable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/indicators/ema.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl EmaState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `direction` is never used [INFO] [stdout] --> src/indicators/ema.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl EmaStack { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn direction(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `macd_line` is never used [INFO] [stdout] --> src/indicators/macd.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MacdState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn macd_line(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_ready` is never used [INFO] [stdout] --> src/indicators/obv.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ObvState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_oversold` and `is_overbought` are never used [INFO] [stdout] --> src/indicators/stochastic.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl StochState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_oversold(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_overbought(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `variance`, `stddev`, `upper_band`, `lower_band`, and `deviation_pct` are never used [INFO] [stdout] --> src/indicators/vwap.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl VwapState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn variance(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn stddev(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn upper_band(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn lower_band(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn deviation_pct(&self, price: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Entry`, `Exit`, `CircuitTrip`, `DailySummary`, `Skipped`, and `Custom` are never constructed [INFO] [stdout] --> src/monitor/telegram.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AlertKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Exit { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | CircuitTrip { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | DailySummary { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Skipped { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertKind` 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: field `tx_hash` is never read [INFO] [stdout] --> src/monitor/tui.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ClaimDisplay { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub tx_hash: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaimDisplay` 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 `push_claim` is never used [INFO] [stdout] --> src/monitor/tui.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DashboardState { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn push_claim(&mut self, claim: ClaimDisplay) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_error_rate` is never read [INFO] [stdout] --> src/risk/circuit.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | max_error_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_api_call` and `error_rate` are never used [INFO] [stdout] --> src/risk/circuit.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CircuitBreaker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn record_api_call(&self, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn error_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `avg_win_loss_ratio` and `is_warm` are never used [INFO] [stdout] --> src/risk/kelly.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KellySizer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn avg_win_loss_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn is_warm(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `market_id` is never read [INFO] [stdout] --> src/signals/conflict.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Signal { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Signal` 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: variants `Entered` and `Exited` are never constructed [INFO] [stdout] --> src/signals/state_machine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SignalState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Entered, // Order submitted / filled [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Exited, // Position closed or market resolved [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignalState` 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 `label` is never used [INFO] [stdout] --> src/signals/state_machine.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SignalState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 15 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cooldown_bars` is never read [INFO] [stdout] --> src/signals/state_machine.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SignalMachine { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub cooldown_bars: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignalMachine` 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 `mark_entered`, `mark_exited`, `reset`, and `is_ready_to_enter` are never used [INFO] [stdout] --> src/signals/state_machine.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SignalMachine { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn mark_entered(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn mark_exited(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn is_ready_to_enter(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deployed_gauge_pct` [INFO] [stdout] --> src/monitor/tui.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let deployed_gauge_pct = (state.deployed_pct() as u16).min(100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deployed_gauge_pct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `macd_sig` [INFO] [stdout] --> src/main.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | let (score, macd_sig) = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_macd_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `telegram_clone` [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let telegram_clone = telegram.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_telegram_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CsvKline` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct CsvKline { [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 `TradeRecord` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TradeRecord { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestResult` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct BacktestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `combined_metric` is never used [INFO] [stdout] --> src/backtest/engine.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl BacktestResult { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 70 | pub fn combined_metric(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestParams` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct BacktestParams { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestConfig` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct BacktestConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BacktestEngine` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct BacktestEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load_csv`, `run`, `calculate_pnl`, and `walk_forward` are never used [INFO] [stdout] --> src/backtest/engine.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl BacktestEngine { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 135 | pub fn new(config: BacktestConfig) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn load_csv(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn run(&self, bars: &[KlineBar]) -> BacktestResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn calculate_pnl( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn walk_forward( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridSearch` is never constructed [INFO] [stdout] --> src/backtest/engine.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct GridSearch { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `run_parallel` and `best_params` are never used [INFO] [stdout] --> src/backtest/engine.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 421 | impl GridSearch { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 422 | pub fn run_parallel( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn best_params( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_sharpe` is never used [INFO] [stdout] --> src/backtest/engine.rs:488:4 [INFO] [stdout] | [INFO] [stdout] 488 | fn calculate_sharpe(returns: &[f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `balance_cache_secs` is never read [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PolygonConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub balance_cache_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonConfig` 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 `order_timeout_secs`, `max_retries`, and `maker_rebate_bps` are never read [INFO] [stdout] --> src/config.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ClobConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 60 | pub base_url: String, [INFO] [stdout] 61 | pub order_timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 63 | pub tick_size: String, [INFO] [stdout] 64 | pub maker_rebate_bps: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClobConfig` 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 `max_position_pct`, `max_deployed_pct`, `kelly_window`, and `cold_start_pct` are never read [INFO] [stdout] --> src/config.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct RiskConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 77 | pub max_position_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | pub max_deployed_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub kelly_window: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | pub cold_start_pct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiskConfig` 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: field `cooldown_minutes` is never read [INFO] [stdout] --> src/config.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct CircuitBreakerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | pub cooldown_minutes: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreakerConfig` 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: field `max_concurrent_positions` is never read [INFO] [stdout] --> src/config.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct SignalConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub max_concurrent_positions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignalConfig` 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: constant `USDC_DECIMALS` is never used [INFO] [stdout] --> src/executor/balance.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const USDC_DECIMALS: u32 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BalanceTracker` is never constructed [INFO] [stdout] --> src/executor/balance.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct BalanceTracker { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `balance`, `refresh`, and `fetch_from_chain` are never used [INFO] [stdout] --> src/executor/balance.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl BalanceTracker { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn balance(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub async fn refresh(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | async fn fetch_from_chain(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect_polygon` is never used [INFO] [stdout] --> src/executor/balance.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn connect_polygon(rpc_url: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_id`, `question`, and `market_id` are never read [INFO] [stdout] --> src/executor/claim.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ClaimablePosition { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 48 | pub condition_id: String, // hex bytes32 (0x…) [INFO] [stdout] 49 | pub token_id: String, // ERC-1155 token ID (decimal string) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub question: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | pub market_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaimablePosition` 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: field `redeemed_at` is never read [INFO] [stdout] --> src/executor/claim.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ClaimResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pub redeemed_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaimResult` 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: field `neg_risk_adapter` is never read [INFO] [stdout] --> src/executor/claim.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct AutoClaimer { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | neg_risk_adapter: Address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `winning_index_set` are never used [INFO] [stdout] --> src/executor/claim.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 117 | impl AutoClaimer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 157 | pub async fn run(self: Arc) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub async fn winning_index_set(&self, condition_id: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderSide` is never used [INFO] [stdout] --> src/executor/clob.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum OrderSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderStatus` is never used [INFO] [stdout] --> src/executor/clob.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OrderStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderRequest` is never constructed [INFO] [stdout] --> src/executor/clob.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct OrderRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executor/clob.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl OrderRequest { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderResponse` is never constructed [INFO] [stdout] --> src/executor/clob.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct OrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClobOrderPayload` is never constructed [INFO] [stdout] --> src/executor/clob.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct ClobOrderPayload { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClobClient` is never constructed [INFO] [stdout] --> src/executor/clob.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ClobClient { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `submit_order`, `cancel_order`, `get_order`, and `submit_with_timeout` are never used [INFO] [stdout] --> src/executor/clob.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl ClobClient { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub async fn submit_order(&self, req: &OrderRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub async fn cancel_order(&self, order_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn get_order(&self, order_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub async fn submit_with_timeout(&self, req: &OrderRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign_hash` is never used [INFO] [stdout] --> src/executor/signing.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 24 | impl PolyAuth { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub async fn sign_hash(&self, hash: H256) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `open` is never read [INFO] [stdout] --> src/feeds/binance_ws.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct KlineBar { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 18 | pub open: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KlineBar` 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 `is_empty`, `last`, `iter`, `closes`, `hlc`, and `close_volume` are never used [INFO] [stdout] --> src/feeds/binance_ws.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl KlineBuffer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn last(&self) -> Option<&KlineBar> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn closes(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn hlc(&self) -> Vec<(f64, f64, f64)> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn close_volume(&self) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `6`, `7`, `8`, `9`, `10`, and `11` are never read [INFO] [stdout] --> src/feeds/binance_ws.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct HistoricalKline( [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 148 | i64, // close time [INFO] [stdout] | ^^^ [INFO] [stdout] 149 | // remaining fields ignored [INFO] [stdout] 150 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 151 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 153 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | #[serde(default)] serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `HistoricalKline` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/feeds/gamma_api.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PolyMarket { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub condition_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub token_yes_id: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | pub token_no_id: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub question: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | pub expiry: DateTime, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub current_price: Decimal, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub volume_24h: Decimal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub underlying: Underlying, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolyMarket` 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 `minutes_to_expiry` is never used [INFO] [stdout] --> src/feeds/gamma_api.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl PolyMarket { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 33 | pub fn minutes_to_expiry(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `active_markets` is never used [INFO] [stdout] --> src/feeds/gamma_api.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl GammaClient { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub async fn active_markets(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tradeable` and `label` are never used [INFO] [stdout] --> src/indicators/atr.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl VolatilityRegime { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 12 | pub fn is_tradeable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/indicators/ema.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl EmaState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `direction` is never used [INFO] [stdout] --> src/indicators/ema.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl EmaStack { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn direction(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `macd_line` is never used [INFO] [stdout] --> src/indicators/macd.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MacdState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn macd_line(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_ready` is never used [INFO] [stdout] --> src/indicators/obv.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ObvState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_oversold` and `is_overbought` are never used [INFO] [stdout] --> src/indicators/stochastic.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl StochState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_oversold(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_overbought(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `variance`, `stddev`, `upper_band`, `lower_band`, and `deviation_pct` are never used [INFO] [stdout] --> src/indicators/vwap.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl VwapState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn variance(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn stddev(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn upper_band(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn lower_band(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn deviation_pct(&self, price: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Entry`, `Exit`, `CircuitTrip`, `DailySummary`, `Skipped`, and `Custom` are never constructed [INFO] [stdout] --> src/monitor/telegram.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AlertKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 7 | Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Exit { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | CircuitTrip { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | DailySummary { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Skipped { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertKind` 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: field `tx_hash` is never read [INFO] [stdout] --> src/monitor/tui.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct ClaimDisplay { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub tx_hash: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClaimDisplay` 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 `push_claim` is never used [INFO] [stdout] --> src/monitor/tui.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DashboardState { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn push_claim(&mut self, claim: ClaimDisplay) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/risk/circuit.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CircuitBreaker { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 14 | pub is_open: AtomicBool, [INFO] [stdout] 15 | peak_balance: parking_lot::RwLock, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | consecutive_losses: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | total_requests: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | error_requests: AtomicU32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | max_drawdown: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | max_consecutive_losses: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | max_error_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CircuitBreaker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_balance`, `record_trade`, `record_api_call`, `reset`, `trip`, and `error_rate` are never used [INFO] [stdout] --> src/risk/circuit.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl CircuitBreaker { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn check_balance(&self, current: Decimal) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn record_trade(&self, won: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn record_api_call(&self, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn trip(&self, reason: String) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn error_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KellySizer` is never constructed [INFO] [stdout] --> src/risk/kelly.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct KellySizer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/risk/kelly.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl KellySizer { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn record_trade(&mut self, won: bool, pnl: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn calculate_size(&self, balance: Decimal) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn compute_fraction(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn win_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn avg_win_loss_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn is_warm(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signal` is never constructed [INFO] [stdout] --> src/signals/conflict.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Signal { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_conflicts` is never used [INFO] [stdout] --> src/signals/conflict.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn resolve_conflicts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Entered` and `Exited` are never constructed [INFO] [stdout] --> src/signals/state_machine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SignalState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | Entered, // Order submitted / filled [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Exited, // Position closed or market resolved [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignalState` 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 `label` is never used [INFO] [stdout] --> src/signals/state_machine.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SignalState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 15 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cooldown_bars` is never read [INFO] [stdout] --> src/signals/state_machine.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SignalMachine { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub cooldown_bars: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SignalMachine` 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 `mark_entered`, `mark_exited`, `reset`, and `is_ready_to_enter` are never used [INFO] [stdout] --> src/signals/state_machine.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl SignalMachine { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn mark_entered(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn mark_exited(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn is_ready_to_enter(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "7c75c67ecdeb6c054da85ec98b50b1d565a8a95e36e5185a0f8e273859ffb510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c75c67ecdeb6c054da85ec98b50b1d565a8a95e36e5185a0f8e273859ffb510", kill_on_drop: false }` [INFO] [stdout] 7c75c67ecdeb6c054da85ec98b50b1d565a8a95e36e5185a0f8e273859ffb510