[INFO] cloning repository https://github.com/michaeltodmurphy-beep/guap_test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaeltodmurphy-beep/guap_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeltodmurphy-beep%2Fguap_test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeltodmurphy-beep%2Fguap_test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83c8cf5cdd2a67fa3f6c1a8b69dd13e60f7c881a
[INFO] testing michaeltodmurphy-beep/guap_test against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaeltodmurphy-beep%2Fguap_test" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/michaeltodmurphy-beep/guap_test
[INFO] finished tweaking git repo https://github.com/michaeltodmurphy-beep/guap_test
[INFO] tweaked toml for git repo https://github.com/michaeltodmurphy-beep/guap_test written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/michaeltodmurphy-beep/guap_test on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/michaeltodmurphy-beep/guap_test 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rsa v0.9.10
[INFO] [stderr]   Downloaded jiff-static v0.2.23
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.6
[INFO] [stderr]   Downloaded cc v1.2.57
[INFO] [stderr]   Downloaded env_filter v1.0.0
[INFO] [stderr]   Downloaded portable-atomic-util v0.2.6
[INFO] [stderr]   Downloaded env_logger v0.11.9
[INFO] [stderr]   Downloaded jiff v0.2.23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d356ca415189df607561cf4fece86f78388282ccfc2cf2f4fee63e7558e477ab
[INFO] running `Command { std: "docker" "start" "-a" "d356ca415189df607561cf4fece86f78388282ccfc2cf2f4fee63e7558e477ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d356ca415189df607561cf4fece86f78388282ccfc2cf2f4fee63e7558e477ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d356ca415189df607561cf4fece86f78388282ccfc2cf2f4fee63e7558e477ab", kill_on_drop: false }`
[INFO] [stdout] d356ca415189df607561cf4fece86f78388282ccfc2cf2f4fee63e7558e477ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc3066d476937766b3923842e4896c945bcc1ea87b0e22103c973237faeae17a
[INFO] running `Command { std: "docker" "start" "-a" "fc3066d476937766b3923842e4896c945bcc1ea87b0e22103c973237faeae17a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling phf_shared v0.12.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling chrono-tz v0.10.4
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling phf v0.12.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling jiff v0.2.23
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling uuid v1.22.0
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[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 futures-macro v0.3.32
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling env_filter v1.0.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling tokio v1.50.0
[INFO] [stderr]    Compiling env_logger v0.11.9
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling rsa v0.9.10
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tungstenite v0.28.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling tokio-tungstenite v0.28.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling guap-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `has_active_position` is never used
[INFO] [stdout]    --> src/detector.rs:365:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl PriceDetector {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn has_active_position(&self, ticker: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `list_events`, `list_markets`, `get_orderbook`, and `get_balance` are never used
[INFO] [stdout]    --> src/kalshi_api.rs:202:18
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl KalshiApiClient {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub async fn list_events(&self, series_ticker: Option<&str>) -> Result<Vec<KalshiEvent>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub async fn list_markets(&self, series_ticker: Option<&str>) -> Result<Vec<KalshiMarket>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub async fn get_orderbook(&self, ticker: &str) -> Result<KalshiOrderBook> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub async fn get_balance(&self) -> Result<KalshiBalance> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_dollars` is never used
[INFO] [stdout]   --> src/models.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn deserialize_dollars<'de, D>(deserializer: D) -> Result<f64, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_orderbook_side` is never used
[INFO] [stdout]    --> src/models.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn deserialize_orderbook_side<'de, D>(deserializer: D) -> Result<Vec<Vec<f64>>, D::Error>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KalshiEvent` is never constructed
[INFO] [stdout]    --> src/models.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct KalshiEvent {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KalshiOrderBook` is never constructed
[INFO] [stdout]    --> src/models.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub struct KalshiOrderBook {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_yes_ask` and `best_yes_bid` are never used
[INFO] [stdout]    --> src/models.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl KalshiOrderBook {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] 208 |     /// Best ask price for Yes contracts (lowest offer to sell Yes), in cents.
[INFO] [stdout] 209 |     pub fn best_yes_ask(&self) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn best_yes_bid(&self) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KalshiBalance` is never constructed
[INFO] [stdout]    --> src/models.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub struct KalshiBalance {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]    --> src/models.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 340 | pub struct MarketSnapshot {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 343 |     pub title: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarketSnapshot` 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 `event_ticker` is never read
[INFO] [stdout]    --> src/models.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 363 | pub struct BuyOpportunity {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 364 |     pub ticker: String,
[INFO] [stdout] 365 |     pub event_ticker: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BuyOpportunity` 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 `id`, `cmd`, and `result` are never read
[INFO] [stdout]    --> src/models.rs:400:9
[INFO] [stdout]     |
[INFO] [stdout] 398 | pub struct WsMessage {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 399 |     #[serde(default)]
[INFO] [stdout] 400 |     pub id: Option<i64>,
[INFO] [stdout]     |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     pub cmd: Option<String>,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 406 |     pub result: Option<serde_json::Value>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `volume` and `open_interest` are never read
[INFO] [stdout]    --> src/models.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 411 | pub struct WsTickerData {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 424 |     pub volume: Option<i64>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 425 |     #[serde(default, deserialize_with = "deserialize_opt_string_or_int")]
[INFO] [stdout] 426 |     pub open_interest: Option<i64>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsTickerData` 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 `ticker` and `elapsed_minutes_at_entry` are never read
[INFO] [stdout]    --> src/models.rs:454:9
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub struct PendingTrade {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 454 |     pub ticker: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 |     pub elapsed_minutes_at_entry: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PendingTrade` 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: struct `EventsResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:481:12
[INFO] [stdout]     |
[INFO] [stdout] 481 | pub struct EventsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cursor` is never read
[INFO] [stdout]    --> src/models.rs:490:9
[INFO] [stdout]     |
[INFO] [stdout] 487 | pub struct MarketsResponse {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 490 |     pub cursor: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarketsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:499:12
[INFO] [stdout]     |
[INFO] [stdout] 499 | pub struct OrderBookResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cursor` is never read
[INFO] [stdout]    --> src/models.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 510 | pub struct PositionsResponse {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 511 |     pub market_positions: Vec<KalshiPosition>,
[INFO] [stdout] 512 |     pub cursor: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PositionsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BalanceResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:516:12
[INFO] [stdout]     |
[INFO] [stdout] 516 | pub struct BalanceResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
[INFO] running `Command { std: "docker" "inspect" "fc3066d476937766b3923842e4896c945bcc1ea87b0e22103c973237faeae17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc3066d476937766b3923842e4896c945bcc1ea87b0e22103c973237faeae17a", kill_on_drop: false }`
[INFO] [stdout] fc3066d476937766b3923842e4896c945bcc1ea87b0e22103c973237faeae17a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6afee4694c60bd4d61cb4aefc7b2b10085e8957eb88977d49ed5b628cdbc1582
[INFO] running `Command { std: "docker" "start" "-a" "6afee4694c60bd4d61cb4aefc7b2b10085e8957eb88977d49ed5b628cdbc1582", kill_on_drop: false }`
[INFO] [stderr]    Compiling guap-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Datelike`, `TimeZone`, `Utc`, and `Weekday`
[INFO] [stdout]    --> src/config.rs:627:22
[INFO] [stdout]     |
[INFO] [stdout] 627 |         use chrono::{Datelike, TimeZone, Utc, Weekday};
[INFO] [stdout]     |                      ^^^^^^^^  ^^^^^^^^  ^^^  ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `list_events`, `list_markets`, `get_orderbook`, and `get_balance` are never used
[INFO] [stdout]    --> src/kalshi_api.rs:202:18
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl KalshiApiClient {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 202 |     pub async fn list_events(&self, series_ticker: Option<&str>) -> Result<Vec<KalshiEvent>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub async fn list_markets(&self, series_ticker: Option<&str>) -> Result<Vec<KalshiMarket>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub async fn get_orderbook(&self, ticker: &str) -> Result<KalshiOrderBook> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub async fn get_balance(&self) -> Result<KalshiBalance> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_dollars` is never used
[INFO] [stdout]   --> src/models.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn deserialize_dollars<'de, D>(deserializer: D) -> Result<f64, D::Error>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deserialize_orderbook_side` is never used
[INFO] [stdout]    --> src/models.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn deserialize_orderbook_side<'de, D>(deserializer: D) -> Result<Vec<Vec<f64>>, D::Error>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KalshiEvent` is never constructed
[INFO] [stdout]    --> src/models.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct KalshiEvent {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KalshiOrderBook` is never constructed
[INFO] [stdout]    --> src/models.rs:200:12
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub struct KalshiOrderBook {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `best_yes_ask` and `best_yes_bid` are never used
[INFO] [stdout]    --> src/models.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl KalshiOrderBook {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] 208 |     /// Best ask price for Yes contracts (lowest offer to sell Yes), in cents.
[INFO] [stdout] 209 |     pub fn best_yes_ask(&self) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn best_yes_bid(&self) -> Option<i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KalshiBalance` is never constructed
[INFO] [stdout]    --> src/models.rs:329:12
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub struct KalshiBalance {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]    --> src/models.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 340 | pub struct MarketSnapshot {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 343 |     pub title: String,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarketSnapshot` 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 `event_ticker` is never read
[INFO] [stdout]    --> src/models.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 363 | pub struct BuyOpportunity {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 364 |     pub ticker: String,
[INFO] [stdout] 365 |     pub event_ticker: String,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BuyOpportunity` 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 `id`, `cmd`, and `result` are never read
[INFO] [stdout]    --> src/models.rs:400:9
[INFO] [stdout]     |
[INFO] [stdout] 398 | pub struct WsMessage {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 399 |     #[serde(default)]
[INFO] [stdout] 400 |     pub id: Option<i64>,
[INFO] [stdout]     |         ^^
[INFO] [stdout] ...
[INFO] [stdout] 405 |     pub cmd: Option<String>,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 406 |     pub result: Option<serde_json::Value>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `volume` and `open_interest` are never read
[INFO] [stdout]    --> src/models.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 411 | pub struct WsTickerData {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 424 |     pub volume: Option<i64>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 425 |     #[serde(default, deserialize_with = "deserialize_opt_string_or_int")]
[INFO] [stdout] 426 |     pub open_interest: Option<i64>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `WsTickerData` 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 `ticker` and `elapsed_minutes_at_entry` are never read
[INFO] [stdout]    --> src/models.rs:454:9
[INFO] [stdout]     |
[INFO] [stdout] 453 | pub struct PendingTrade {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 454 |     pub ticker: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 |     pub elapsed_minutes_at_entry: f64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PendingTrade` 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: struct `EventsResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:481:12
[INFO] [stdout]     |
[INFO] [stdout] 481 | pub struct EventsResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cursor` is never read
[INFO] [stdout]    --> src/models.rs:490:9
[INFO] [stdout]     |
[INFO] [stdout] 487 | pub struct MarketsResponse {
[INFO] [stdout]     |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 490 |     pub cursor: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MarketsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OrderBookResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:499:12
[INFO] [stdout]     |
[INFO] [stdout] 499 | pub struct OrderBookResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cursor` is never read
[INFO] [stdout]    --> src/models.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 510 | pub struct PositionsResponse {
[INFO] [stdout]     |            ----------------- field in this struct
[INFO] [stdout] 511 |     pub market_positions: Vec<KalshiPosition>,
[INFO] [stdout] 512 |     pub cursor: Option<String>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PositionsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BalanceResponse` is never constructed
[INFO] [stdout]    --> src/models.rs:516:12
[INFO] [stdout]     |
[INFO] [stdout] 516 | pub struct BalanceResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.47s
[INFO] running `Command { std: "docker" "inspect" "6afee4694c60bd4d61cb4aefc7b2b10085e8957eb88977d49ed5b628cdbc1582", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6afee4694c60bd4d61cb4aefc7b2b10085e8957eb88977d49ed5b628cdbc1582", kill_on_drop: false }`
[INFO] [stdout] 6afee4694c60bd4d61cb4aefc7b2b10085e8957eb88977d49ed5b628cdbc1582
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a0a70dd3ada51523100f735c28d45696d7f9cad5061cb880a49da4b9a9a0be90
[INFO] running `Command { std: "docker" "start" "-a" "a0a70dd3ada51523100f735c28d45696d7f9cad5061cb880a49da4b9a9a0be90", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Datelike`, `TimeZone`, `Utc`, and `Weekday`
[INFO] [stderr]    --> src/config.rs:627:22
[INFO] [stderr]     |
[INFO] [stderr] 627 |         use chrono::{Datelike, TimeZone, Utc, Weekday};
[INFO] [stderr]     |                      ^^^^^^^^  ^^^^^^^^  ^^^  ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: methods `list_events`, `list_markets`, `get_orderbook`, and `get_balance` are never used
[INFO] [stderr]    --> src/kalshi_api.rs:202:18
[INFO] [stderr]     |
[INFO] [stderr]  37 | impl KalshiApiClient {
[INFO] [stderr]     | -------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 202 |     pub async fn list_events(&self, series_ticker: Option<&str>) -> Result<Vec<KalshiEvent>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 212 |     pub async fn list_markets(&self, series_ticker: Option<&str>) -> Result<Vec<KalshiMarket>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 240 |     pub async fn get_orderbook(&self, ticker: &str) -> Result<KalshiOrderBook> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 274 |     pub async fn get_balance(&self) -> Result<KalshiBalance> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `deserialize_dollars` is never used
[INFO] [stderr]   --> src/models.rs:41:4
[INFO] [stderr]    |
[INFO] [stderr] 41 | fn deserialize_dollars<'de, D>(deserializer: D) -> Result<f64, D::Error>
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `deserialize_orderbook_side` is never used
[INFO] [stderr]    --> src/models.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn deserialize_orderbook_side<'de, D>(deserializer: D) -> Result<Vec<Vec<f64>>, D::Error>
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `KalshiEvent` is never constructed
[INFO] [stderr]    --> src/models.rs:148:12
[INFO] [stderr]     |
[INFO] [stderr] 148 | pub struct KalshiEvent {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `KalshiOrderBook` is never constructed
[INFO] [stderr]    --> src/models.rs:200:12
[INFO] [stderr]     |
[INFO] [stderr] 200 | pub struct KalshiOrderBook {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `best_yes_ask` and `best_yes_bid` are never used
[INFO] [stderr]    --> src/models.rs:209:12
[INFO] [stderr]     |
[INFO] [stderr] 207 | impl KalshiOrderBook {
[INFO] [stderr]     | -------------------- methods in this implementation
[INFO] [stderr] 208 |     /// Best ask price for Yes contracts (lowest offer to sell Yes), in cents.
[INFO] [stderr] 209 |     pub fn best_yes_ask(&self) -> Option<i64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 221 |     pub fn best_yes_bid(&self) -> Option<i64> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `KalshiBalance` is never constructed
[INFO] [stderr]    --> src/models.rs:329:12
[INFO] [stderr]     |
[INFO] [stderr] 329 | pub struct KalshiBalance {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `title` is never read
[INFO] [stderr]    --> src/models.rs:343:9
[INFO] [stderr]     |
[INFO] [stderr] 340 | pub struct MarketSnapshot {
[INFO] [stderr]     |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 343 |     pub title: String,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `MarketSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `event_ticker` is never read
[INFO] [stderr]    --> src/models.rs:365:9
[INFO] [stderr]     |
[INFO] [stderr] 363 | pub struct BuyOpportunity {
[INFO] [stderr]     |            -------------- field in this struct
[INFO] [stderr] 364 |     pub ticker: String,
[INFO] [stderr] 365 |     pub event_ticker: String,
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `BuyOpportunity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `id`, `cmd`, and `result` are never read
[INFO] [stderr]    --> src/models.rs:400:9
[INFO] [stderr]     |
[INFO] [stderr] 398 | pub struct WsMessage {
[INFO] [stderr]     |            --------- fields in this struct
[INFO] [stderr] 399 |     #[serde(default)]
[INFO] [stderr] 400 |     pub id: Option<i64>,
[INFO] [stderr]     |         ^^
[INFO] [stderr] ...
[INFO] [stderr] 405 |     pub cmd: Option<String>,
[INFO] [stderr]     |         ^^^
[INFO] [stderr] 406 |     pub result: Option<serde_json::Value>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `WsMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `volume` and `open_interest` are never read
[INFO] [stderr]    --> src/models.rs:424:9
[INFO] [stderr]     |
[INFO] [stderr] 411 | pub struct WsTickerData {
[INFO] [stderr]     |            ------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 424 |     pub volume: Option<i64>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr] 425 |     #[serde(default, deserialize_with = "deserialize_opt_string_or_int")]
[INFO] [stderr] 426 |     pub open_interest: Option<i64>,
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `WsTickerData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ticker` and `elapsed_minutes_at_entry` are never read
[INFO] [stderr]    --> src/models.rs:454:9
[INFO] [stderr]     |
[INFO] [stderr] 453 | pub struct PendingTrade {
[INFO] [stderr]     |            ------------ fields in this struct
[INFO] [stderr] 454 |     pub ticker: String,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 468 |     pub elapsed_minutes_at_entry: f64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `PendingTrade` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventsResponse` is never constructed
[INFO] [stderr]    --> src/models.rs:481:12
[INFO] [stderr]     |
[INFO] [stderr] 481 | pub struct EventsResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `cursor` is never read
[INFO] [stderr]    --> src/models.rs:490:9
[INFO] [stderr]     |
[INFO] [stderr] 487 | pub struct MarketsResponse {
[INFO] [stderr]     |            --------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 490 |     pub cursor: Option<String>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `MarketsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OrderBookResponse` is never constructed
[INFO] [stderr]    --> src/models.rs:499:12
[INFO] [stderr]     |
[INFO] [stderr] 499 | pub struct OrderBookResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `cursor` is never read
[INFO] [stderr]    --> src/models.rs:512:9
[INFO] [stderr]     |
[INFO] [stderr] 510 | pub struct PositionsResponse {
[INFO] [stderr]     |            ----------------- field in this struct
[INFO] [stderr] 511 |     pub market_positions: Vec<KalshiPosition>,
[INFO] [stderr] 512 |     pub cursor: Option<String>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stdout] 
[INFO] [stderr]     = note: `PositionsResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] running 59 tests
[INFO] [stderr] 
[INFO] [stdout] test config::tests::empty_windows_returns_false ... ok
[INFO] [stderr] warning: struct `BalanceResponse` is never constructed
[INFO] [stdout] test config::tests::disabled_schedule_returns_false ... ok
[INFO] [stderr]    --> src/models.rs:516:12
[INFO] [stdout] test config::tests::matching_day_and_time_returns_true ... ok
[INFO] [stderr]     |
[INFO] [stdout] test config::tests::non_matching_day_returns_false ... ok
[INFO] [stderr] 516 | pub struct BalanceResponse {
[INFO] [stdout] test config::tests::non_matching_time_returns_false ... ok
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] test config::tests::stop_loss_use_market_order_default_is_true ... ok
[INFO] [stderr] 
[INFO] [stdout] test detector::tests::approves_no_side_when_yes_bid_out_of_range ... ok
[INFO] [stderr] warning: `guap-test` (bin "kalshi-bot" test) generated 18 warnings (run `cargo fix --bin "kalshi-bot" -p guap-test --tests` to apply 1 suggestion)
[INFO] [stdout] test detector::tests::allows_reentry_after_position_closed ... ok
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stdout] test detector::tests::approves_yes_side_when_last_price_none ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kalshi_bot-1f424dbfffd9907b)
[INFO] [stdout] test detector::tests::detects_no_side_when_yes_out_of_range ... ok
[INFO] [stdout] test detector::tests::detects_yes_side_directly ... ok
[INFO] [stdout] test detector::tests::detects_no_side_opportunity ... ok
[INFO] [stdout] test detector::tests::early_window_approved_within_time_range ... ok
[INFO] [stdout] test detector::tests::early_window_not_active_at_exact_end_minutes ... ok
[INFO] [stdout] test detector::tests::early_window_rejected_after_end_minutes ... ok
[INFO] [stdout] test detector::tests::early_window_rejected_before_start_minutes ... ok
[INFO] [stdout] test detector::tests::late_window_stays_blocked_after_early_buy_and_mark_closed ... ok
[INFO] [stdout] test detector::tests::momentum_allows_entry_when_bid_equals_avg ... ok
[INFO] [stdout] test detector::tests::momentum_allows_entry_when_bid_above_avg ... ok
[INFO] [stdout] test detector::tests::momentum_allows_entry_with_empty_history ... ok
[INFO] [stdout] test detector::tests::momentum_counter_incremented_once_per_market ... ok
[INFO] [stdout] test detector::tests::momentum_disabled_does_not_block_entry ... ok
[INFO] [stdout] test detector::tests::momentum_rejects_entry_when_bid_below_avg ... ok
[INFO] [stdout] test detector::tests::momentum_does_not_apply_to_early_window ... ok
[INFO] [stdout] test detector::tests::rejection_counts_are_tracked ... ok
[INFO] [stdout] test detector::tests::early_window_disabled_works_as_before ... ok
[INFO] [stdout] test detector::tests::rejects_active_position ... ok
[INFO] [stdout] test detector::tests::rejects_high_price ... ok
[INFO] [stdout] test detector::tests::rejects_low_price ... ok
[INFO] [stdout] test detector::tests::rejects_insufficient_elapsed ... ok
[INFO] [stdout] test detector::tests::rejects_ask_above_max_buy_price ... ok
[INFO] [stdout] test detector::tests::rejects_when_both_sides_out_of_range ... ok
[INFO] [stdout] test detector::tests::rejects_too_little_remaining ... ok
[INFO] [stdout] test detector::tests::late_window_blocked_after_early_buy ... ok
[INFO] [stdout] test detector::tests::momentum_with_min_trend_requires_higher_bid ... ok
[INFO] [stdout] test trader::tests::early_window_profit_sell_does_not_fire_when_disabled ... ok
[INFO] [stdout] test detector::tests::rejects_yes_ask_too_high_no_bid_out_of_range ... ok
[INFO] [stdout] test detector::tests::rejects_when_both_bids_none ... ok
[INFO] [stdout] test detector::tests::rejects_below_trigger_price ... ok
[INFO] [stdout] test trader::tests::has_active_position_false_initially ... ok
[INFO] [stdout] test detector::tests::enforces_min_time_remaining ... ok
[INFO] [stdout] test trader::tests::late_window_profit_sell_does_not_fire_when_disabled ... ok
[INFO] [stdout] test trader::tests::early_window_trade_uses_early_window_sell_price ... ok
[INFO] [stdout] test trader::tests::early_window_profit_sell_fires_when_enabled ... ok
[INFO] [stdout] test trader::tests::execute_buy_blocks_duplicate_for_same_ticker ... ok
[INFO] [stdout] test trader::tests::detector_blocks_check_after_buy ... ok
[INFO] [stdout] test trader::tests::execute_buy_allows_different_tickers ... ok
[INFO] [stdout] test trader::tests::has_active_position_true_after_buy ... ok
[INFO] [stdout] test trader::tests::sim_sell_removes_trade_and_updates_pnl ... ok
[INFO] [stdout] test trader::tests::late_window_profit_sell_fires_when_enabled ... ok
[INFO] [stdout] test trader::tests::late_window_trade_uses_sell_price ... ok
[INFO] [stdout] test trader::tests::stop_loss_does_not_fire_when_bid_above_stop_loss_price ... ok
[INFO] [stdout] test trader::tests::sync_positions_skips_pending_fill_trade_missing_from_portfolio ... ok
[INFO] [stdout] test trader::tests::sync_positions_skips_recently_entered_open_trade ... ok
[INFO] [stdout] test trader::tests::stop_loss_fires_when_bid_at_stop_loss_price ... ok
[INFO] [stdout] test trader::tests::stop_loss_updates_total_pnl ... ok
[INFO] [stdout] test trader::tests::stop_loss_fires_when_bid_below_stop_loss_price ... ok
[INFO] [stdout] test detector::tests::detects_valid_opportunity ... ok
[INFO] [stdout] test trader::tests::execute_buy_marks_detector_active ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a0a70dd3ada51523100f735c28d45696d7f9cad5061cb880a49da4b9a9a0be90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0a70dd3ada51523100f735c28d45696d7f9cad5061cb880a49da4b9a9a0be90", kill_on_drop: false }`
[INFO] [stdout] a0a70dd3ada51523100f735c28d45696d7f9cad5061cb880a49da4b9a9a0be90
