[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] b772f558b95c6a562c57336ca84fb0ca505fcd5f [INFO] checking britespeck/Britespeck-Engine against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbritespeck%2FBritespeck-Engine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/britespeck/Britespeck-Engine on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd [INFO] running `Command { std: "docker" "start" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling openssl v0.10.79 [INFO] [stderr] Compiling openssl-sys v0.9.115 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Checking tinyvec v1.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Checking compression-core v0.4.32 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking compression-codecs v0.4.38 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking data-encoding v2.11.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking async-compression v0.4.42 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [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: `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: `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> { [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> { [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> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [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> { [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> { [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> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [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 { [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 { [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> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_HOLD_SECS` is never used [INFO] [stdout] --> src/lead_lag.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | const MAX_HOLD_SECS: i64 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `check_exit` and `finalize` are never used [INFO] [stdout] --> src/lead_lag.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl LeadLagDetector { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn check_exit(signal: &LeadLagSignal, current_price: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn finalize( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_throughput` is never used [INFO] [stdout] --> src/lead_lag_detector.rs:427:14 [INFO] [stdout] | [INFO] [stdout] 427 | pub async fn log_throughput(pool: &sqlx::PgPool, stats: &ThroughputStats, scan_duration_ms: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 { [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 { [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> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONVERGENCE_TARGET` is never used [INFO] [stdout] --> src/lead_lag.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | const CONVERGENCE_TARGET: f64 = 0.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_HOLD_SECS` is never used [INFO] [stdout] --> src/lead_lag.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | const MAX_HOLD_SECS: i64 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `check_exit` and `finalize` are never used [INFO] [stdout] --> src/lead_lag.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl LeadLagDetector { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 341 | pub fn check_exit(signal: &LeadLagSignal, current_price: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn finalize( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_throughput` is never used [INFO] [stdout] --> src/lead_lag_detector.rs:427:14 [INFO] [stdout] | [INFO] [stdout] 427 | pub async fn log_throughput(pool: &sqlx::PgPool, stats: &ThroughputStats, scan_duration_ms: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [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 7` [INFO] running `Command { std: "docker" "inspect" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd", kill_on_drop: false }` [INFO] [stdout] 98dfc8824ea00ab8528d2c2b3a63f5f03d93f919e4ba1891830b613f05d6c6fd