[INFO] cloning repository https://github.com/britespeck/Britespeck-Engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/britespeck/Britespeck-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 21e760cdfa08f1ac6cbbd4077f82052bc100cbdf
[INFO] checking britespeck/Britespeck-Engine against try#5f6abd89da253a562ad85d235b9342a3ac336c28 for pr-156114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/britespeck/Britespeck-Engine
[INFO] finished tweaking git repo https://github.com/britespeck/Britespeck-Engine
[INFO] tweaked toml for git repo https://github.com/britespeck/Britespeck-Engine written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/britespeck/Britespeck-Engine on toolchain 5f6abd89da253a562ad85d235b9342a3ac336c28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/britespeck/Britespeck-Engine 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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a51854eaec5d496a9c4e359409e5f66f11f1f1a63f54dbd153f04d0405efbca
[INFO] running `Command { std: "docker" "start" "-a" "0a51854eaec5d496a9c4e359409e5f66f11f1f1a63f54dbd153f04d0405efbca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a51854eaec5d496a9c4e359409e5f66f11f1f1a63f54dbd153f04d0405efbca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a51854eaec5d496a9c4e359409e5f66f11f1f1a63f54dbd153f04d0405efbca", kill_on_drop: false }`
[INFO] [stdout] 0a51854eaec5d496a9c4e359409e5f66f11f1f1a63f54dbd153f04d0405efbca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+5f6abd89da253a562ad85d235b9342a3ac336c28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 196e5da3b27de1ed3d442515ee5dbdd6b3887c478fbc80a9fd305c2223a83f86
[INFO] running `Command { std: "docker" "start" "-a" "196e5da3b27de1ed3d442515ee5dbdd6b3887c478fbc80a9fd305c2223a83f86", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking tinyvec v1.11.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]     Checking compression-core v0.4.32
[INFO] [stderr]     Checking compression-codecs v0.4.38
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking num-bigint-dig v0.8.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking rsa v0.9.10
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking publicsuffix v2.3.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking async-compression v0.4.42
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking cookie_store v0.20.0
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking britespeck_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/fetchers/polymarket_clob.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use uuid::Uuid;
[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: `tracing::info`
[INFO] [stdout]  --> src/arb_detector.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/fetchers/polymarket_clob.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use uuid::Uuid;
[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: `tracing::info`
[INFO] [stdout]  --> src/arb_detector.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::info;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/trades.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |         for (i, t) in chunk.iter().enumerate() {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/trades.rs:235:17
[INFO] [stdout]     |
[INFO] [stdout] 235 |         for (i, t) in chunk.iter().enumerate() {
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_profit_cents`
[INFO] [stdout]   --> src/arb_detector.rs:95:42
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_profit_cents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:99:37
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn get_active_arb_signals(pool: &PgPool) -> Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/main.rs:267:21
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 let token = std::env::var("KALSHI_API_TOKEN").unwrap_or_default();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `no_price` is never read
[INFO] [stdout]   --> src/trades.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct KalshiTrade {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     no_price: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KalshiTrade` 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: function `expire_stale_signals` is never used
[INFO] [stdout]    --> src/ev_engine.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub async fn expire_stale_signals(pool: &PgPool, max_age_hours: i64) -> anyhow::Result<usize> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeframe` is never read
[INFO] [stdout]   --> src/endpoints.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct BacktestParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub timeframe: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BacktestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prune_old_snapshots` is never used
[INFO] [stdout]    --> src/market_history.rs:422:14
[INFO] [stdout]     |
[INFO] [stdout] 422 | pub async fn prune_old_snapshots(pool: &PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TTL_FED` is never used
[INFO] [stdout]   --> src/player_stats.rs:94:7
[INFO] [stdout]    |
[INFO] [stdout] 94 | const TTL_FED: u64          = 3600;        // 1 hour
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KALSHI_FEE_TABLE` is never used
[INFO] [stdout]  --> src/arb_detector.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static KALSHI_FEE_TABLE: [u16; 101] = {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kalshi_fee` is never used
[INFO] [stdout]   --> src/arb_detector.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn kalshi_fee(price_cents: u16) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArbSignal` is never constructed
[INFO] [stdout]   --> src/arb_detector.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ArbSignal {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_profitable` is never used
[INFO] [stdout]   --> src/arb_detector.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl ArbSignal {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 41 |     pub fn is_profitable(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_arb` is never used
[INFO] [stdout]   --> src/arb_detector.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn check_arb(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_arb_scan` is never used
[INFO] [stdout]   --> src/arb_detector.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min_profit_cents`
[INFO] [stdout]   --> src/arb_detector.rs:95:42
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_profit_cents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/arb_detector.rs:99:37
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub async fn get_active_arb_signals(pool: &PgPool) -> Result<Vec<serde_json::Value>> {
[INFO] [stdout]    |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/main.rs:267:21
[INFO] [stdout]     |
[INFO] [stdout] 267 |                 let token = std::env::var("KALSHI_API_TOKEN").unwrap_or_default();
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `no_price` is never read
[INFO] [stdout]   --> src/trades.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct KalshiTrade {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     no_price: f64,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KalshiTrade` 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: function `expire_stale_signals` is never used
[INFO] [stdout]    --> src/ev_engine.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub async fn expire_stale_signals(pool: &PgPool, max_age_hours: i64) -> anyhow::Result<usize> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `timeframe` is never read
[INFO] [stdout]   --> src/endpoints.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct BacktestParams {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub timeframe: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BacktestParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prune_old_snapshots` is never used
[INFO] [stdout]    --> src/market_history.rs:422:14
[INFO] [stdout]     |
[INFO] [stdout] 422 | pub async fn prune_old_snapshots(pool: &PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TTL_FED` is never used
[INFO] [stdout]   --> src/player_stats.rs:94:7
[INFO] [stdout]    |
[INFO] [stdout] 94 | const TTL_FED: u64          = 3600;        // 1 hour
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KALSHI_FEE_TABLE` is never used
[INFO] [stdout]  --> src/arb_detector.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | static KALSHI_FEE_TABLE: [u16; 101] = {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kalshi_fee` is never used
[INFO] [stdout]   --> src/arb_detector.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn kalshi_fee(price_cents: u16) -> u16 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ArbSignal` is never constructed
[INFO] [stdout]   --> src/arb_detector.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ArbSignal {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_profitable` is never used
[INFO] [stdout]   --> src/arb_detector.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl ArbSignal {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 41 |     pub fn is_profitable(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_arb` is never used
[INFO] [stdout]   --> src/arb_detector.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn check_arb(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_arb_scan` is never used
[INFO] [stdout]   --> src/arb_detector.rs:95:14
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub async fn run_arb_scan(pool: &PgPool, min_profit_cents: i16) -> Result<Vec<ArbSignal>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "196e5da3b27de1ed3d442515ee5dbdd6b3887c478fbc80a9fd305c2223a83f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "196e5da3b27de1ed3d442515ee5dbdd6b3887c478fbc80a9fd305c2223a83f86", kill_on_drop: false }`
[INFO] [stdout] 196e5da3b27de1ed3d442515ee5dbdd6b3887c478fbc80a9fd305c2223a83f86
